noVNC is not working for VMs with password enabled
See original GitHub issueDescription After upgrade to 5.8.4 I faced with the issue when most of VMs have no working VNC. Usually it is stacks on this screen without any errors:
But after few minutes, it shows:
and error in browser’s console:
Failed when connecting: Connection closed (code: 1006) rfb.js:677
_fail rfb.js:677
RFB rfb.js:277
onclose websock.js:227
To Reproduce
- Create VM with
GRAPHICS = [ LISTEN = "0.0.0.0", RANDOM_PASSWD = "YES", TYPE = "VNC" ]
- Try to connect via VNC
Expected behavior Connected VNC
Details
- Affected Component: Sunstone
- Hypervisor: KVM
- Version: 5.8.4
Additional context
After rollback to 5.8.1 vnc is working again
Progress Status
- Branch created
- Code committed to development branch
- Testing - QA
- Documentation
- Release notes - resolved issues, compatibility, known issues
- Code committed to upstream release/hotfix branches
- Documentation committed to upstream release/hotfix branches
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Promox 6: problem with noVNC - failed to connect to server
After some time I cannot connect noVNC console to VM with error "failed to connect to server". After shutdown and start of VM...
Read more >secure connection with novnc for VM's | TrueNAS Community
I am trying to make a secure connection to my ubuntuVM which i have made in the Freenas (11.3-U3.2) Webgui. ... apparently novnc...
Read more >1595536 – [RFE] Support VMs with VNC console on a FIPS ...
Description of problem: A VM with a VNC console will fail to start on ... "-enable-fips" which will disable the VNC password authentication....
Read more >"Password required" prompt is shown when SolusVM VPS is ...
Open SolusVM > Virtual Servers > VPS > VNC Pass and save password form step 3 - VPS reboot is not required. How...
Read more >What username and password do I enter when I'm trying to ...
This authenticates you to VNC Server, the program running on the remote computer. Note: You can choose to remember the password so you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello. I have been testing opennebula 5.8.5 and noticed that apparently this issue was not completely resolved with the fix.
The VNC windows is now available when using a password, but is still not displayed when the option “Open in a new Windows” is then used.
I also tried inserting the fix manually and rebuilding the 5.8.4 packages, with the same result. Hope that this issue was the right place in which to pass this information (reopening the issue?).
Hello. I was seeing only: “&encrypt=yes&title=TITLEVM”. Now tried adding the &password=… and it worked. I noticed that my “vnc_request_password” option was set to true. Changed it back to false and it now opens the new window. I had misunderstood the purpose of that option. It was no bug, working as intended. Sorry, I had stumbled in this bug with 5.8.4 previously and though my “open in new window” issue was something related.