Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert VNC disconnection workaround when Guacamole Docker image is updated #2

Open
dav3r opened this issue Aug 20, 2019 · 4 comments
Open

Comments

@dav3r
Copy link
Member

dav3r commented Aug 20, 2019

In #1, we added a workaround to avoid frequent VNC disconnections by disabling 'TLSVnc' authentication.

We believe that Guacamole fixed the underlying issue in PR #217. Although that fix was merged into the master branch on April 24, 2019, the latest Guacamole Docker image (which we are using) was built from the Guacamole 1.0 release from Jan. 8, 2019, which predates PR #217.

The purpose of this issue is to ensure that at some point in the future, we should obtain a Guacamole Docker image (or build our own) that includes PR #217. Once that happens, we should roll back the changes that were made in #1, since they should no longer be necessary.

@CloudSurgeon
Copy link

Thanks, ladies and gents. I am leveraging your workaround. I was also facing GUAC-414, so I built and compiled everything from source to see if the PR suggested for the issue actually resolved the problem. Unfortunately, the problem seems to persist (Ubuntu Bionic). I would be curious to see if you have attempted and experienced the same?

@dav3r
Copy link
Member Author

dav3r commented Sep 3, 2019

@CloudSurgeon That is disappointing to hear that you are still seeing the same issue after building from source. We have not yet built an up-to-date Docker image from source, but when we do, I will be sure to post an update here about our results.

@CloudSurgeon
Copy link

CloudSurgeon commented Sep 3, 2019 via email

@dav3r
Copy link
Member Author

dav3r commented Mar 12, 2020

FYI, we are currently testing the latest 1.1.0 Guacamole images (guacamole and guacd)
and we are still seeing sporadic VNC disconnections by Guacamole (as described in #1) when we do not start the VNC server with -SecurityType VncAuth (to disable the TLSVnc authentication).

In the Guacamole PR with the potential fix for this issue, they state:

Note that support for these callbacks was released in LibVNCServer/Client 0.9.11, so it will only work against 0.9.11 or later- the bug documented in GUACAMOLE-414 will still be present when using libvncserver/client prior to 0.9.11.

We should be fine on that front- our VNC server host is running with libvncserver version 0.9.12:

# dpkg -l | grep libvncserver
ii  libvncserver1:amd64                  0.9.12+dfsg-8                        amd64        API to write one's own VNC server

Note that the error message in the VNC server is slightly different now:

VNCSConnST:  closing 10.224.1.13::60288: readTLS: Decryption has failed. (-24)
...
TLS:         TLS session wasn't terminated gracefully

Here is what it looks like in the guacd Docker container log:

guacd | guacd[567]: ERROR:	Error handling message from VNC server.
guacd | guacd[567]: INFO:	Internal VNC client disconnected

I see two possibilities:

For now, we will continue to run without using TLSVnc authentication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants