HTML 5 Viewer - Remote Connection Error!
Problem
You are trying to establish remote connection using HTML 5 Viewer and you get the message "HTML 5 Viewer remote connection error".
Cause
This could be due to one the following reasons:
- Unable to start remote control gateway
- Unable to start web socket Server, since the port is already in use
- Web socket port has been blocked by the firewall
Unable to start remote control gateway
The ports that you have configured for remote control gateway is being used by some other process. You will have to either kill the process, that is using the gateway ports or modify the ports that has been configured for remote control gateway. Follow the steps mentioned below to modify the port number.
- Navigate to Admin > Tools Settings > Port Settings.
- Under Port settings modify the gateway port numbers
- Click Save to store the changes.
Unable to start web socket Server, since the port is already in use
You can establish remote connection using Java Viewer or active X, even if the specified ports are blocked/used. If you wanted to use HTML 5 Viewer then, you will have to follow the steps mentioned in this section.
The ports that you have configured for HTML 5 Viewer is being used by some other process. You will have to either kill the process, that is using the gateway ports or modify the ports that has been configured for remote control gateway. Follow the steps mentioned below to modify the port number.
- Navigate to Admin > Tools Settings > Port Settings.
- Under Port settings modify the HTML 5 Viewer port numbers. You can modify either HTTP or HTTPS port based on your requirement.
- Click Save to store the changes.
Web socket port has been blocked by the firewall
The ports that you have configured for remote control (HTML 5 Viewer) is being blocked in the firewall, on the computer where the Endpoint Central server is installed. You will have to either modify the firewall restrictions or disable the windows firewall to allow all inbound/outbound connections. You can view the ports that are configured, by navigating to the following location.
- Navigate to Admin > Tools Settings > Port Settings.
- Under Port settings, you can view the ports that are configured for HTML 5 Viewer.
- The ports that you have configured for HTML 5 Viewer (HTTP/HTTPS) should be reachable from the viewer machine.
- The gateway port should be reachable from the agent machine.
- If you are trying to establish remote connection with a Mac computer, then Java plugin should be installed on it and non SSL gateway port should be reachable from the agent machine.
Troubleshooting HTML5 Viewer Connection Issues
If a remote connection fails while using HTML5 Viewer, refer to the following scenarios and resolutions.
HTML5 Viewer Keeps Loading or Displays a Web Socket Connection Failure
A stale browser session after a server or service-pack update may cause HTML5 Viewer to keep loading or display a Web Socket Connection failure error.
Try establishing the remote session in another browser or an Incognito/private window. If the connection succeeds, clear the cache and cookies in the original browser, sign in again, and retry.
Remote Control Component Prompt Appears in HTML5 Viewer
If the Install Remote Control Component prompt appears while HTML5 Viewer is selected, follow these steps:
- Navigate to Tools > Remote Control > Devices.
- Change the Viewer to Active X.
- Switch back to HTML5 Viewer.
- Click Connect to initiate a new remote session.
Remote Connection Fails After a Secure Gateway Server Update
After upgrading or reconfiguring the Secure Gateway Server, verify the NAT Settings and gateway configuration, including the public FQDN and port 443. If communication is healthy but Remote Control continues to fail, restart the Secure Gateway Server service and retry.
Internet Agent Cannot Connect to the Remote Control Service
The error desktopcentral.webclient.tools.remotecontrol.connection_failed_eventlog may occur when an internet or work-from-home agent cannot reach the Central Server.
Configure a reachable public Central Server FQDN with the required ports or use a Secure Gateway Server. Verify the NAT and gateway settings before retrying the connection.
Linux or Mac Viewer Remains on the Loading Screen After a Build Update
For build-specific issues involving AssistProtocolHandler, contact Support to obtain the applicable AssistProtocolHandler.js file.
- On the Central Server, navigate to <server-installed-path>/UEMS_CentralServer/webapps/DesktopCentral/js/rds/newviewer.
- Back up the existing AssistProtocolHandler.js file.
- Replace it with the file provided by Support.
- Clear the browser cache or retry the connection in an Incognito/private window.
Apply the AssistProtocolHandler.js workaround only after Support confirms that it is applicable to the installed build.