Hello,

I'm re-submitting this question, as my previous attempt had formatting issues.

I’m deploying guacamole on docker containers on Linux, and I’ve
noticed that when I leave an SSH session idle for about 10 minutes
(perhaps slightly less), any SFTP action fails.

For example, when I try to view files in a directory (say /home), I get
the error "Unable to read file /home” in the `guacd` logs, and the result is
just an empty list of files in the file browser.

After looking at the code, it seems this error occurs when the
`libssh2_sftp_open` returns NULL, and according to the docs at
https://www.libssh2.org/libssh2_sftp_open_ex.html";>https://www.libssh2.org/libssh2_sftp_open_ex.html
NULL is returned “on failure”.

Note that the SSH session is still very functional and working when
the SFTP session fails to respond. When I reconnect the session, SFTP
works fine.

I suspect this might be due to lack of SFTP keep-alives, but I could
not find any guacamole configuration to allow this. I did attempt
using the ssh-keep-alive

I’m using the dockerhub images of guacd and guacamole, tagged 1.3.0.
I would appreciate any help/guidance on this, currently I’m just
trying to figure out if this is a problem with my setup of guacamole
or just a bug
Thanks!

Reply via email to