How to fix error The connection was closed as the client stopped receiving heartbeats from the session host.

Ryan Reyes 0 Reputation points

we have a user that is not able to connect to AVD getting the error below ConnectionBrokenMissedHeartbeatThresholdExceeded (267) Capture

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,322 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 16,487 Reputation points Microsoft Employee

    @Ryan Reyes Thanks for posting your query on Microsoft Q&A.

    #1 Do you have the required URLs whitelisted?

    • whitelist these URLs on session host side:

    Azure Virtual Desktop required URL list - Azure | Microsoft Docs

    • and these on client side:

    Azure Virtual Desktop required URL list - Azure | Microsoft Docs

    #2 This error could also be caused by AVD traffic being filtered or high round trip time (RTT):

    Troubleshoot Azure Virtual Desktop connection quality | Microsoft Docs

    #3 Changing the RDP properties of Session behavior's Reconnection to 'Client automatically tries to reconnect.' has also resolved this issue for customers in the past.

    User's image

    User's image

    #4 Also, check on the following and let me know the results:

    • Verify the network connection: Check if the user has a stable network connection and if there are no firewalls or other security settings that might be blocking the connection.
    • Check the status of the session host: Verify if the session host is running and responsive. You can try restarting the host and connecting again.
    • Check the log files: Check the log files on both the client and the session host to see if there are any errors or warnings that might help diagnose the issue.

    If none of these troubleshooting steps work, please let me know via "comments" and I can investigate further. Comments are the best way to notify the experts. I can work with you over email as well as engage the right teams as needed.

    If this helps, please Accept Answer so that it can help others facing the same issue.

    0 comments No comments