I'm receiving an error when attempting to connect to a SPICE enabled machine. I'm not sure how to debug this issue, the port appears to be open and connectable, but connections from remote-viewer fails. Here is the debug information that is spit out when I try to connect.
The spice file provided by Proxmox looks like this
I do have an nginx proxy sitting in front of the management interface for Proxmox, if that would have some affect, although the SPICE port is just exposed.
Code:
xxx@xxx~$ remote-viewer --verbose --debug download
(remote-viewer:13929): virt-viewer-DEBUG: 15:37:06.657: Opening display to download
(remote-viewer:13929): virt-viewer-DEBUG: 15:37:06.660: Guest (null) has a spice display
Guest (null) has a spice display
(remote-viewer:13929): virt-viewer-DEBUG: 15:37:06.692: ignoring [ovirt] section content as URL, VM GUID are missing from the .vv file
(remote-viewer:13929): virt-viewer-DEBUG: 15:37:06.694: After open connection callback fd=-1
(remote-viewer:13929): virt-viewer-DEBUG: 15:37:06.694: Opening connection to display at download
Opening connection to display at download
(remote-viewer:13929): virt-viewer-DEBUG: 15:37:06.707: New spice channel 0x5b5d0207cdd0 SpiceMainChannel 0
(remote-viewer:13929): virt-viewer-DEBUG: 15:37:06.707: notebook show status 0x5b5d01eae2d0
xkbcommon: ERROR: Key "<CAPS>" added to modifier map for multiple modifiers; Using Mod3, ignoring Lock
(remote-viewer:13929): virt-viewer-DEBUG: 15:37:07.150: main channel: failed to connect HTTP proxy connection failed: 401
(remote-viewer:13929): virt-viewer-DEBUG: 15:37:07.152: Destroy SPICE channel SpiceMainChannel 0
(remote-viewer:13929): virt-viewer-DEBUG: 15:37:07.152: zap main channel
The spice file provided by Proxmox looks like this
Code:
[virt-viewer]
password=xxx
tls-port=61000
ca=xxx
secure-attention=Ctrl+Alt+Ins
proxy=http://xxx.xxx.xxx3128
title=VM 200 - kali
type=spice
host-subject=CN=xxx.xxx.xxx
toggle-fullscreen=Shift+F11
host=pvespiceproxy:5d28c608:200:vm::b41de9ad648bcbfe49084cc6e4c79763c089d2bb
delete-this-file=1
release-cursor=Ctrl+Alt+R
I do have an nginx proxy sitting in front of the management interface for Proxmox, if that would have some affect, although the SPICE port is just exposed.