RDS with HA Connection Broker stops working

Bailey 11 Reputation points
2020-08-24T17:17:58.717+00:00

I've been fighting this issue for so long and someone else must have this problem!

Currently we have a highly available connection broker on two servers. Then we have multiple session collections with session servers. We are not doing session collection load balancing, it's single session servers. I have this setup in two different domains one domain has server 2016 and the other domain is server 2019. On both I have an issue where users cannot connect to RDS. If I restart the Connection Broker service on both servers then they can connect again. I don't want to just create a scrip that restarts this service all the time - I want to fix the issue permanently.

The error message they receive is sometimes different. Usually they get "There are no available computers in the pool. Try connecting again or contact your network administrator". In the event log I receive the following:

Event ID: 824 "RD Connection Broker could not find a server for user USERNAME in collection COLLECTIONNAME (Error = 0x80070005), please ensure user is assigned to a server, and server is avaiable and running"

Event ID: 802 "RD Connection Broker failed to process the connection request for user USERNAME
Load Balancing failed OR Specified endpoint could not be found.
Error: Access is denied."

Other times I get the following Event ID's:

Event 1296 "Remote Desktop Connection Broker Client failed while getting redirection packet from Connection Broker.
User : USERNAME
Error: Element not found."

Event ID: 1306 "Remote Desktop Connection Broker Client failed to redirect the user USERNAME.
Error: NULL"

I feel like I have read every article online that exists with no answer. I have used logging to check the firewall isn't blocking anything on either side. I'm not receiving any errors connecting to the database. One domain has the databases hosted on a sql server in the domain the other one is using Azure and they both have the same issue so I'm pretty sure it's not the DB.

Any tips would be greatly appreciated.

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Jenny Yan-MSFT 9,356 Reputation points
    2020-08-25T03:29:17.367+00:00

    Hi,

    If I restart the Connection Broker service on both servers then they can connect again.
    1.What was the service's status when users failed to remote to the session host server?

    When issue occurred, kindly logged into the CB, check the task manager and verify if any resource or service got stuck without responding.

    2.How did the users start the remote session? Via mstsc or Rdweb? Was the RDP failure occurred with all remoting methods?

    Looking for your update.

    Best Regards,
    Jenny


  2. Hilco 1 Reputation point
    2020-09-17T08:58:13.917+00:00

    Hi Bailey,

    It looks like we are having the same problem on one of our connection broker servers.
    Did you manage to solve te problem?

    Beste Regards,

    Hilco


  3. Tomasz Rosikoń 1 Reputation point
    2020-10-05T15:12:38.357+00:00

    Hi Bailey,

    today morning I noticed the same problem.
    Did you manage to solve the issue ?

    Best regards
    Tomasz Rosikoń


  4. Ahmed Essam 211 Reputation points
    2020-10-18T10:38:08.973+00:00

    Hi,

    I have the same issue CB based on server 2019

    The second CB works properly but the first server is facing the issue

    Best Regards,

    Ahmed

    0 comments No comments

  5. Ion Luca 96 Reputation points
    2021-01-31T07:37:35.25+00:00

    Hi All, I have the same issue, and I think it's because CB not write data to SQL databases but to Windows Internal Database. I've try to find out why this is happening but without success.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.