Unable to retrieve the travel modes for a network analysis layer from the ArcGIS REST Services Directory when the Portal for ArcGIS travel mode capability is enabled in ArcGIS Server.
上次发布: July 29, 2022Portal for ArcGIS
漏洞 ID 编号
BUG-000149580
已提交
May 27, 2022
上次修改时间
June 5, 2024
适用范围
Portal for ArcGIS
找到的版本
10.9.1
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
When Portal Travel Modes is turned on in a Network Analysis enabled map service, the retrieveTravelModes operation ends up calling GetTravelModes which tries to get travel modes from the portal. Since the anonymous access to the portal is disabled, GetTravelModes is not able to retrieve travel modes from the portal without a token.
To get this working, here are a few things to do:
1. Share the NetworkAnalysis Map Image Layer and the NetworkAnalysis Network Analysis Service in your content publicly.
2. Share the NetworkAnalysisUtilities tool in your content publicly.
3. Enable "Anomymous access to the portal"