-
Notifications
You must be signed in to change notification settings - Fork 779
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
noVNC client logged out after 3 mins #245
Comments
you need to check your websockify log to find out why it is being terminated. there are several reasons why this could happen due to the nature of the connection. there are client side, server side and actual websockify platform issues that each could be the cause of a connection issue. ssl can cause issues depending on how it is implemented as well. when you run websockify on centos add a --log-file=/tmp/websockify.log to the command then hit your service and see what happens in there during the disconnect. if there is nothing, fall back to your httpd_error log and also use your access log to confirm that the request even made it to the proxy. (use the command usage if you need help configuring the log file) Hope this helps. |
Thank you for your help. We tested with CentOS 7 as many of the software packages for CentOS 6 are rather old, and the problem is not there.
you need to check your websockify log to find out why it is being terminated. there are several reasons why this could happen due to the nature of the connection. there are client side, server side and actual websockify platform issues that each could be the cause of a problem.ssl can cause issues depending on how it is implemented as well.when you run websockify on centos add a --log-file=/tmp/websockify.log to the command then hit your service and see what happens in there during the disconnect. if there is nothing, fall back to your httpd_error log and also use your access log to confirm that the request even made it to the proxy. Hope this helps.— |
cc @samhed -- you're familiar with with TigerVNC, right? |
Yes, I'll take a look at this next week! |
Thanks! |
I'm investigating more urgent errors with noVNC at the moment, will take a look at this once I have time. |
We use noVNC/Websockify to login to and use a CentOS 6 Linux machine (running TigerVNC server). When the CentOS TigerVNC package was updated around May this year, the noVNC lwindow seem to get killed 3 mins after logging in (the user is sent back to the login page). We rolled back to the older TigerVNC, and the problem did not occur.
We assumed this was an issue with TigerVNC, However, looking at the code changes, it was difficult to see how. However, I just found a bug report that stated:
and the -18 version with the -nolisten option is what is giving us the problem.
I understand that Websockify does listen to TCP ports, so can this be the cause of the problem we see? The 3 mins it takes for the noVNC session to be killed seems quite precise, and I suspect it is caused by some timer.
Thanks in advance for any information!
The text was updated successfully, but these errors were encountered: