AnsweredAssumed Answered

Problems using proxy with WAB

Question asked by rdbutger on Nov 19, 2017
Latest reply on Dec 5, 2017 by rscheitlin

Have followed the tutorials and troubleshooting within the forum, and can't figure it out.

 

Scenario is .NET proxy on http-only host. 

 

http:// myserver.com/proxy/proxy.ashx?ping

  • { "Proxy Version": "1.1.2", "Configuration File": "OK", "Log File": "Not Exist/Readable"}

 

http:// myserver.com/proxy/proxy.ashx?https://services1.arcgis.com/xxxxxxxxxx/arcgis/rest/services/xxxxxxxxxx/FeatureServer/0?f=pjson&token=xxxxxxxxxxxxxxxx

  • displays JSON just fine

 

http:// myserver.com/proxy/proxy.ashx?http://xxxxxx.maps.arcgis.com

  • displays a blank white screen 

http:// myserver.com/proxy/proxy.ashx?http:// myserver.com/wab

  • displays a blank white screen 

 

Proxy.config --

 

<?xml version="1.0" encoding="utf-8" ?>
<ProxyConfig allowedReferers="*"
         mustMatch="true">
<serverUrls>
<serverUrl url="http://services.arcgisonline.com"
      matchAll="true"/>
<serverUrl url="http://services1.arcgisonline.com"
      matchAll="true"/>
<serverUrl url="https://xxxxxx.maps.arcgis.com"
      clientId="xxxxxxxxxxx"
      clientSecret="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
matchAll="true"/>
</serverUrls>
</ProxyConfig>

 

Ultimate goal is to have .NET ASP web application hosted on myserver.com from which authenticated users click links to open web application building mapping app -- which can be hosted in ArcGIS Online or locally on same server. 

Outcomes