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
 

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 yours easily in our online shop.

Buy now!