Problem: Unable to connect to a stream service in ArcGIS Server
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"
Error: "Cannot reconnect to service"
Solution or Workaround
Use one of the following four solutions to solve this issue.
- Install a valid (not self-signed) certificate in ArcGIS Server. This allows the client to form an encrypted connection.
- Set the Server Security Configuration to HTTP only. This causes the client to form an unencrypted connection since no encrypted WebSocket endpoint is available.
- Install the ArcGIS Server self-signed certificate in all client browsers that must consume the stream service. This allows the client to form an encrypted connection because it recognizes the certificate from the server.
Warning: Care should be taken to ensure that this is tested properly in a development environment before deploying to a production environment.