<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS Proxy .NET error 500 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-proxy-net-error-500/m-p/686719#M63914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi at all.&lt;/P&gt;&lt;P&gt;I have develop a custom JS application and i'm using a proxy to read the basemap arcgis online.&lt;/P&gt;&lt;P&gt;For this i have configured the proxy.config in this way:&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ProxyConfig allowedReferers="*"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mustMatch="true"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices.arcgisonline.com%2Farcgis%2Frest" rel="nofollow" target="_blank"&gt;https://services.arcgisonline.com/arcgis/rest&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ProxyConfig&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the proxy give me this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{error: {code: 500,message:"Unable to connect to the remote server &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FWorld_Imagery%2FMapServer%2Ftilemap%2F6%2F16%2F32%2F8%2F8%26callback%3Ddojo.io.script.jsonp_dojoIoScript1._jsonpCallback" rel="nofollow" target="_blank"&gt;https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tilemap/6/16/32/8/8&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback&lt;/A&gt;&lt;SPAN&gt;"}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the proxy request is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://localhost/DotNet/proxy.ashx?http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tilemap/6/16/32/8/8&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback" title="https://localhost/DotNet/proxy.ashx?http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tilemap/6/16/32/8/8&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback"&gt;https://localhost/DotNet/proxy.ashx?http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tilema…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Apr 2016 13:11:45 GMT</pubDate>
    <dc:creator>DEVAPP</dc:creator>
    <dc:date>2016-04-22T13:11:45Z</dc:date>
    <item>
      <title>ArcGIS Proxy .NET error 500</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-proxy-net-error-500/m-p/686719#M63914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi at all.&lt;/P&gt;&lt;P&gt;I have develop a custom JS application and i'm using a proxy to read the basemap arcgis online.&lt;/P&gt;&lt;P&gt;For this i have configured the proxy.config in this way:&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ProxyConfig allowedReferers="*"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mustMatch="true"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices.arcgisonline.com%2Farcgis%2Frest" rel="nofollow" target="_blank"&gt;https://services.arcgisonline.com/arcgis/rest&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ProxyConfig&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the proxy give me this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{error: {code: 500,message:"Unable to connect to the remote server &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FWorld_Imagery%2FMapServer%2Ftilemap%2F6%2F16%2F32%2F8%2F8%26callback%3Ddojo.io.script.jsonp_dojoIoScript1._jsonpCallback" rel="nofollow" target="_blank"&gt;https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tilemap/6/16/32/8/8&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback&lt;/A&gt;&lt;SPAN&gt;"}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the proxy request is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://localhost/DotNet/proxy.ashx?http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tilemap/6/16/32/8/8&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback" title="https://localhost/DotNet/proxy.ashx?http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tilemap/6/16/32/8/8&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback"&gt;https://localhost/DotNet/proxy.ashx?http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tilema…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 13:11:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-proxy-net-error-500/m-p/686719#M63914</guid>
      <dc:creator>DEVAPP</dc:creator>
      <dc:date>2016-04-22T13:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Proxy .NET error 500</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-proxy-net-error-500/m-p/686720#M63915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dev App,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; You have &lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices.arcgisonline.com%2Farcgis%2Frest" rel="nofollow" style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #287433;" target="_blank"&gt;https://services.arcgisonline.com/arcgis/rest&lt;/A&gt;​ in you proxy.config and then you are making a &lt;A href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer" title="http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are different protocols and thus not considered the same. Don't mix your protocols&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this is the serverUrl I use:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fservices.arcgisonline.com" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to be specific with your url that is what the matchAll property is for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 13:26:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-proxy-net-error-500/m-p/686720#M63915</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-22T13:26:32Z</dc:date>
    </item>
  </channel>
</rss>

