Unable to load proxy.ashx - Follow me (Geolocation API)
Hi,
I am having an issue with the "Follow me" functionality, when I click on "followme" - it's throwing the following error :
"There was an error projecting geolocation: Unable to load proxy.ashx?http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/Geometry/GeometryServer/project status: 500"
Please provide your inputs on it.
Thanks
Srikanth
-
Not sure if this will help but there was an article on GeoNet regarding a similar problem.
https://geonet.esri.com/thread/12366
I hope this helps.
Tom
0 -
Hi Tom,
I tried the link that you have given.
Now, I am getting the following message :
There was an error projecting geolocation: Unable to load proxy.ashx?http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/Geometry/GeometryServer/project status: 403
Previously, it was 500 error, now it's 403 error.
Thanks
Srikanth
0 -
Hi Srikanth -
Here's a response taken from GeoNet (not my own)
~~a 403 is telling you that your current proxy security settings don't allow you to forward traffic from that specific address. while developing it is safe to set the global "mustMatch" tag in proxy.config to false so that any page is forwarded, but on a live public site, you would want to set the value back to false and ensure that all servers which need to be communicated with are listed explicitly.
<ProxyConfig mustMatch="false">
<serverUrl url="http://TestServer:6080/arcgis/rest/services/"
matchAll="true">
</serverUrl>Again, I hope this helps
Tom
0 -
Hi Tom,
Thanks for providing the information that I can try at my end.
But, now when I did setup <ProxyConfig mustMatch="false"> - I am again getting 500 error.
Any thoughts on it?
Thanks
Srikanth
0 -
remove the proxy.ashx in the 'Proxy URI' under the 'Application' tab in the viewer. that solved the issue on my end. 0
Please sign in to leave a comment.
Comments
5 comments