AVD Heartbeat threshold error

%3CLINGO-SUB%20id%3D%22lingo-sub-3519996%22%20slang%3D%22en-US%22%3EAVD%20Heartbeat%20threshold%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3519996%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20recently%20moved%20a%20client%20from%20Citrix%20to%20AVD.%20We%20believe%20we've%20got%20them%20settled%20but%20we%20have%20a%20constant%20battle%20with%20them%20stating%20they%20get%20disconnected.%26nbsp%3B%20The%20client%20referenced%20that%20Citrix%20seems%20to%20work%20a%20lot%20better%20than%20AVD%20which%20is%20a%20bit%20of%20a%20downer%20to%20be%20honest.%3C%2FP%3E%3CP%3ELooking%20at%20insights%20gateway%20the%20one%20thing%20that%20pops%20out%20is%20the%20ConnectionBrokenMissedHeartbeatThresholdExceeded%20(267)%20error%2C%20looking%20at%20the%20session%20hosts%2C%20and%20at%20the%20specific%20time%20the%20user%20got%20this%20error%20message%20nothing%20is%20posted%20into%20the%20event%20logs.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20also%20see%20this%20at%20other%20clients%2C%20is%20this%20a%20red%20herring%20or%20is%20it%20something%20that%20needs%20further%20looking%20at.%3C%2FP%3E%3CP%3EIs%20this%20heartbeat%20back%20to%20AVD%20to%20show%20availability%3F%3C%2FP%3E%3CP%3ECan%20the%20threshold%20be%20changed%3F%3C%2FP%3E%3CP%3EAny%20diagnostics%20I%20can%20be%20looking%20at%2C%20all%20AVD%20Gateways%20are%20available%20and%20accessible%20from%20the%20session%20hosts.%20No%20errors%20in%20the%20event%20logs%20that%20I%20can%20see.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EReally%20want%20to%20improve%20the%20experience%20of%20AVD%20for%20the%20customer.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3528636%22%20slang%3D%22en-US%22%3ERe%3A%20AVD%20Heartbeat%20threshold%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3528636%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1007076%22%20target%3D%22_blank%22%3E%40KevHal%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3Ehello%2C%26nbsp%3B%3CBR%20%2F%3Edo%20you%20have%20the%20required%20URLs%20whitelisted%3F%3C%2FP%3E%0A%3CP%3Eyou%20need%20to%20whitelist%20these%20URLs%20on%20session%20host%20side%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fsafe-url-list%23azure-public-cloud%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Virtual%20Desktop%20required%20URL%20list%20-%20Azure%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ean%20these%20on%20client%20side%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fsafe-url-list%23remote-desktop-clients%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Virtual%20Desktop%20required%20URL%20list%20-%20Azure%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ethese%20URLs%20need%20to%20be%20whitelisted%20on%20all%20firewall%2C%20proxy%2C%203rd%20party%20AVs%2C%20...%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fproxy-server-support%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EProxy%20server%20guidelines%20Azure%20Virtual%20Desktop%20-%20Azure%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMany%20times%20this%20error%20is%20caused%20by%20the%20AVD%20traffic%20being%20filtered%20or%20high%20RTT%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftroubleshoot-connection-quality%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ETroubleshoot%20Azure%20Virtual%20Desktop%20connection%20quality%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ehope%20this%20helps.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3532513%22%20slang%3D%22en-US%22%3ERe%3A%20AVD%20Heartbeat%20threshold%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3532513%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1293682%22%20target%3D%22_blank%22%3E%40NelsonRosa%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHI%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20reply%2C%20yes%20they%20are%20all%20whitelisted%2C%20the%20event%20log%20shows%20that%20all%20URL's%20are%20accessible.%3C%2FP%3E%3CP%3EWe%20saw%20it%20a%20lot%20more%20yesterday%2C%20can't%20really%20work%20it%20out%20or%20is%20it%20just%20a%20connection%20quality%20issue%20from%20the%20end%20user.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3532269%22%20slang%3D%22en-US%22%3ERe%3A%20AVD%20Heartbeat%20threshold%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3532269%22%20slang%3D%22en-US%22%3Ehave%20in%20mind%20by%20default%20citrix%20is%20using%20a%20stateless%20UDP%20protocol%20while%20AVD%20by%20default%20still%20uses%20TCP.%20you%20will%20always%20lose%20the%20performance%20battle%20right%20now.%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

We recently moved a client from Citrix to AVD. We believe we've got them settled but we have a constant battle with them stating they get disconnected.  The client referenced that Citrix seems to work a lot better than AVD which is a bit of a downer to be honest.

Looking at insights gateway the one thing that pops out is the ConnectionBrokenMissedHeartbeatThresholdExceeded (267) error, looking at the session hosts, and at the specific time the user got this error message nothing is posted into the event logs. 

 

We also see this at other clients, is this a red herring or is it something that needs further looking at.

Is this heartbeat back to AVD to show availability?

Can the threshold be changed?

Any diagnostics I can be looking at, all AVD Gateways are available and accessible from the session hosts. No errors in the event logs that I can see.

 

Really want to improve the experience of AVD for the customer.

 

Thanks.

3 Replies

@KevHal 
hello, 
do you have the required URLs whitelisted?

you need to whitelist these URLs on session host side:

Azure Virtual Desktop required URL list - Azure | Microsoft Docs

 

an these on client side:

Azure Virtual Desktop required URL list - Azure | Microsoft Docs

 

these URLs need to be whitelisted on all firewall, proxy, 3rd party AVs, ...
Proxy server guidelines Azure Virtual Desktop - Azure | Microsoft Docs

 

Many times this error is caused by the AVD traffic being filtered or high RTT:

Troubleshoot Azure Virtual Desktop connection quality | Microsoft Docs

 

hope this helps.

 

 

have in mind by default citrix is using a stateless UDP protocol while AVD by default still uses TCP. you will always lose the performance battle right now.

@NelsonRosa 

 

HI,

 

Thanks for the reply, yes they are all whitelisted, the event log shows that all URL's are accessible.

We saw it a lot more yesterday, can't really work it out or is it just a connection quality issue from the end user.

 

Thanks.