DotNet proxy

1647
3
04-25-2019 03:23 PM
WarrenMedernach
Occasional Contributor III

Hello,

I'm configuring a new instance of ArcGIS Enterprise on Azure where the ArcGIS Server and Portal are on different web adaptors, and the portal is configured for Active Directory (AD) authentication. I have also manually created a non AD user (User1) in Portal and it is this user that I'm attempting to login as through the proxy.

So far I have:

  • installed the DotNet proxy files and created the Application in IIS
  • setup the the serverURL details in the proxy.config file to use User1 for the proxy
  • the following proxy URLs test successfully:
    https://<my-server>/DotNet/proxy.ashx?https://my-server/portal/sharing/rest/content/items/<some webmap item>
    https://<my-server>/DotNet/proxy.ashx?https://my-server/portal/sharing/rest/content/items/<some web app item>
    https://<my-server>/DotNet/proxy.ashx?https://my-server/arcgis/rest/services/<some folder name>


With these URLs testing successfully, I'm assuming the proxy is working, but if I try to hit the web app it continues to bring up the login page

Any ideas/suggestions would be greatly appreciated.

0 Kudos
3 Replies
BirajaNayak
Esri Contributor

In login page, you have information of layer or web map for which you need to login to access. Please check that url on your browser and also check whether that url is covered in your proxy.config file.

Or you go to developer tool , in network tab you may find url which is failing to get access and need to go through proxy. 

Thanks,

Biraja

0 Kudos
WarrenMedernach
Occasional Contributor III

Thanks for the response Biraja, but I'm not understanding what you are trying to say.

In the original post I indicated the 3 items identified in the proxy: web app, web map, and the server folder that contains content. 

As I said above, when I test these URLs the proxy returns the content successfully.  At least I believe the test returning this page means it was successful?

In the developer tools, the network monitor returns the following:

Thanks.

0 Kudos
BirajaNayak
Esri Contributor

Thanks Warren. Request header does not contain proxy information and may not going through proxy. Here is the example from my sample secure layer going through proxy:

Can you confirm your proxy queries.

Here is the blog post for proxy set up for your reference and also you can validate your steps again to make sure you are not missing anything:

https://community.esri.com/groups/technical-support/blog/2015/04/07/setting-up-a-proxy

Also at this point, I recommend to contact Esri Support Services to troubleshoot Proxy configuration issue.

Thanks,

Biraja

0 Kudos