SPICE connection error

mwjg

New Member
Jul 15, 2023
2
0
1
Hi, could anyone help me?

VirtViewer can't start spice session using the .vv file downloaded from pve webui, saying "can't connect to graphic server".

Maybe the certification caused the problem. Before the SPICE problem occured, I have some trouble setting the custom certificate, because i can't log in the webui, so i have to put the certification generated by the mkcert in path "/etc/pve/nodes/[my node name]/", eventually i can log in the webui successfully and HTTPS is valid, but I can't use SPICE to connect to my VMs anymore!

How can I solve the problem?
Thanks
 
Last edited:
solved

remove following files:
/etc/pve/local/pveproxy-ssl.pem
/etc/pve/local/pveproxy-ssl.key
/etc/pve/priv/pve-root-ca.key
/etc/pve/priv/pve-root-ca.srl
then run:
pvecm updatecerts --force