<?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 HTTP map service from app hosted via HTTPS: blocked loading mixed active content in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/http-map-service-from-app-hosted-via-https-blocked/m-p/682573#M63555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a web app hosted via HTTPS that is trying to load basemaps (or cached map services from a Data Appliance) from a different ArcGIS Server that does not have SSL enabled (and which I don't control).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought tile images were inactive content and I would not be getting "&lt;STRONG&gt;Blocked loading mixed active content&lt;/STRONG&gt; ..." errors in my app, but I am getting that error on load due to an apparent API query of the map service!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can that query ("&lt;STRONG&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;/arcgis/rest/services/World_Topo_Map/MapServer/f=json&lt;/SPAN&gt;&lt;/STRONG&gt;") be disabled or mitigated somehow?&amp;nbsp; It is unlikely I can influence the server admins to enable SSL, so using HTTPS is not an option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jan 2015 21:57:27 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2015-01-13T21:57:27Z</dc:date>
    <item>
      <title>HTTP map service from app hosted via HTTPS: blocked loading mixed active content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/http-map-service-from-app-hosted-via-https-blocked/m-p/682573#M63555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a web app hosted via HTTPS that is trying to load basemaps (or cached map services from a Data Appliance) from a different ArcGIS Server that does not have SSL enabled (and which I don't control).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought tile images were inactive content and I would not be getting "&lt;STRONG&gt;Blocked loading mixed active content&lt;/STRONG&gt; ..." errors in my app, but I am getting that error on load due to an apparent API query of the map service!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can that query ("&lt;STRONG&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;/arcgis/rest/services/World_Topo_Map/MapServer/f=json&lt;/SPAN&gt;&lt;/STRONG&gt;") be disabled or mitigated somehow?&amp;nbsp; It is unlikely I can influence the server admins to enable SSL, so using HTTPS is not an option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 21:57:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/http-map-service-from-app-hosted-via-https-blocked/m-p/682573#M63555</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-01-13T21:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP map service from app hosted via HTTPS: blocked loading mixed active content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/http-map-service-from-app-hosted-via-https-blocked/m-p/682574#M63556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a browser restriction; you cannot make an unsecured request from a secured page in most (if not all) modern browsers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can bypass this issue by using a proxy (see link below) hosted on your secure server, however this defeats the purpose of having a secured application and is therefore not suggested. Whenever you add non secure content to a secured page, the page becomes unsecured for all intents and purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, the only other option is to remove SSL from your site or not use that service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jshelp/ags_proxy.html" title="https://developers.arcgis.com/javascript/jshelp/ags_proxy.html"&gt;Using the proxy | Guide | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 18:37:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/http-map-service-from-app-hosted-via-https-blocked/m-p/682574#M63556</guid>
      <dc:creator>DavidBlanchard</dc:creator>
      <dc:date>2015-01-14T18:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP map service from app hosted via HTTPS: blocked loading mixed active content</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/http-map-service-from-app-hosted-via-https-blocked/m-p/682575#M63557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am very familiar with the security issue (unfortunately).&amp;nbsp; My question was about preventing the API from launching a query (i.e. &lt;EM&gt;active content) &lt;/EM&gt;against a map service only used for basemap image tiles.&amp;nbsp; Image tiles are &lt;EM&gt;inactive&lt;/EM&gt; content, so I assumed the &lt;EM&gt;mixed active content&lt;/EM&gt; security violation would not come up.&amp;nbsp; But it does come up because of those map service queries that I wasn't expecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luckily the esri/layers/WebTiledLayer class is does not launch any queries against the map service, so I am going to switch to that layer type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 21:07:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/http-map-service-from-app-hosted-via-https-blocked/m-p/682575#M63557</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-01-14T21:07:44Z</dc:date>
    </item>
  </channel>
</rss>

