[SOLVED] Proxmox 5 Server disconnected (code: 1006)

Valerio Pachera

Active Member
Aug 19, 2016
131
6
38
43
Hi, I'm testing Proxmox Virtual Environment 5.0-10/0d270679.
I have 2 guests running: a linux container (debian9) and qemu guest (also debian9).
Actually I was installing the qemu guest.
As of now I can't complete the installation because console doesn't show up.

Server disconnected (code: 1006)
TASK ERROR: connection timed out

upload_2017-6-28_14-47-42.png

I tried to log-out and log-in but it didn't help.
In this post they mention netcat6.
On my host I have 'netcat-traditional'.

Any idea of the cause?
 
Another question: how can I connect to vnc without proxmox?
This may be useful in case like this.

I see the guest options are
-vga cirrus -vnc unix:/var/run/qemu-server/100.vnc,x509,password
 
I notice that using google chrome, console was working.
I tried to close my firefox tab and open a new tab for proxmox, but it sitll didn't work.
I had to completely close and reopen firefox, than vnc console started workiong again.

Firefox ESR: 52.2.0 (64 bit)

Shall I consider this solved?
May you please answer anyway hot to show vnc without proxmox if possible?
 
In this post they mention netcat6.

AFAIK, netcat was changed out with an manual socket, it should not matter in PVE 5.0 anymore
Another question: how can I connect to vnc without proxmox?
This may be useful in case like this.

I see the guest options are
-vga cirrus -vnc unix:/var/run/qemu-server/100.vnc,x509,password

It's not straightforward to connect over VNC to our managed VNC instance. But for VMs you may add an additional "unsecured" VNC, something like:
Code:
qm set VMID -args '-vnc 0.0.0.0'

Note that I only recalled from memory and this has some security implications (everyone which can access the VMs network can access the VNC).
And with containers its quite another story. So the easiest and securest method is normally already the noVNC provided by PVE.

I notice that using google chrome, console was working.
I tried to close my Firefox tab and open a new tab for proxmox, but it sitll didn't work.
I had to completely close and reopen firefox, than vnc console started workiong again.

Firefox ESR: 52.2.0 (64 bit)

Shall I consider this solved?

Probably, it may have been a glitch.