VNC proxy connection timed out

ma2t

New Member
Sep 17, 2021
2
0
1
Paris, FR
www.ma2t.com
Hello Proxmox Community,

When the creation of a TCP VNC proxy connection is requested, I noticed we only have 10 secondes to initiate the VNC connection.

I would like to know if there's a way to increase this timeout.

Thanks for your help!
 
hi,

no not currently, why do you need that to be longer?
 
Hi Dominik,

The context is the following: we are requesting the VNC connection from the PVE API, then we redirect the users to a noVNC/websockify.

When the user is on another continent than our server, between the moment when the VNC connection is opened and the noVNC finishes loading on the user browser it often takes more than 10 seconds. So the noVNC often fail with "something went wrong, connection is closed".

Sincerely,
 
why don't you redirect to the novnc instance first and request the vnc connection from there? thats how pve does it