We couldn't connect to the gateway because of an error. If this keeps happening, ask your admin

Copper Contributor

Hi,

I created Windows Virtual Desktop following this article:  https://docs.microsoft.com/en-au/azure/virtual-desktop/tenant-setup-azure-active-directory

I received no errors during the deployment.  However I cant RDP to the VM via 

https://rdweb.wvd.microsoft.com/webclient/index.html 
or the RemoteDesktop client.  

However I get the gateway error.



ErrorSource : RDBroker
ErrorOperation : LookupSessionHostPool
ErrorCode : -2146233088
ErrorCodeSymbolic : ConnectionFailedNoHealthyRdshAvailable
ErrorMessage : Could not find any SessionHost available in specified pool = ≤masked≥, due to either: sessions are not allowed, no healthy host (RDAgent did not report health information), session limit reached
on all SessionHosts in the pool or the pool is empty. Run Get-RdsHostPool and Get-RdsSessionHost cmdlets to get more information.
ErrorInternal : False
ReportedBy : RDGateway
Time : 8/28/2019 12:53:40 PM


Get-RDSSessionHost:
SessionHostName : WVD-0.masked.net
TenantName : Masked
TenantGroupName : Default Tenant Group
HostPoolName : WINDOWS VIRTUAL DESKTOP
AllowNewSession : True
Sessions : 0
LastHeartBeat : 8/28/2019 3:40:37 AM
AgentVersion : 1.0.1109.1000
AssignedUser :
OsVersion : 10.0.17763
SxSStackVersion : rdp-sxs190614002
Status : SxSStackListenerNotReady
UpdateState : Succeeded
LastUpdateTime : 8/27/2019 3:32:24 PM
UpdateErrorMessage :

 

I noticed SxSStackListenerNotReady but I see conflicting information around if the script is needed for this.  

Require assistance please. 

7 Replies

@itchick Can you please tell which VM image is used ? I am also facing similar issue 

 

Hi.

 

I also have this issue, for all users, except one.

We are running Windows Virtual desktop, provisioned through marketplace, sometime in May 2019.

 

I can only logon to the rdssessionhost with one user.

Other users get´s the following error:

 

clipboard_image_0.png

 

And when running (Get-RdsDiagnosticActivities -TenantName aluspec -ActivityId f7024329-3717-4713-9f5a-31f97e980000 -Detailed).Errors

 

I get the following:

 

ErrorSource : RDBroker
ErrorOperation : LookupSessionHostPool
ErrorCode : -2146233088
ErrorCodeSymbolic : ConnectionFailedNoHealthyRdshAvailable
ErrorMessage : Could not find any SessionHost available in specified pool = ≤aluspec-hp≥, due to either: sessions
are not allowed, no healthy host (RDAgent did not report health information), session limit reached
on all SessionHosts in the pool or the pool is empty. Run Get-RdsHostPool and Get-RdsSessionHost c
mdlets to get more information.
ErrorInternal : False
ReportedBy : RDGateway
Time : 2019-09-06 09:52:50

 

Some info about the RdsSessionHost

 

TenantName : aluspec
TenantGroupName : Default Tenant Group
SessionHostName : ALU-AZ-RDS-0.aluspec.local
HostPoolName : aluspec-hp
LastHeartBeat : 2019-09-06 08:43:07
Status : Available
AllowNewSession : True
AgentVersion : 1.0.1109.1000
AllowNewSession : True
AssignedUser : xxxxxxx@xxxxxx.com (only this user works, other added users get
HostPoolName : aluspec-hp

 

Some info from the RdsHostPool

 

TenantName : aluspec
TenantGroupName : Default Tenant Group
HostPoolName : aluspec-hp
FriendlyName : aluspec-hp
Description : Created through ARM template
Persistent : True
DiskPath :
EnableUserProfileDisk :
ExcludeFolderPath :
ExcludeFilePath :
IncludeFilePath :
IncludeFolderPath :
CustomRdpProperty :
MaxSessionLimit : 999999
LoadBalancerType : Persistent
ValidationEnv : False
Ring :

 

Im thining it´s the sessionhost, thats not healthy, what do you guys think?

 

Is it best to just rip it and start all over?

Same issue, started today. Status: NoHeartbeat

ErrorSource : RDBroker
ErrorOperation : LookupSessionHostPool
ErrorCode : -2146233088
ErrorCodeSymbolic : ConnectionFailedNoHealthyRdshAvailable
ErrorMessage : Could not find any SessionHost available in specified pool = ≤XXX≥, due to either: sessions are
not allowed, no healthy host (RDAgent did not report health information), session limit reached on
all SessionHosts in the pool or the pool is empty. Run Get-RdsHostPool and Get-RdsSessionHost
cmdlets to get more information.
ErrorInternal : False
ReportedBy : RDGateway
Time : 08.09.2019 16:01:49

@itchick I am able to solve the issue by checking which softwares are installed. I re-installed everything and now its working fine 

@Rushabh - what links did you use to download all the agents?