[GH-ISSUE #468] Increased VNC connection timeout values #346

Open
opened 2026-02-27 16:38:57 +03:00 by kerem · 4 comments
Owner

Originally created by @alexgit2k on GitHub (Oct 28, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/468

Could not get VNC to work, because it always timed out. I increased them by factor 10 and now it is working fine:

sed -i 's/Websock_native ? 2 : 5/Websock_native ? 20 : 50/' webvirtmgr/webvirtmgr/static/js/novnc/rfb.js
sed -i 's/\'connectTimeout\', 2/\'connectTimeout\', 20/' webvirtmgr/webvirtmgr/static/js/novnc/ui.js

A configuration option for the timeout values would be great.

Originally created by @alexgit2k on GitHub (Oct 28, 2014). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/468 Could not get VNC to work, because it always timed out. I increased them by factor 10 and now it is working fine: ``` sed -i 's/Websock_native ? 2 : 5/Websock_native ? 20 : 50/' webvirtmgr/webvirtmgr/static/js/novnc/rfb.js sed -i 's/\'connectTimeout\', 2/\'connectTimeout\', 20/' webvirtmgr/webvirtmgr/static/js/novnc/ui.js ``` A configuration option for the timeout values would be great.
Author
Owner

@antonyjohnson-js commented on GitHub (Nov 11, 2019):

Hi @alexgit2k
I need a help from you..
Am getting (incomplete protocol version) error.. how can i fix it?

TIA!!!

<!-- gh-comment-id:552385635 --> @antonyjohnson-js commented on GitHub (Nov 11, 2019): Hi @alexgit2k I need a help from you.. Am getting (incomplete protocol version) error.. how can i fix it? TIA!!!
Author
Owner

@alexgit2k commented on GitHub (Nov 17, 2019):

My fix only increases the timeout-values. I am no longer using WebVirtMgr, the last release was 5 years ago and they haven't even integrated a configuration option for the timeout values as I suggested. So there are probably other errors too.

Take a look at Proxmox (https://www.proxmox.com/) or Cloudmin (http://www.webmin.com/cloudmin.html).

<!-- gh-comment-id:554730390 --> @alexgit2k commented on GitHub (Nov 17, 2019): My fix only increases the timeout-values. I am no longer using WebVirtMgr, the last release was 5 years ago and they haven't even integrated a configuration option for the timeout values as I suggested. So there are probably other errors too. Take a look at Proxmox (https://www.proxmox.com/) or Cloudmin (http://www.webmin.com/cloudmin.html).
Author
Owner

@antonyjohnson-js commented on GitHub (Nov 18, 2019):

@alexgit2k ,

Noted, Thanks for your responce..

<!-- gh-comment-id:554855394 --> @antonyjohnson-js commented on GitHub (Nov 18, 2019): @alexgit2k , Noted, Thanks for your responce..
Author
Owner

@catborise commented on GitHub (Nov 20, 2019):

@alexgit2k ,

Noted, Thanks for your responce..

hi, you can use webvirtcloud, same thing with webvirtmgr on steroids. and it is active. You can get feedback.

<!-- gh-comment-id:555910354 --> @catborise commented on GitHub (Nov 20, 2019): > @alexgit2k , > > Noted, Thanks for your responce.. hi, you can use webvirtcloud, same thing with webvirtmgr on steroids. and it is active. You can get feedback.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#346
No description provided.