spice is not working when I try to connect from different internet

Diwakar-km

Member
May 15, 2021
2
0
6
35
I installed new server below are the version details. I can access vm using console spice from same network but when I try from different network, I cannot access spice console but I can access novnc . I also adding below debug message of remote-viewer for .vv file. Please help me, I'm new.

pveversion --verbose
proxmox-ve: 6.4-1 (running kernel: 5.4.114-1-pve)
pve-manager: 6.4-6 (running version: 6.4-6/be2fa32c)
pve-kernel-5.4: 6.4-2
pve-kernel-helper: 6.4-2
pve-kernel-5.4.114-1-pve: 5.4.114-1
pve-kernel-5.4.106-1-pve: 5.4.106-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.1.2-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.20-pve1
libproxmox-acme-perl: 1.1.0
libproxmox-backup-qemu0: 1.0.3-1
libpve-access-control: 6.4-1
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.4-3
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-2
libpve-storage-perl: 6.4-1
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.1.6-2
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.5-4
pve-cluster: 6.4-1
pve-container: 3.3-5
pve-docs: 6.4-2
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.2-3
pve-ha-manager: 3.1-1
pve-i18n: 2.3-1
pve-qemu-kvm: 5.2.0-6
pve-xtermjs: 4.7.0-3
qemu-server: 6.4-2
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 2.0.4-pve1

remote-viewer.exe pve-spice.vv --debug ( Tried to connect it from different network)

c:\Program Files\VirtViewer v10.0-256\bin>(remote-viewer.exe:1668): virt-viewer-DEBUG: 06:15:24.757: keymap string is empty - nothing to do
(remote-viewer.exe:1668): virt-viewer-DEBUG: 06:15:24.819: disabling smartcard shortcuts
(remote-viewer.exe:1668): virt-viewer-DEBUG: 06:15:24.819: Opening display to pve-spice.vv
(remote-viewer.exe:1668): virt-viewer-DEBUG: 06:15:24.835: Guest (NULL) has a spice display

(remote-viewer.exe:1668): GSpice-CRITICAL **: 06:15:24.850: _usbdk_hider_update: assertion 'priv->usbdk_api != NULL' failed
(remote-viewer.exe:1668): virt-viewer-DEBUG: 06:15:25.065: ignoring [ovirt] section content as URL, VM GUID are missing from the .vv file
(remote-viewer.exe:1668): virt-viewer-DEBUG: 06:15:25.081: After open connection callback fd=-1
(remote-viewer.exe:1668): virt-viewer-DEBUG: 06:15:25.081: Opening connection to display at pve-spice.vv
(remote-viewer.exe:1668): virt-viewer-DEBUG: 06:15:25.105: New spice channel 00000000051212b0 SpiceMainChannel 0
(remote-viewer.exe:1668): virt-viewer-DEBUG: 06:15:25.107: notebook show status 000000000406b8b0
(remote-viewer.exe:1668): virt-viewer-DEBUG: 06:15:36.079: main channel: failed to connect Could not connect to proxy server MY PIBLIC IP: Socket I/O timed out
(remote-viewer.exe:1668): virt-viewer-DEBUG: 06:15:36.079: Destroy SPICE channel SpiceMainChannel 0
(remote-viewer.exe:1668): virt-viewer-DEBUG: 06:15:36.079: zap main channel

(remote-viewer.exe:1668): GSpice-CRITICAL **: 06:15:39.197: _usbdk_hider_update: assertion 'priv->usbdk_api != NULL' failed

(remote-viewer.exe:1668): GSpice-CRITICAL **: 06:15:39.200: _usbdk_hider_clear: assertion 'priv->usbdk_api != NULL' failed


Thank you so much for helping me.
 
Hi,

You must open the pve-spice.vv asap otherwise check the firewall and so on, because if the SPICE running on a local network it should work on a different network as well
 

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!