[PVE-User] Can't get NoVnc
Dhaussy Alexandre
ADhaussy at voyages-sncf.com
Thu Sep 18 14:51:32 CEST 2014
Finally, i asked the network guys to open port 8006, removed the NAT,
and it works ! Sweeet :)
Le 15/09/2014 16:35, Lex Rivera a écrit :
> I have exact same issue. Java console works, but novnc gives me same
> error with exit code 1
>
> On Mon, Sep 15, 2014, at 07:20 AM, Dhaussy Alexandre wrote:
>> No idea ? or should i blame my english ? x)
>>
>> Le 10/09/2014 16:05, Alexandre DHAUSSY a écrit :
>>> Hello,
>>>
>>> I'm getting a timeout when i try to use novnc (java console OK.)
>>> When launching a console, it says "noVNC ready: native WebSockets,
>>> canvas rendering" and it asks for Host/Port(empty)/Password.
>>>
>>> Task status says :
>>> no connection : Connection timed out
>>> TASK ERROR: command '/bin/nc -l -p 5901 -w 10 -c '/usr/sbin/qm
>>> vncproxy 100 2>/dev/null'' failed: exit code 1
>>>
>>> So it seems there is no connection reaching nc server, which timeouts
>>> after 10s..
>>>
>>> Note that i have an iptable DNAT rule to redirect webconsole traffic
>>> from port 443 to 8006 (web/admin access and proxmox servers are on
>>> different networks, i only redirected the port because 8006 listens on
>>> 0.0.0.0)
>>> Like Dietmar said : "novnc on pve use a websocket connection to port
>>> 8006", so i guess i should not need any open ports other than 8006 ?
>>>
>>> Launching manually nc/vncproxy seems to work..
>>>
>>> root at proxmox-test1:~# /bin/nc -l -p 5900 -c "/usr/sbin/qm vncproxy 100"&
>>> [1] 5292
>>> root at proxmox-test1:~# telnet localhost 5900
>>> Trying 127.0.0.1...
>>> Connected to localhost.localdomain.
>>> Escape character is '^]'.
>>> RFB 003.008
>>>
>>> Regards,
>>> Alexandre.
>> _______________________________________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
More information about the pve-user
mailing list