Can not display Proxmox console due to Connection time out

14,972

This is caused by the netcat command timing out due to there being no VNC connection in 10 seconds. In my case, this is because Java was slow to start up.

You can log into SSH on the box and manually run the netcat command with a longer timeout, e.g.

/bin/nc -l -p 5900 -w 100 -c '/usr/sbin/qm vncproxy 1301 2>/dev/null'

I've not yet found a way to change this timeout value globally.

Share:
14,972

Related videos on Youtube

Maya
Author by

Maya

Updated on September 18, 2022

Comments

  • Maya
    Maya over 1 year

    When I try to open console in proxmox ve nothing happens and I see this error in logs:

    no connection : Connection timed out
    TASK ERROR: command '/bin/nc -l -p 5900 -w 10 -c '/usr/sbin/qm vncproxy 100 2>/dev/null'' failed: exit code 1
    

    How can I fix this please?

    • different world 4 u
      different world 4 u over 11 years
      I've got the some error. I couldn't find any solution.