The Web Socket URL on a Stream Service on an Amazon EC2 machine always assumes the internal IP address of the machine. Clients accessing the Stream service from outside of the EC2 machine are unable to start or subscribe to the Stream Service.
上次发布: September 30, 2016ArcGIS for Server
漏洞 ID 编号
BUG-000089537
已提交
July 31, 2015
上次修改时间
June 5, 2024
适用范围
ArcGIS for Server
找到的版本
10.3.1
操作系统
Windows OS
操作系统版本
N/A
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
The workaround in this case is the correct way to do this, by providing the WebSocketContextURL value.
解决办法
External clients cannot resolve the internal (private) IP address of the server. They have to reach the server through a public IP … 50.21.184.92 for example.So you would need to specify, to ArcGIS Server, that the correct Web Socket Context URL to use is:{"WebSocketContextURL": "ws://50.21.184.92:6180"}You do not need to restart ArcGIS for Server to affect a change in the Web Socket Context URL. If you walk through steps 1, 2, and 3 above – you should see the change reflected in the stream service REST specification page if you refresh the page.