mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 08:05:54 +03:00
[GH-ISSUE #215] VNC broken after last update #167
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 @bsavelev on GitHub (Jan 30, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/215
VNC console doesn't work after last update.
browser said:
Server disconnected (code: 1006)
and I didn't see any connection requests in webvirtmgr-novnc output
@retspen commented on GitHub (Jan 30, 2014):
restart service after update?
@bsavelev commented on GitHub (Jan 30, 2014):
yes
@retspen commented on GitHub (Jan 30, 2014):
stop service webvirtmgr-novnc and then run /var/www/webvirtmgr/webvirtmgr-novnc
$ telnet x.x.x.x 6080
what show ?
@bsavelev commented on GitHub (Jan 30, 2014):
disclaimer:
I change port to 8443 in
console/webvirtmgr-novnc
console/views.py
if it make sense
novnc output:
@bsavelev commented on GitHub (Jan 30, 2014):
from remote ip also all fine:
@retspen commented on GitHub (Jan 30, 2014):
Do you use virtualenv or install through pip global ?
@bsavelev commented on GitHub (Jan 30, 2014):
all packages installed via apt except Django -- it was install with pip global
@retspen commented on GitHub (Jan 30, 2014):
add in file webvirtmgr-novnc after line:
from vrtManager.instance import wvmInstanceinsert line
instance = Instance.objects.get(uuid=token)print instance
and run webvirtmgr-novnc show your output
@bsavelev commented on GitHub (Jan 30, 2014):
I look into console page html and see that host var is not correct. It 127.0.0.1 -- proxy address
Probably it is my configuration error...
@bsavelev commented on GitHub (Jan 30, 2014):
proxy -- means proxy for gunicorn (apache/nginx)
@retspen commented on GitHub (Jan 30, 2014):
No, need console output:
python /var/www/webvirtmgr/console/webvirtmgr-novnc
@bsavelev commented on GitHub (Jan 30, 2014):
Yes, it configuration error from me. I use apache2 with mod_proxy instead nginx.
and request.get_host() return not valid info in django
I add to VirtualHost
and all work fine. sorry...(