mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 15:45:51 +03:00
[GH-ISSUE #440] noVNC - handler exception: Connect mode requires a port #329
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 @webhtb on GitHub (Sep 28, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/440
Hi, one machne not working, all the rest do.
I have started manualy the service and i got this error:
1: connecting to: None:None
1: handler exception: Connect mode requires a port
The link from the browser contain correct uuid, i have checked that in xml file, also i have checked if the vnc is started, yes, it is, now when the machine is onlyne the xml look like:
And yes, i have checked with netstat and socklist, the vnc is running on that port.
Now, i have downloaded the noVNC from http://kanaka.github.io/noVNC/ and i configured and all is working, with this is working, but with noVNC from webvirtmgr not, i got this error on browser: Failed to connect to server (code: 1006)
The question is why console from webvirtmgr cann`t detect the uuid to get the port from xml?
I must to say, this machine was renamed, the xml was renamed but i have checked, all is ok in xml, the uuid and vnc port are ok and the vnc server is started.
Thank you in advance!
Daniel
@chamambom commented on GitHub (Sep 28, 2014):
I should say i am experiencing the same as what daniel is saying.All the machines that i have renamed are giving me issues when i try to login using noVNC. tried the following
and its not working...
i have also noticed that when you try to access it via the virt-manager desktop GUI ....its prompting me for a password to add to its keyring ....still trying to figure it out though
@webhtb commented on GitHub (Sep 28, 2014):
I don
t have the problem with password, the other noVNC works, the desktop GUI works, only this noVNC from webvirtmgr dont.@retspen commented on GitHub (Oct 15, 2014):
Can you check webvirtmgr.sqlite3 in table instance_instance your VM?
@webhtb commented on GitHub (Oct 16, 2014):
Hi, i find duplicate entry by uuid, the old name and the new name, i have deleted the old name to avoid duplicates but same problem, problem not solved.
@retspen commented on GitHub (Oct 16, 2014):
You need delete both, after that WebVirtMgr create new one.
@webhtb commented on GitHub (Oct 16, 2014):
done, but WebVirtMgr not create new one yet, i have reloaded the apache, refreshed the WebVirtMgr interface, in table instance_instance no new one entry, also the noVNC not working.
@webhtb commented on GitHub (Oct 16, 2014):
I have reopened the database, now the new entry is there, also noVNC WORKING!
Thanx
By the way, when we can have support for XEN ?
@retspen commented on GitHub (Oct 16, 2014):
No only KVM.
@webhtb commented on GitHub (Oct 16, 2014):
I use an entire HDD with KVM and one time per week i get FS corruption.
Also same problem when i use qcow2 images.
I think is an qemu problem in block.c, thats why i asked about XEN.
I try all settings possible, now i use:
Nevermind, thank you again for your help!!
@webhtb commented on GitHub (Oct 16, 2014):
driver name='qemu' type='raw' cache='none' io='native'
source dev='/dev/sdc'
target dev='vdb' bus='virtio'