I've been having this issue for over 6 months now but haven't put in the time to figure out what is causing it until now.
I configured a custom certificate for my primary server using the web GUI based ACME script. Ever since I did this spice has completely ceased to function from that node.
For my examples I have two nodes, [Scylla] and [Athena]. Scylla has a custom certificate to allow me to connect to it from the internet so that I don't get certificate warnings and I generated this certificate using the web GUI ACME menu.
Since I generated the certificate not one of my VM's has been viewable using Spice. Any attempt to view a VM from Scylla results in "Connecting to graphic server" indefinitely.
Connecting from Athena still works assuming the VM in question is running on Athena.
For the more visual people.
This happens regardless of if I connect to the server from the internet using the URL or if I connect locally using the servers local IP.
I've been trying to figure this out for a bit but I haven't had any luck. I am 100% sure this is certificate related because I had this issue before and removed the custom cert and it went away. I ended up putting the cert back however as at the time I needed external access more than I needed spice. This has gotten extremely annoying however and I'd like spice to be working again.
Version information:
Syslog:
If anyone can point me in the right direction I'd apprecieate it. If at all possible I would like to keep the valid cert instead of wiping it just to make Spice work.
I configured a custom certificate for my primary server using the web GUI based ACME script. Ever since I did this spice has completely ceased to function from that node.
For my examples I have two nodes, [Scylla] and [Athena]. Scylla has a custom certificate to allow me to connect to it from the internet so that I don't get certificate warnings and I generated this certificate using the web GUI ACME menu.
Since I generated the certificate not one of my VM's has been viewable using Spice. Any attempt to view a VM from Scylla results in "Connecting to graphic server" indefinitely.
Connecting from Athena still works assuming the VM in question is running on Athena.
For the more visual people.
This happens regardless of if I connect to the server from the internet using the URL or if I connect locally using the servers local IP.
I've been trying to figure this out for a bit but I haven't had any luck. I am 100% sure this is certificate related because I had this issue before and removed the custom cert and it went away. I ended up putting the cert back however as at the time I needed external access more than I needed spice. This has gotten extremely annoying however and I'd like spice to be working again.
Version information:
Code:
proxmox-ve: 6.1-2 (running kernel: 5.3.18-2-pve)
pve-manager: 6.1-8 (running version: 6.1-8/806edfe1)
pve-kernel-helper: 6.1-7
pve-kernel-5.3: 6.1-6
pve-kernel-5.0: 6.0-11
pve-kernel-5.3.18-3-pve: 5.3.18-3
pve-kernel-5.3.18-2-pve: 5.3.18-2
pve-kernel-5.0.21-5-pve: 5.0.21-10
pve-kernel-5.0.21-4-pve: 5.0.21-9
pve-kernel-5.0.21-3-pve: 5.0.21-7
pve-kernel-5.0.15-1-pve: 5.0.15-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.15-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.0-17
libpve-guest-common-perl: 3.0-5
libpve-http-server-perl: 3.0-5
libpve-storage-perl: 6.1-5
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 4.0.1-pve1
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 6.1-4
pve-container: 3.0-23
pve-docs: 6.1-6
pve-edk2-firmware: 2.20200229-1
pve-firewall: 4.0-10
pve-firmware: 3.0-6
pve-ha-manager: 3.0-9
pve-i18n: 2.0-4
pve-qemu-kvm: 4.1.1-4
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-7
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.3-pve1
Syslog:
Code:
[Scylla / FAILED]
Apr 05 00:19:11 scylla pvedaemon[16249]: <root@pam> end task UPID:scylla:000028B9:14954797:5E895C35:vncproxy:104:root@pam: OK
Apr 05 00:19:11 scylla pvedaemon[10643]: starting vnc proxy UPID:scylla:00002993:14954BC9:5E895C3F:vncproxy:104:root@pam:
Apr 05 00:19:11 scylla pvedaemon[16249]: <root@pam> starting task UPID:scylla:00002993:14954BC9:5E895C3F:vncproxy:104:root@pam:
[Athena / WORKING]
Apr 05 00:23:01 Athena pvedaemon[28460]: starting spiceterm UPID:Athena:00006F2C:08150A42:5E895D25:spiceproxy:116:root@pam: - CT 116
Apr 05 00:23:01 Athena pvedaemon[28460]: launch command: /usr/bin/spiceterm --port 61002 --addr localhost --timeout 40 --authpath /vms/116 --permissions VM.Console --keymap en-us -- /usr/bin/dtach -A /var/run/dtach/vzctlconsole116 -r winch -z lxc-console -n 116
Apr 05 00:23:01 Athena pvedaemon[1024]: <root@pam> starting task UPID:Athena:00006F2C:08150A42:5E895D25:spiceproxy:116:root@pam:
Apr 05 00:23:01 Athena pvedaemon[1026]: <root@pam> end task UPID:Athena:00006E33:0814FFDE:5E895D0A:vncproxy:116:root@pam: OK
Apr 05 00:23:06 Athena pvedaemon[1026]: <root@pam> starting task UPID:Athena:00006F6A:08150C5B:5E895D2A:vncproxy:116:root@pam:
Apr 05 00:23:06 Athena pvedaemon[28522]: starting lxc termproxy UPID:Athena:00006F6A:08150C5B:5E895D2A:vncproxy:116:root@pam:
Apr 05 00:23:06 Athena pvedaemon[1024]: <root@pam> successful auth for user 'root@pam'
If anyone can point me in the right direction I'd apprecieate it. If at all possible I would like to keep the valid cert instead of wiping it just to make Spice work.