[GH-ISSUE #540] NoVnc problems #404

Closed
opened 2026-02-27 16:39:10 +03:00 by kerem · 2 comments
Owner

Originally created by @ITFactoryAUT on GitHub (Apr 16, 2015).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/540

Hello guys,
I have a big problem regarding novnc (I´m using ubuntu server 14.04):
When I try to connect to a VNC the Chrome developer console tells me "ERROR: CONNECTION REFUSED".

So I checked "netstat -lnp" and registered that the novnc service is not running.

I tried to start it with "sudo service novnc start" but it my system tells me "novnc: unrecognized service
" (novnc is installed!).

After that I tried to run the webvirtmgr-console manually ("sudo /var/www/webvirtmgr/console/webvirtmgr-console") with the following result:

WARNING:root:No local_settings file found. Traceback (most recent call last): File "/var/www/webvirtmgr/console/webvirtmgr-console", line 33, in <module> from websockify import WebSocketProxy File "/usr/lib/python2.7/dist-packages/websockify/__init__.py", line 2, in <module> from websocketproxy import * File "/usr/lib/python2.7/dist-packages/websockify/websocketproxy.py", line 257 if excepts: raise Exception("Socket exception") ^ IndentationError: unindent does not match any outer indentation level

Can someone tell me what is wrong here?
greetings
Nico

Originally created by @ITFactoryAUT on GitHub (Apr 16, 2015). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/540 Hello guys, I have a big problem regarding novnc (I´m using ubuntu server 14.04): When I try to connect to a VNC the Chrome developer console tells me "ERROR: CONNECTION REFUSED". So I checked "netstat -lnp" and registered that the novnc service is not running. I tried to start it with "sudo service novnc start" but it my system tells me "novnc: unrecognized service " (novnc is installed!). After that I tried to run the webvirtmgr-console manually ("sudo /var/www/webvirtmgr/console/webvirtmgr-console") with the following result: `WARNING:root:No local_settings file found. Traceback (most recent call last): File "/var/www/webvirtmgr/console/webvirtmgr-console", line 33, in <module> from websockify import WebSocketProxy File "/usr/lib/python2.7/dist-packages/websockify/__init__.py", line 2, in <module> from websocketproxy import * File "/usr/lib/python2.7/dist-packages/websockify/websocketproxy.py", line 257 if excepts: raise Exception("Socket exception") ^ IndentationError: unindent does not match any outer indentation level` Can someone tell me what is wrong here? greetings Nico
kerem closed this issue 2026-02-27 16:39:10 +03:00
Author
Owner

@brenard commented on GitHub (Apr 16, 2015):

Hello,

Your file /usr/lib/python2.7/dist-packages/websockify/websocketproxy.py seam to be modified and an indentation error block it's usage. I mean you have to reinstall websockify package :

apt-get install --reinstall websockify

<!-- gh-comment-id:93719240 --> @brenard commented on GitHub (Apr 16, 2015): Hello, Your file /usr/lib/python2.7/dist-packages/websockify/websocketproxy.py seam to be modified and an indentation error block it's usage. I mean you have to reinstall websockify package : <code>apt-get install --reinstall websockify</code>
Author
Owner

@ITFactoryAUT commented on GitHub (Apr 16, 2015):

Thank you, now im able to connect over vnc and spice! 😄

<!-- gh-comment-id:93725115 --> @ITFactoryAUT commented on GitHub (Apr 16, 2015): Thank you, now im able to connect over vnc and spice! :smile:
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#404
No description provided.