mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 08:05:54 +03:00
[GH-ISSUE #558] VNC fails after a few seconds of working #420
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lahdekorpi on GitHub (May 21, 2015).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/558
VNC works at first perfectly but after a few seconds of being connected, the log outputs this:
And I get a disconnect in the browser: "Server disconnected (code: 1006)".
After refreshing the browser window, everything works again for a few seconds.
Any ideas?
I'm behind a NAT and doing this:
Is this something that might affect it?
@Hyllegaard commented on GitHub (Jun 9, 2015):
Hi.
I am seeing the same thing. I am not behind NAT so that should be ruled out :)
However it appear only to happen if there is no input for a few seconds.
Regards
Jens
@kaystrobach commented on GitHub (Jun 15, 2015):
maybe related #561 ?
@lahdekorpi commented on GitHub (Jun 15, 2015):
Automatic reconnect would be a nice feature, but that doesn't really fix the root cause.
It is disconnecting even if the machine isn't rebooting, etc.
And in my case it disconnects randomly even when typing input.
@kaystrobach commented on GitHub (Jun 15, 2015):
mhmm also had this :(
@howels commented on GitHub (Aug 14, 2015):
Same here also, any ideas for a fix?
Edit: seems to be fixed in websockify 0.7.0. Will try to upgrade via pip.
Yup, fixed with websockify upgrade (sudo pip install --upgrade websockify) but seems to break direct TCP connections, it's only working for SSH. Not really a problem.
@it-community commented on GitHub (Nov 9, 2015):
Hello
I had the same problem, my connection name was server-kvm, and i ve the problem with the console (vnc or spice). I delete my server "server-kvm", and i recreate it with the name "server" and now the problem is solve
@sf32738 commented on GitHub (Jun 10, 2016):
I was having the same issue. Further research and I ran across this noVNC issue.
https://github.com/kanaka/noVNC/issues/238#issuecomment-24316499
Updated the rfb.js configuration file to the following:
Once updates, I restarted the supervisor service and refreshed my browser. Issue appears to have gone away. --- still watching / testing.
update: 30min on an idle noVNC console session has not disconnected after changing the timeout value.