[GH-ISSUE #208] Can't connect to host via VNC #162

Closed
opened 2026-02-27 16:38:12 +03:00 by kerem · 8 comments
Owner

Originally created by @bsavelev on GitHub (Jan 28, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/208

I have 4 VM and can coonect with VNC only to one -- with port 5901
Connection to other was failed with message:
in browser:

Failed to connect to server (code: 1006)

in webvirtmgr-novnc:

  1: IP: SSL/TLS (wss://) WebSocket connection
  1: IP: Version hybi-13, base64: 'True'
  1: connecting to: None:None
  1: handler exception: Connect mode requires a port

Success connection in webvirtmgr-novnc look like:

  3: IP: SSL/TLS (wss://) WebSocket connection
  3: IP: Version hybi-13, base64: 'True'
  3: connecting to: 172.16.190.12:5901
Originally created by @bsavelev on GitHub (Jan 28, 2014). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/208 I have 4 VM and can coonect with VNC only to one -- with port 5901 Connection to other was failed with message: in browser: ``` Failed to connect to server (code: 1006) ``` in webvirtmgr-novnc: ``` 1: IP: SSL/TLS (wss://) WebSocket connection 1: IP: Version hybi-13, base64: 'True' 1: connecting to: None:None 1: handler exception: Connect mode requires a port ``` Success connection in webvirtmgr-novnc look like: ``` 3: IP: SSL/TLS (wss://) WebSocket connection 3: IP: Version hybi-13, base64: 'True' 3: connecting to: 172.16.190.12:5901 ```
kerem closed this issue 2026-02-27 16:38:13 +03:00
Author
Owner

@retspen commented on GitHub (Jan 28, 2014):

show your db record:

$ sqlite3 webvirtmgr.sqlite3
sqlite> select * from instance_instance;

<!-- gh-comment-id:33502244 --> @retspen commented on GitHub (Jan 28, 2014): show your db record: $ sqlite3 webvirtmgr.sqlite3 sqlite> select \* from instance_instance;
Author
Owner

@bsavelev commented on GitHub (Jan 28, 2014):

1|1|linux|122d6469-0e6b-4236-1c25-6e5e9b0e72d8
2|2|windows|52852f13-b4f2-2b2e-97f1-f44608b96059

<!-- gh-comment-id:33502929 --> @bsavelev commented on GitHub (Jan 28, 2014): ```sqlite> select \* from instance_instance; 1|1|linux|122d6469-0e6b-4236-1c25-6e5e9b0e72d8 2|2|windows|52852f13-b4f2-2b2e-97f1-f44608b96059 ``` ```
Author
Owner

@retspen commented on GitHub (Jan 28, 2014):

Open Instance page and then open Console and check DB record

<!-- gh-comment-id:33509292 --> @retspen commented on GitHub (Jan 28, 2014): Open Instance page and then open Console and check DB record
Author
Owner

@bsavelev commented on GitHub (Jan 28, 2014):

yes! it works. but is this only a workaround?

<!-- gh-comment-id:33511188 --> @bsavelev commented on GitHub (Jan 28, 2014): yes! it works. but is this only a workaround?
Author
Owner

@retspen commented on GitHub (Jan 28, 2014):

Only if Instance created not in WebVirtMgr, need open Instance page.

<!-- gh-comment-id:33514392 --> @retspen commented on GitHub (Jan 28, 2014): Only if Instance created not in WebVirtMgr, need open Instance page.
Author
Owner

@bsavelev commented on GitHub (Jan 28, 2014):

ok. maybe initialize all host instances in db while host added?

<!-- gh-comment-id:33514547 --> @bsavelev commented on GitHub (Jan 28, 2014): ok. maybe initialize all host instances in db while host added?
Author
Owner

@retspen commented on GitHub (Jan 28, 2014):

this need check on instances page. will be fixed....

<!-- gh-comment-id:33514902 --> @retspen commented on GitHub (Jan 28, 2014): this need check on instances page. will be fixed....
Author
Owner

@retspen commented on GitHub (Jan 29, 2014):

fixed

<!-- gh-comment-id:33607713 --> @retspen commented on GitHub (Jan 29, 2014): fixed
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#162
No description provided.