Handler fails to communicate with the broker
If there are communication failures between Handler component and Session Manager Broker, “Broker
authentication error” will appear in the browser logs or BrokerAuthenticationException: {"error":"unauthorized_client"} in the
handler logs. This is due to the fact that the Broker has incorrect property files or the Handler is unable to connect to
the Broker.
Incorrect Broker properties
The Handler communicates with the Session Manager Broker using the properties specified in the session-manager-handler.properties
file. If the property files are incorrect, communication issues can occur between the two.
On the host where the Handler is installed, navigate to the Handler properties file using your preferred text editor.
/etc/dcv-access-console-handler/access-console-handler.propertiesVerify that the
broker-base-url points to the Broker URL with the client-to-broker-connector-https-port. For more information, see Broker configuration filein the Amazon DCV administrator guide. Verify that the
broker-auth-urlpoints to the Broker authentication URL. Verify that the
broker-client-idandbroker-client-passwordare correct. If you do not know the client-id and password you can register a new client using theregister-api-clientbroker api.Restart the Handler.
sudo systemctl restart dcv-access-console-handler
Handler is unable to connect to the Broker
The Handler needs to connect to the Session Manager Broker on the client-to-broker-connector-https-port of the Broker.
To verify that the Handler can connect to the Broker, run telnet to the Broker host name and the
client-to-broker-connector-https-port (8443 by default) on the host where the Handler is installed.
If you are unable to connect to the host where the Broker is installed, see Networking and connectivity for requirements.
Example of a successful connection:
telnet broker-host 8443 Trying broker-host ip address... Connected to broker-host. Escape character is '^]'. ^] telnet> ^C