noVNC connection freezes, hangs, and resets in Chrome?

hackinthebox

Well-Known Member
Sep 13, 2020
10
43
53
44
Guest VM's "freeze" using noVNC through Chrome in various environments
What troubleshooting steps would you try?
What additional information could be helpful?


I'm finding that my Guest VM's are "freezing" when using them through Google Chrome.
I think it's an issue with noVNC. Issue is consistent on various guests with different linux distributions.
I'll be using the guest just fine, then the display completely freezes until the display goes gray and says "reloading" and everything returns to normal.
The freezes last anywhere from 5-45 seconds.
When the display is frozen, commands through SSH to the guest perform as expected.
I have not seen this behavior in any other browsers, but my testing has been limited.
I have seen this behavior while accessing the PVE GUI in Chrome in both Mac and Linux environments.

My 192.168.4.0/24 network uses all 10-Gigabit hardware through vmbr0
VM's, WebGUI, corosync, and storage network all use this interface.
2 Nodes in a cluster (only one shown below, but both nodes demonstrate the same behavior)

Each node has a 1gig ethernet port (vmbr5) with a static IP assigned on the 192.168.5.0/24 network (not the .4 as above)
This network runs on physically separate hardware.
I configured the .5 network as a back door for SSH access in the event I'm remote and do something to screw up the .4 LAN
Is this having an effect? I have not changed this config to test it.

Freezing happens whether system load is low, moderate, or high.

System info posted below.

[ PVE host (uname) ]

Linux thurston 5.4.106-1-pve #1 SMP PVE 5.4.106-1 (Fri, 19 Mar 2021 11:08:47 +0100) x86_64 GNU/Linux
pve-no-subscription repository is current
all packages up-to-date


[ chrome version ]
Version 90.0.4430.72 (Official Build) (x86_64)

[ 501.conf (sample guest config) ]

agent: 1
boot: order=scsi0;ide2;net0
cores: 4
ide2: nfs_proxmox_iso:iso/mylinuxdistro.iso,media=cdrom
memory: 4096
name: vm-nitrogen
net0: virtio=8B:98:EE:CA:59:4D,bridge=vmbr0,firewall=1,tag=11
numa: 0
ostype: l26
parent: init
scsi0: nfs_proxmox_data:501/vm-501-disk-0.qcow2,size=128G,ssd=1
scsihw: virtio-scsi-pci
smbios1: uuid=4e97cc11-fe48-47a8-bda6-cf4d81fbe620
sockets: 1
vga: virtio
vmgenid: 76ea0dc6-12a1-4937-ba3f-08b2683337c7


[ PVE Host /etc/network/interfaces ]
auto lo
iface lo inet loopback

iface enp6s0 inet manual

iface eno1 inet manual

iface enp3s0f0 inet manual

iface enp3s0f1 inet manual

iface enp4s0f0 inet manual

iface enp4s0f1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.4.106/24
gateway 192.168.4.1
bridge-ports enp6s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#192.168.4.0 / 10GbE Management

auto vmbr1
iface vmbr1 inet manual
bridge-ports enp3s0f0
bridge-stp off
bridge-fd 0
#192.168.40.0 / Physical connection to network 400

auto vmbr2
iface vmbr2 inet manual
bridge-ports enp3s0f1
bridge-stp off
bridge-fd 0
#192.168.30.0 / Physical connection to network 300

auto vmbr3
iface vmbr3 inet manual
bridge-ports enp4s0f0
bridge-stp off
bridge-fd 0
#192.168.20.0 / Physical connection to network 200

auto vmbr4
iface vmbr4 inet manual
bridge-ports enp4s0f1
bridge-stp off
bridge-fd 0
#192.168.10.0 / Physical connection to network 100

auto vmbr5
iface vmbr5 inet static
address 192.168.5.106/24
bridge-ports eno1
bridge-stp off
bridge-fd 0
#On-board 1GbE

auto vmbr6
iface vmbr6 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
#Internal Switch


Long time proxmox enthusiast, first time posting. Thank YOU SO MUCH>