Hi,

Assuming you're behind nginx with the default settings, it'll be nginx.
Check the nginx setting client_max_body_size and increase as necessary (I
use 100m), I used to have this exact problem until I increased that setting.

Adam

On Fri, Oct 18, 2019 at 5:48 AM Lev Dubinets <[email protected]> wrote:

> I tested RDP drive redirection with the RDP native client and it works
> file for files of all sizes. I also checked guacamole and tomcat logs and
> didn't find anything interesting, so I think this is a limitation or bug
> somewhere in guacd. I'd really appreciate some helper or pointers as I'm
> stuck here now.
>
>
> ------------------------------
> *From:* Lev Dubinets <[email protected]>
> *Sent:* Thursday, October 17, 2019 11:58 AM
> *To:* [email protected] <[email protected]>
> *Subject:* File transfers seem to fail for files larger than 1mb
>
> A file generated from `yes "Some text" | head -n 100000 > large-file-1mb`
> will upload succesfully, but a file like `yes "Some text" | head -n 200000
> > large-file-2mb` fails.
>
> Heres what I see in the guacd logs:
>
> Oct 17 11:52:13 ip-172-31-16-4 guacd[15595]: guac_rdp_fs_open:
> path="\large-file-2mb", access=0x40000000, file_attributes=0x0,
> create_disposition=0x5, create_options=0x0
> Oct 17 11:52:13 ip-172-31-16-4 guacd[15553]: guacd[15595]: DEBUG:
>  guac_rdp_fs_open: path="\large-file-2mb", access=0x40000000,
> file_attributes=0x0, create_disposition=0x5, create_options=0x0
> Oct 17 11:52:13 ip-172-31-16-4 guacd[15553]: guacd[15595]: DEBUG:
>  guac_rdp_fs_open: Normalized path "\large-file-2mb" to "\large-file-2mb".
> Oct 17 11:52:13 ip-172-31-16-4 guacd[15553]: guacd[15595]: DEBUG:
>  guac_rdp_fs_open: Translated path "\large-file-2mb" to
> "/home/ubuntu/mapped-drive/large-file-2mb".
> Oct 17 11:52:13 ip-172-31-16-4 guacd[15553]: guacd[15595]: DEBUG:
>  guac_rdp_fs_open: native open:
> real_path="/home/ubuntu/mapped-drive/large-file-2mb", flags=0x241
> Oct 17 11:52:13 ip-172-31-16-4 guacd[15553]: guacd[15595]: DEBUG:
>  guac_rdp_fs_open: Opened "\large-file-2mb" as file_id=8
> Oct 17 11:52:13 ip-172-31-16-4 guacd[15595]: guac_rdp_fs_open: Normalized
> path "\large-file-2mb" to "\large-file-2mb".
> Oct 17 11:52:13 ip-172-31-16-4 guacd[15595]: guac_rdp_fs_open: Translated
> path "\large-file-2mb" to "/home/ubuntu/mapped-drive/large-file-2mb".
> Oct 17 11:52:13 ip-172-31-16-4 guacd[15595]: guac_rdp_fs_open: native
> open: real_path="/home/ubuntu/mapped-drive/large-file-2mb", flags=0x241
> Oct 17 11:52:13 ip-172-31-16-4 guacd[15595]: guac_rdp_fs_open: Opened
> "\large-file-2mb" as file_id=8
>
>
> It doesn't print anything else. On the server, the file exists but it is 0
> bytes. The guac web ui says: "You do not have permission to upload this
> file. If you require access, please check your system settings, or check
> with your system administrator.", but its clearly not a permissions things.
> A succesful file transfer (large-file-1mb) would also print this upon
> succeeding, but the large-file-2mb file descriptor handle is never closed:
>
> Oct 17 11:43:02 ip-172-31-16-4 guacd[15595]: guac_rdp_fs_close: Closed
> "\large-file-1mb" (file_id=4)
> Oct 17 11:43:02 ip-172-31-16-4 guacd[15553]: guacd[15595]: DEBUG:
>  guac_rdp_fs_close: Closed "\large-file-1mb" (file_id=4)
>
>
> What can I do to fix this? Is there a guacamole/tomcat/guacd/xrdp setting
> somewhere for maximum transfer size?
>
> Thanks,
> Lev
>

Reply via email to