VNC not working

miaopasi

New Member
Oct 3, 2020
3
0
1
25
environment :
Virtual Environment 6.2-12
Debian Buster

problem detail :

everything works fine after installation finished, and a few days later, web vnc function isn't work.
I check on /etc/hosts and /etc/hostname was set, and running command pvecm updatecerts with no timeout error or connection refused error.
When I enter VM Console page, I can see a thread listenning on [::1]:5900, or 127.0.0.1:5900 after disabled ipv6 from host ssh, a error message on web : TASK ERROR: connection timed out .
When I enter host shell console, a error message : TASK ERROR: command '/usr/bin/termproxy 5900 --path /nodes/*** --perm Sys.Console -- /bin/login -f root failed: exit code 1
When the port is listenning, I can use cURL to connected, I can confirm it's a VNC port.
All VM running fine, only vnc cannot connect via web console(any method).

any idea ?
 
I have got the same problem since a month already...
Additionally vzdump is also not working ( only giving the laconic 'got timeout' error ).

PS. No problem neither wit space not with network or vm lock ( already tested based on the similar forum problems )

Anybody pls help :eek:
 
after disabled ipv6 from host ssh,
how did you disable ipv6?

please post your /etc/hosts

it probably has to do with localhost and your hostname resolves
 
how did you disable ipv6?

please post your /etc/hosts

it probably has to do with localhost and your hostname resolves
via sysctl -w net.ipv6.conf.disable_ipv6=1 when system is boot up.
/etc/hosts :
Code:
127.0.0.1    localhost
172.17.0.10    hkg03 pvelocalhost
/etc/hostname :
Code:
hkg03
 
do you use any browser addons or reverse proxy between you and pve ?