Zum Hauptinhalt gehen

Kommentare

5 Kommentare

  • Permanently deleted user

    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
  • Srikanth Pilli

    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
  • Permanently deleted user

    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
  • Srikanth Pilli

    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
  • Permanently deleted user
    remove the proxy.ashx in the 'Proxy URI' under the 'Application' tab in the viewer.  that solved the issue on my end.
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.