Hoppa till huvudinnehållet

How to prevent a service request from being requested through proxy.ashx

Kommentarer

2 kommentarer

  • Permanently deleted user
    For anyone else experiencing this issue, Lance has resolved this by -

     

    In the ArcGIS Server Admin site, if you navigate to the page where the Rest endpoint is en/disabled, there is also an *Allowed Origins* field. Presumably Portal set the values in there as we never did, but in any case, it was missing the client alias.  As soon as we entered it, the traces are no longer proxied and complete as expected.
    0
  • Permanently deleted user
    Correct - to be more specific, the page in the ArcGIS Server Admin is located at System -> Handlers -> Rest -> Services Directory. Click edit if you don't see your alias in the Allowed Origins listing and add the fully qualified url that your users are accessing your viewer from. Once we did that, the requests to our SOE were no longer proxied and completed just fine.

     

    In our case, the internal domain names were already included in the Allowed Origins - I'm guessing either Portal or the Post Installer added those entries but that is just speculation, I'm not sure. In any case having, the alias in Allowed Origins cleared up our issue.
    0

Du måste logga in om du vill lämna en kommentar.