spice virt-viewer disconnected when unplugging laptop from dock and switching to WIFI network

prolab

New Member
Aug 11, 2020
21
2
3
I have installed virt-viewer 9.0 on a Windows laptop and use it to connect to virtual machines in a remote Proxmox VE server. I noticed when I unplugging the laptop from docking station (where it is connected through to LAN network cable), and switching to WIFI network, the virt-viewer window will disappear. I assume the virt-viewer can't reconnect when network get lost.

I downloaded the download.vv from Proxmox VE's web ui. I launch it using PowerShell. This is the log when network disconnected:

Code:
C:\Windows\system32>"C:\Program Files\VirtViewer v9.0-256\bin\remote-viewer.exe" "C:\Users\XXX\Downloads\download.vv"

C:\Windows\system32>
(remote-viewer.exe:11576): GLib-GObject-WARNING **: 23:23:24.702: g_object_get_is_valid_property: object class 'GstAutoAudioSink' has no property named 'volume'

(remote-viewer.exe:11576): GLib-GObject-WARNING **: 23:23:24.711: g_object_get_is_valid_property: object class 'GstAutoAudioSrc' has no property named 'volume'

(remote-viewer.exe:11576): GSpice-WARNING **: 23:23:25.261: Warning no automount-inhibiting implementation available

(remote-viewer.exe:11576): GSpice-WARNING **: 23:23:33.246: Error receiving data: An existing connection was forcibly closed by the remote host.

(remote-viewer.exe:11576): GSpice-WARNING **: 23:23:33.247: Error receiving data: An existing connection was forcibly closed by the remote host.

(remote-viewer.exe:11576): GSpice-WARNING **: 23:23:33.247: Error receiving data: An existing connection was forcibly closed by the remote host.

(remote-viewer.exe:11576): GSpice-WARNING **: 23:23:33.248: Error receiving data: An existing connection was forcibly closed by the remote host.


C:\Windows\system32>

I have asked at the spice-devel mailing list: https://lists.freedesktop.org/archives/spice-devel/2021-January/052113.html It's said that there are two cases:

1, the remote-viewer/virt-viewer is not making reconnect attempts.
2, the remote-viewer/virt-viewer is able to make reconnect attempts, but the token get expired.

What's the case? How to debug to find out which is the case?

I have used Windows RDP, that client's behaviour is it will attempt to reconnect for a few times. So I hope to have the similar feature.
 
2, the remote-viewer/virt-viewer is able to make reconnect attempts, but the token get expired.
True, I guess the token has expired, you need to do that as speedily as possible

"C:\Program Files\VirtViewer v9.0-256\bin\remote-viewer.exe" "C:\Users\XXX\Downloads\download.vv"
 
Last edited:

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!