Console on LXC ending in (Connection failed (Error 500: Timeout while waiting for port '5900' to get ready!) )

Kage

Active Member
Mar 29, 2016
40
5
28
34
Hello,

can you advice where we can look for reason of error when trying to reach Console on LXC Containers ( For VM this works OK ).

Connection failed (Error 500: Timeout while waiting for port '5900' to get ready!)

Best Regards,
 
anaything in the logs (journal/syslog)? does anything listen on port 5900? (check with 'ss -tlpn')
 
Hi,

so in journal i found

Sep 07 08:14:35 hutivu pvedaemon[19722]: starting lxc termproxy UPID:hutivu:00004D0A:0C177252:5D734ACB:vncproxy:108:root@pam:
Sep 07 08:14:35 hutivu pvedaemon[2186]: <root@pam> starting task UPID:hutivu:00004D0A:0C177252:5D734ACB:vncproxy:108:root@pam:

when trying to open console, 5900 appear in localhost

root@hutivu:/home/psobota# for i in {3600..1}; do netstat -plnt|grep 590 && sleep 1; done
tcp 0 0 127.0.0.1:5900 0.0.0.0:* LISTEN 23244/perl
tcp 0 0 127.0.0.1:5900 0.0.0.0:* LISTEN 23244/perl
tcp 0 0 127.0.0.1:5900 0.0.0.0:* LISTEN 23244/perl
tcp 0 0 127.0.0.1:5900 0.0.0.0:* LISTEN 23244/perl

when i start console, but from browser this ending in error like timeout 500, sometimes... console start when i choose xterm.js, but 1 for 10 tries, and problem for now in test lab exist only for CT, mostly we recognize it after upgrading to 6.x some time ago.

Best Regards,
 

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!