You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Tom Soraoka <to...@polarisalpha.com> on 2019/03/19 16:02:14 UTC
download no longer works
Anyone know how to get file downloads to work or figure out why it doesn't work? I'm using Guacamole to connect to a Windows 2012 instance from my Windows 10 box. I tried using IE, Chrome, and Firefox. I copy any file to the virtual G: drive's "Download" directory, and I see "waiting for guacamole.mydomain.com..." message popup in Chrome and nothing happens after that.
Tom
RE: download no longer works
Posted by Tom Soraoka <to...@polarisalpha.com>.
Thanks, Nick for the tips. I will investigate. And yes, this used to work. About 2 years ago, my team created a cloud infrastructure and used Guacamole to allow users to login to their VMs. My fellow teammate was managing user support for Guacamole, and somewhere along the line it was upgraded and he reported the download no longer worked. Don’t know when. He has since left the team. Now, I’m supporting it. Don’t really know the history, just told to get it fixed.
Tom
From: Nick Couchman <vn...@apache.org>
Sent: Tuesday, March 19, 2019 6:40 PM
To: user@guacamole.apache.org
Subject: Re: download no longer works
On Tue, Mar 19, 2019 at 4:24 PM Tom Soraoka <to...@polarisalpha.com>> wrote:
Thanks again, but I did a find / -name "*nginx*" and didn't find anything. I think it uses tomcat instead. There is a /usr/local/tomcat in the container, and I did find a guacamole.war file, but couldn't find anything in the war file that resembles a max body property constraint.
If you're running in Docker then there's no Nginx in the Docker image, so that's not the issue. You'd have to set up your own Nginx instance to front the guacamole-client container.
Your subject says "No longer works" - was this something that was working before - either in another version, or prior to some event?
It's possible the issue you're seeing could be related to this one:
https://issues.apache.org/jira/browse/GUACAMOLE-506
It deals with using HTTP vs. WebSockets - there seems to be an issue downloading the PDF file generated via "Printing" in Guacamole when using HTTP-only, but works fine with WebSockets enabled and functional. I think the Docker image should use WebSockets, so this shouldn't be an issue, but might be worth investigating.
Any messages in the container logs (both guacamole-server and guacamole-client) around this time that might indicate the nature of the problem?
-Nick
Re: download no longer works
Posted by Nick Couchman <vn...@apache.org>.
On Tue, Mar 19, 2019 at 4:24 PM Tom Soraoka <to...@polarisalpha.com>
wrote:
> Thanks again, but I did a find / -name "*nginx*" and didn't find
> anything. I think it uses tomcat instead. There is a /usr/local/tomcat in
> the container, and I did find a guacamole.war file, but couldn't find
> anything in the war file that resembles a max body property constraint.
>
>
If you're running in Docker then there's no Nginx in the Docker image, so
that's not the issue. You'd have to set up your own Nginx instance to
front the guacamole-client container.
Your subject says "No longer works" - was this something that was working
before - either in another version, or prior to some event?
It's possible the issue you're seeing could be related to this one:
https://issues.apache.org/jira/browse/GUACAMOLE-506
It deals with using HTTP vs. WebSockets - there seems to be an issue
downloading the PDF file generated via "Printing" in Guacamole when using
HTTP-only, but works fine with WebSockets enabled and functional. I think
the Docker image should use WebSockets, so this shouldn't be an issue, but
might be worth investigating.
Any messages in the container logs (both guacamole-server and
guacamole-client) around this time that might indicate the nature of the
problem?
-Nick
RE: download no longer works
Posted by Tom Soraoka <to...@polarisalpha.com>.
Thanks again, but I did a find / -name "*nginx*" and didn't find anything. I think it uses tomcat instead. There is a /usr/local/tomcat in the container, and I did find a guacamole.war file, but couldn't find anything in the war file that resembles a max body property constraint.
-----Original Message-----
From: sciUser <sh...@securitycentric.net>
Sent: Tuesday, March 19, 2019 1:25 PM
To: user@guacamole.apache.org
Subject: RE: download no longer works
open a terminal on your Guacamole server and navigate to /etc/nginx vi in to nginx.conf and you will see fields Example from our nginx.conf file:
sendfile on;
client_max_body_size 92160m;
If the fields aren't there, you can add them in as seen in the code below.
--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
RE: download no longer works
Posted by sciUser <sh...@securitycentric.net>.
open a terminal on your Guacamole server and navigate to /etc/nginx vi in to
nginx.conf and you will see fields
Example from our nginx.conf file:
sendfile on;
client_max_body_size 92160m;
If the fields aren't there, you can add them in as seen in the code below.
--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
RE: download no longer works
Posted by Tom Soraoka <to...@polarisalpha.com>.
Thanks for the tip, but I don't see a reference to nginx anywhere. And I have no idea how to determine what version of guacamole I'm running. I see a guacamole server and client docker containers running on our network.
-----Original Message-----
From: sciUser <sh...@securitycentric.net>
Sent: Tuesday, March 19, 2019 11:45 AM
To: user@guacamole.apache.org
Subject: Re: download no longer works
I had this happen to me; but it ended up being a setting on NGINX increasing the file limits.
I would check there first. It will look something like this client_max_body_size 100M;
Hope this helps
Thank You
--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
Re: download no longer works
Posted by sciUser <sh...@securitycentric.net>.
I had this happen to me; but it ended up being a setting on NGINX increasing
the file limits.
I would check there first. It will look something like this
client_max_body_size 100M;
Hope this helps
Thank You
--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/