SOLVED
Home

WVD Server Remote app session hangs

%3CLINGO-SUB%20id%3D%22lingo-sub-1000945%22%20slang%3D%22en-US%22%3EWVD%20Server%20Remote%20app%20session%20hangs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1000945%22%20slang%3D%22en-US%22%3E%3CP%3EHello!%3CBR%20%2F%3E%3CBR%20%2F%3EOne%20of%20my%20users%20is%20currently%20running%20Windows%20Virtual%20Deskop%20on%20Windows%20Server%20in%20Azure%2C%20and%20has%20problems%20with%20RemoteApp%20%22loosing%22%20connection%20and%20needs%20to%20be%20restarted%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20that%20time%2C%20I%20have%20found%20that%20user%20session%20gets%20disconnected%20with%20error%26nbsp%3B2147954430%20-%20which%20might%20be%20a%20%22BAD_GATEWAY%22%20response%20from%20the%20service%3F%20How%20can%20I%20get%20detailed%20information%20why%20this%20has%20happened%20-%20is%20Geneva%20%2F%20RDInfra%20agent%20capable%20of%20showing%20detailed%2C%20verbose%20logs%20so%20I%20can%20try%20to%20tell%20if%20the%20issue%20was%20with%20Microsoft%20GW%20%2F%20Broker%20or%20my%20session%20host%3F%20It%20seems%20to%20be%20quite%20frequent%2C%20as%20per%20following%20log%20extract.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F156369i73DD511168C7F972%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20advice%20appreciated!%3CBR%20%2F%3EThanks!%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1003201%22%20slang%3D%22en-US%22%3ERe%3A%20WVD%20Server%20Remote%20app%20session%20hangs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1003201%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F186680%22%20target%3D%22_blank%22%3E%40Aleksander%20Pawlak%3C%2FA%3E%3A%20See%20here%20how%20you%20can%20analyze%20issues%20for%20a%20single%20user%3A%20%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fdiagnostics-role-service%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fdiagnostics-role-service%3C%2FA%3E%3C%2FFONT%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1003850%22%20slang%3D%22en-US%22%3ERe%3A%20WVD%20Server%20Remote%20app%20session%20hangs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1003850%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F139744%22%20target%3D%22_blank%22%3E%40Eva%20Seydl%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20log%20output%20tells%20that%20there%20has%20been%20something%20'unexpected'%20(Activity%20ID%201f7861c5-b56f-4e14-bbd2-ea8a68220000%20%3A(%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EErrorSource%20%3A%20RDGateway%3CBR%20%2F%3EErrorOperation%20%3A%20GatewayConnectionActive%3CBR%20%2F%3EErrorCode%20%3A%20-2146233088%3CBR%20%2F%3EErrorCodeSymbolic%20%3A%20ConnectionFailedClientDisconnect%3CBR%20%2F%3EErrorMessage%20%3A%20One%20or%20more%20errors%20occurred.%20(The%20remote%20party%20closed%20the%20WebSocket%20connection%20without%20completing%3CBR%20%2F%3Ethe%20close%20handshake.)%3CBR%20%2F%3EErrorInternal%20%3A%20False%3CBR%20%2F%3EReportedBy%20%3A%20RDGateway%3CBR%20%2F%3ETime%20%3A%2011%2F11%2F2019%2010%3A23%3A49%20PM%3C%2FP%3E%3CP%3EErrorSource%20%3A%20RDStack%3CBR%20%2F%3EErrorOperation%20%3A%20ConnectionEstablished%3CBR%20%2F%3EErrorCode%20%3A%2014%3CBR%20%2F%3EErrorCodeSymbolic%20%3A%20UnexpectedNetworkDisconnect%3CBR%20%2F%3EErrorMessage%20%3A%20Unexpected%20network%20disconnect%3CBR%20%2F%3EErrorInternal%20%3A%20False%3CBR%20%2F%3EReportedBy%20%3A%20RDStack%3CBR%20%2F%3ETime%20%3A%2011%2F11%2F2019%2010%3A23%3A50%20PM%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFrom%20End-user%20perspective%20the%20application%20has%20hung%20and%20did%20not%20reconnect%20-%20only%20after%20killing%20the%20RemoteApp%20not%20responding%20window%20and%20reconnecting%20again%20the%20issue%20was%20escaped.%20From%20the%20server%20perspecitve%20it%20seems%20to%20have%20received%20bad%20gateway%20error%20from%20RD%20Stack.%20Does%20this%20qualify%20for%20a%20support%20case%20to%20be%20investigated%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3CP%3EAleksander%20Pawlak%3C%2FP%3E%3C%2FLINGO-BODY%3E
Aleksander Pawlak
Contributor

Hello!

One of my users is currently running Windows Virtual Deskop on Windows Server in Azure, and has problems with RemoteApp "loosing" connection and needs to be restarted

 

On that time, I have found that user session gets disconnected with error 2147954430 - which might be a "BAD_GATEWAY" response from the service? How can I get detailed information why this has happened - is Geneva / RDInfra agent capable of showing detailed, verbose logs so I can try to tell if the issue was with Microsoft GW / Broker or my session host? It seems to be quite frequent, as per following log extract. 

clipboard_image_0.png

 

Any advice appreciated!
Thanks! 

2 Replies
Solution

@Eva Seydl 

Thank you,

 

The log output tells that there has been something 'unexpected' (Activity ID 1f7861c5-b56f-4e14-bbd2-ea8a68220000 :(

 

ErrorSource : RDGateway
ErrorOperation : GatewayConnectionActive
ErrorCode : -2146233088
ErrorCodeSymbolic : ConnectionFailedClientDisconnect
ErrorMessage : One or more errors occurred. (The remote party closed the WebSocket connection without completing
the close handshake.)
ErrorInternal : False
ReportedBy : RDGateway
Time : 11/11/2019 10:23:49 PM

ErrorSource : RDStack
ErrorOperation : ConnectionEstablished
ErrorCode : 14
ErrorCodeSymbolic : UnexpectedNetworkDisconnect
ErrorMessage : Unexpected network disconnect
ErrorInternal : False
ReportedBy : RDStack
Time : 11/11/2019 10:23:50 PM

 

From End-user perspective the application has hung and did not reconnect - only after killing the RemoteApp not responding window and reconnecting again the issue was escaped. From the server perspecitve it seems to have received bad gateway error from RD Stack. Does this qualify for a support case to be investigated ?

 

Thank you

Aleksander Pawlak

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
48 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies