Forum Discussion
nicolasriderelli
Jan 19, 2022Copper Contributor
VM Connection very often gets disconnected
Hello! I'm seeing a lot of disconnects in my hostpools. Just in the last 24 hours, a user had the following The connection from the client to the Windows Virtual Desktop service was terminated u...
aschildmeyerstratus
Jun 01, 2023Brass Contributor
Shortpath is using UDP. Cloud networks have ebbs and flows of packet uncertainty. I am finding this in all my workloads and not just AVD. Basically, if you have something that uses UDP in a cloud hosted environment, good luck. You will lose packets and lose connections. Event in the same vnet/region. Many times I lose DNS requests, or I should say I was. it's been a few months since my app services have wined about "no host known".
Anywho, with UDP loss you need to switch to TCP and shutdown shortpath. The downside to TCP is you're going to see lots more latency in typing, viewing, scrolling of pages etc. I wouldn't say it's a fix, but not a very good one. The UDP loss should just cause a momentary glitch and move on like a voip call. Not flatout fail.
Anywho, with UDP loss you need to switch to TCP and shutdown shortpath. The downside to TCP is you're going to see lots more latency in typing, viewing, scrolling of pages etc. I wouldn't say it's a fix, but not a very good one. The UDP loss should just cause a momentary glitch and move on like a voip call. Not flatout fail.
DBR14
Jun 01, 2023Iron Contributor
Right, oddly enough when I got UDP turned off my users actually said AVD felt better. Both technical users and the end users on the other end. Given 90% of our company is located in a 60 mile radius, the AVD infrastructure isn't exactly a stones throw away either. I'll take it as win.
- aschildmeyerstratusJun 01, 2023Brass ContributorThat is interesting. Usually, you'll see the packet loss on TCP as the screen locks up, with scrolling draws of the screen as the TCP session retransmits or naggles and adjust the sliding window around.
It must be that shortpath just is not prime time ready, the UDP packet loss is enough to kill the connection on the Azure end but not bad enough to notice in TCP or something else. Like everyone in this thread, I go for periods where I have 0 issues. Then the disconnects pile on. Sadly, I need shortpath/UDP to be working as I tried pure TCP and the session latency wasn't working well for my end users. I've actually thought about bringing it back in house.- Jason_1995Jun 08, 2023Copper Contributor
Do you use a NAT Gateway for the subnet?
- CelDBAug 11, 2023Copper ContributorOut of curiosity, have you found issues when using a NAT Gateway?