vncproxy error

usha_cow

New Member
May 17, 2017
6
0
1
29
Hi!

I've got error with connection to vnc console. When I click on the button Console, sometimes the console connects immediately, but sometimes I see error:

nc6: connection timed out
TASK ERROR: command '/bin/nc6 -l -p 5900 -w 10 -e '/usr/bin/ssh -T -o BatchMode=yes 10.192.1.84 /usr/sbin/qm vncproxy 167 2>/dev/null'' failed: exit code 1


After that error I see on top of the console window this message:

noVNC ready: native WebSockets, canvas rendering

And then:
Server disconnected (code: 1006)

To get console working I have to click on some other menus such as Summary and then back to Console several times (usually it works after 5 to 10 clicks), after that console is showing up. I've tried to change timeout argument of nc6 -w to 0 or 1000 in proxmox code, but it didn't take affect.

So I think it's probably problem with vncproxy output. Is there some way to change this behavior that I can open console from the first time?
 
Last edited:

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
4,734
457
103
32
Vienna
please upgrade to the newest version and try again (there should be a more informative error message)
 

usha_cow

New Member
May 17, 2017
6
0
1
29
Thanks for you reply.
My version is 4.4-5/c43015a5. Do I really need an upgrade?
 

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
4,734
457
103
32
Vienna
as i said, in newer version there is a much more informational error message, which may lead to the source of your problem
the error message you gave just says "it does not work"
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!