mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 08:05:54 +03:00
[GH-ISSUE #620] Connect to console fails #470
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 @snoopyf on GitHub (Aug 7, 2016).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/620
Hi everyone,
I freshly installed WebVirtMgr which is running fine. Now I try to connect to an instaces console, which fails no matter how the guest is configured (VNC or spice) and no matter how WS_* variables are set.
Backgrounds:
Scenario 1:
WS_* are set like this (the defaults):
SECRET_KEY = None
LOCAL_PATH = None
TIME_JS_REFRESH = 2000
WS_PORT = 6080
WS_HOST = '0.0.0.0'
WS_PUBLIC_HOST = None
WS_CERT = None
WS_KEY = None
Try to open an instances console on the client opens a new browser window. After 1-2 seconds an error appears: "Server disconnected (code: 1006)" followed by the error "Connect timeout". In Firebug one can see:
In /var/log/supervisor/webvirtmgr-console.log are no entrys.
Scenario 2:
Changed WS_PUBLIC_HOST:
WS_PUBLIC_HOST = '192.168.42.158'
Behaviour is slightly different:
In the new browser window the error "Server disconnected (code: 1006)" remains. This is in firebug:
In /var/log/supervisor/webvirtmgr-console.log these entrys can be found:
In both scenarios webvirtmgr-console is running fine:
Telnet from client also works:
Any idea what could be wrong here?
BTW: These entrys in /var/log/supervisor/webvirtmgr-console.log:
WARNING:root:No local_settings file found.during a supervisor (re-)start are normal?
Thx in advance!
Snoopy
@c411n commented on GitHub (Jan 11, 2018):
Same issue here
UPDATE:
Open firewall port 6080/tcp under webvirtmgr server solved to me