Problem:  Unable to connect to a stream service in ArcGIS Server

相关信息
Article ID: 44499
Bug Id: N/A
Software:
ArcGIS for Server 10.3, 10.3.1
Platforms: N/A

问题描述
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 error message, "You have unsubscribed" displays.

• If a user clicks the "View in ArcGIS JavaScript" link in a stream service's REST page, the error message, "Cannot reconnect to service" displays.

原因
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.


  1. Install a valid (not self-signed) certificate in ArcGIS Server. This allows the client to form an encrypted connection.
  2. Set the Server Security Configuration to "HTTP only". This causes the client to form an unencrypted connection since no encrypted WebSocket endpoint is available.
  3. 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.
  4. Update the JavaScript API used by the server to version 3.12 or later and access the stream service from a non-encrypted (HTTP) REST endpoint. This forms an unencrypted WebSocket connection.


创建及修改时间
Created: 4/16/2015 Last Modified: 4/20/2015
原文链接
http://support.esri.com/en/kno ... 44499

要回复问题请先登录注册