<?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 esri.config.defaults.io.proxyUrl is not set. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-config-defaults-io-proxyurl-is-not-set/m-p/482624#M44930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am getting this error when I try to connect to a secured service. Here is the scenario. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS for Server is behind our corporate firewall.&amp;nbsp; Access to this server from outside the firewall is over https.&amp;nbsp; IP traffic from the firewall/proxy to the server is http.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From my local developer machine, I added a dynamic layer -- &lt;/SPAN&gt;&lt;A href="http://internalservername/arcgis/rest/services/test/mapserver"&gt;http://internalservername/arcgis/rest/services/test/mapserver&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; When I view the site using FireFox, the IdentityManager appears as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Now I added a second dynamic layer -- &lt;/SPAN&gt;&lt;A href="https://externalservername.com/arcgis/rest/services/test/mapserver"&gt;https://externalservername.com/arcgis/rest/services/test/mapserver&lt;/A&gt;&lt;SPAN&gt;, pointing to the same exact service, on the same server.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I refresh the browser, I am challenged twice, as expected.&amp;nbsp; Note:&amp;nbsp; I used the esri.ServerInfo() class because the URL for accessing the tokens from outside the firewall was &lt;/SPAN&gt;&lt;A href="http://externalservername.com/arcgis/tokens"&gt;http://externalservername.com/arcgis/tokens&lt;/A&gt;&lt;SPAN&gt; and it should really be &lt;/SPAN&gt;&lt;A href="https://externalservername.com/arcgis/tokens"&gt;https://externalservername.com/arcgis/tokens&lt;/A&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, all is working until I remove the first layer, &lt;/SPAN&gt;&lt;A href="http://internalservername/arcgis/rest/services/test/mapserver"&gt;http://internalservername/arcgis/rest/services/test/mapserver&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I load the page, I am seeing two errors: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.io.script.error Error: Token Requird&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.config.defaults.io.proxyurl is not set&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jason&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Apr 2013 17:12:47 GMT</pubDate>
    <dc:creator>JasonCleaver</dc:creator>
    <dc:date>2013-04-12T17:12:47Z</dc:date>
    <item>
      <title>esri.config.defaults.io.proxyUrl is not set.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-config-defaults-io-proxyurl-is-not-set/m-p/482624#M44930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am getting this error when I try to connect to a secured service. Here is the scenario. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS for Server is behind our corporate firewall.&amp;nbsp; Access to this server from outside the firewall is over https.&amp;nbsp; IP traffic from the firewall/proxy to the server is http.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From my local developer machine, I added a dynamic layer -- &lt;/SPAN&gt;&lt;A href="http://internalservername/arcgis/rest/services/test/mapserver"&gt;http://internalservername/arcgis/rest/services/test/mapserver&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; When I view the site using FireFox, the IdentityManager appears as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Now I added a second dynamic layer -- &lt;/SPAN&gt;&lt;A href="https://externalservername.com/arcgis/rest/services/test/mapserver"&gt;https://externalservername.com/arcgis/rest/services/test/mapserver&lt;/A&gt;&lt;SPAN&gt;, pointing to the same exact service, on the same server.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I refresh the browser, I am challenged twice, as expected.&amp;nbsp; Note:&amp;nbsp; I used the esri.ServerInfo() class because the URL for accessing the tokens from outside the firewall was &lt;/SPAN&gt;&lt;A href="http://externalservername.com/arcgis/tokens"&gt;http://externalservername.com/arcgis/tokens&lt;/A&gt;&lt;SPAN&gt; and it should really be &lt;/SPAN&gt;&lt;A href="https://externalservername.com/arcgis/tokens"&gt;https://externalservername.com/arcgis/tokens&lt;/A&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, all is working until I remove the first layer, &lt;/SPAN&gt;&lt;A href="http://internalservername/arcgis/rest/services/test/mapserver"&gt;http://internalservername/arcgis/rest/services/test/mapserver&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I load the page, I am seeing two errors: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.io.script.error Error: Token Requird&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.config.defaults.io.proxyurl is not set&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jason&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 17:12:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-config-defaults-io-proxyurl-is-not-set/m-p/482624#M44930</guid>
      <dc:creator>JasonCleaver</dc:creator>
      <dc:date>2013-04-12T17:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: esri.config.defaults.io.proxyUrl is not set.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-config-defaults-io-proxyurl-is-not-set/m-p/482625#M44931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sounds like you&amp;nbsp; need to setup a proxy. Instructions on how to do so can be found here: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/ags_proxy.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/ags_proxy.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once the proxy is working set the &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.config.defaults.io.proxyurl to the url of the proxy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 21:37:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-config-defaults-io-proxyurl-is-not-set/m-p/482625#M44931</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2013-04-12T21:37:56Z</dc:date>
    </item>
  </channel>
</rss>

