hi,
I am doing lab test on nginx reverse proxy with load balancing. Running latest Proxmox VE 4.2
I am able to access proxmox web GUI via normal https via port 443 to all nodes and it will automatically select available node as per nginx/conf.d configuration:
-------> Node 1
|
VM (nginx reverse proxy) -------> Node 2
|
-------> Node 2
VM run on bridge mode and port 80,443, 8006 is open for external and nodes communications. It install with let's encrypt SSL.
One thing is that the VNC will drop after a while and the screen is freeze. During this time I try to open another session directly via node Web GUI (local IP). i can see eventhough the previous session via reverse proxy screen is freezed, but the action like typing or enter still able to send via the freezed console (I can see the respond from second console).
From daemon.log i can see this line when run noVNC via proxy:
LXC :
pveproxy[17321]: EV: error in callback (ignoring): connect to 'localhost:5901" failed: connection refused at /usr/share/perl5/PVE/HTTPServer.pm line 418
KVM:
pvedaemon[6635]: command '/bin/nc6 -l -p 5900 -w 10 -e '/usr/bin/ssh -T -o BatchMode=yes 1x.xx.xx.104 /usr/sbin/qm vncproxy 302 2>/dev/null'' failed: exit code 1
I had tried to completely disable firewall on host and data center level but still the same.
On data center level, port 5900:5999, 8006 is open and accept incoming only from the VM nginx proxy
Same setting on host level, too.
Hopefully guru here can point out my mistake.
I am doing lab test on nginx reverse proxy with load balancing. Running latest Proxmox VE 4.2
I am able to access proxmox web GUI via normal https via port 443 to all nodes and it will automatically select available node as per nginx/conf.d configuration:
-------> Node 1
|
VM (nginx reverse proxy) -------> Node 2
|
-------> Node 2
VM run on bridge mode and port 80,443, 8006 is open for external and nodes communications. It install with let's encrypt SSL.
One thing is that the VNC will drop after a while and the screen is freeze. During this time I try to open another session directly via node Web GUI (local IP). i can see eventhough the previous session via reverse proxy screen is freezed, but the action like typing or enter still able to send via the freezed console (I can see the respond from second console).
From daemon.log i can see this line when run noVNC via proxy:
LXC :
pveproxy[17321]: EV: error in callback (ignoring): connect to 'localhost:5901" failed: connection refused at /usr/share/perl5/PVE/HTTPServer.pm line 418
KVM:
pvedaemon[6635]: command '/bin/nc6 -l -p 5900 -w 10 -e '/usr/bin/ssh -T -o BatchMode=yes 1x.xx.xx.104 /usr/sbin/qm vncproxy 302 2>/dev/null'' failed: exit code 1
I had tried to completely disable firewall on host and data center level but still the same.
On data center level, port 5900:5999, 8006 is open and accept incoming only from the VM nginx proxy
Same setting on host level, too.
Hopefully guru here can point out my mistake.
Last edited: