NoVNC Problems: "Server disconnected (code: 1006)" in Safari, Firefox works

jemenake

New Member
Aug 30, 2015
7
0
1
I'm getting really strange behavior with the NoVNC console in PVE (4.4.40-1).

Currently, when I try to view a VM console, I get the following results with different browsers:
  • Chrome: The status bar says "Connected (encrypted) to: QEMU...", but I just get the stock VNC grey screen with the light-grey swoosh in the lower-right corner.
  • Safari: The status bar says "Server disconnected (code: 1006)" and I get the grey screen with swoosh and "NO VNC" on it.
  • Firefox: Works fine
In the past, Chrome worked fine, but, at some point, it started giving me the grey screen, so I switched to Safari (which worked, originally). Then, Safari started giving me troubles, but, after a reboot of my workstation, it seemed that Chrome started working again. Now, Chrome has stopped working, again.

Any idea what things I can do to get Chrome and/or Safari to work, again?
 
One thing you can try is delete the browser cache/cookies, and then restart browser. Another thing I notice (sometimes when starting a VM thru ProxMox webgui VNC console) is that initially the screen is blank. But after the VM is started, I click something else in ProxMox gui (summary for example) and then go back to VNC console, it refreshes and shows the screen.
 
Any idea what things I can do to get Chrome and/or Safari to work, again?
aside from the things @GadgetPig mentioned, you could open the javascript console in the browser and see if any error pops up, also do you see any errors in the status log of the console task?
in PVE (4.4.40-1).
can you post the full pveversion -v ?
 
I'm getting really strange behavior with the NoVNC console in PVE (4.4.40-1).

Currently, when I try to view a VM console, I get the following results with different browsers:
  • Chrome: The status bar says "Connected (encrypted) to: QEMU...", but I just get the stock VNC grey screen with the light-grey swoosh in the lower-right corner.
  • Safari: The status bar says "Server disconnected (code: 1006)" and I get the grey screen with swoosh and "NO VNC" on it.
  • Firefox: Works fine
In the past, Chrome worked fine, but, at some point, it started giving me the grey screen, so I switched to Safari (which worked, originally). Then, Safari started giving me troubles, but, after a reboot of my workstation, it seemed that Chrome started working again. Now, Chrome has stopped working, again.

Any idea what things I can do to get Chrome and/or Safari to work, again?

I have the same issue. Nothing traced in safari debug console. Tried enabling popups globally, turning on java for the server URL, and anything else I could think of. Also tried from two other clients, can't get safari to work with vnc function. Always works in firefox.
pveversion -v
proxmox-ve: 5.0-15 (running kernel: 4.10.15-1-pve)
pve-manager: 5.0-23 (running version: 5.0-23/af4267bf)
pve-kernel-4.10.15-1-pve: 4.10.15-15
 
Also tried from two other clients, can't get safari to work with vnc function
if you a 'non-trusted' certificate for your pve server, you have to make safari accept that certificate permanently, or else novnc will not work (this is a safari bug where it does not ask again to trust the certificate)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!