PROBLEM
In some cases, browsers cannot connect to a stream service in ArcGIS Server 10.3 or 10.3.1. This manifests in two ways:
If a user attempts to connect from a stream service's 'subscribe' page, the following error message is returned:
Error: "You have unsubscribed"
If a user clicks the 'View in ArcGIS JavaScript' link in a stream service's REST page, the following error message is returned:
Error: "Cannot reconnect to service"
ArcGIS Server 10.3 and 10.3.1 are configured to use ArcGIS JavaScript API version 3.11. The stream layer in this version always attempts to use a secure WebSocket connection, if available. Forming this secure connection requires the installation of a valid server certificate. If this certificate is not installed, the client rejects the suspicious server certificate and fails to connect.
Use one of the following four solutions to solve this issue.
Note: Details described in the following Esri Knowledge Base article can be used to update the references required for older versions of ArcGIS Server with newer versions of the JS API: How To: Install the JavaScript API for use with ArcGIS for Server
Warning: Care should be taken to ensure that this is tested properly in a development environment before deploying to a production environment.
Article ID: 000012458
Get help from ArcGIS experts
Download the Esri Support App