Login to Gateway Servers to find the events –
You can see the resource authorization policy is not meeting the requirements.
Refer below event –
Log Name: Microsoft-Windows-TerminalServices-Gateway/Operational
Date: 2/22/2015 12:42:30 PM
Event ID: 301
Task Category: (5)
Keywords: Audit Failure,(16777216)
User: NETWORK SERVICE
The user “careexchange\Sathesh”, on client computer “10.131.203.22”, did not meet resource authorization policy requirements and was therefore not authorized to resource “10.129.151.33”. The following error occurred: “23002”.
Login to Gateway Server –> Manage Local Computer Groups
Click on Properties –
Add the Connection broker servers IP address manually, Even though if you see the host name added already , Please add the IP address as well . look like a bug.
It should solve the connection error issue.