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!
 

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
8,516
1,097
164
34
Vienna
hi,

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

ma2t

New Member
Sep 17, 2021
2
0
1
Paris, FR
www.ma2t.com
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,
 

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
8,516
1,097
164
34
Vienna
why don't you redirect to the novnc instance first and request the vnc connection from there? thats how pve does it
 

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 your own in 60 seconds.

Buy now!