<?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 Re: Esri leaflet callback returns http not https in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839137#M241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what happens exactly when you set f:'image' in the dynamicMapLayer constructor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;either way I'll reach out to a few other Esri folks to see if they can help us configure the service to return https urls&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jun 2017 15:18:34 GMT</pubDate>
    <dc:creator>JohnGravois</dc:creator>
    <dc:date>2017-06-12T15:18:34Z</dc:date>
    <item>
      <title>Esri leaflet callback returns http not https</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839134#M238</link>
      <description>&lt;P&gt;* Browser and version:&lt;/P&gt;
&lt;P&gt;Chrome: Version 58.0.3029.110 (64-bit)&lt;/P&gt;
&lt;P&gt;* Version of Leaflet (`L.version`):&lt;/P&gt;
&lt;P&gt;0.7.7&lt;/P&gt;
&lt;P&gt;* Version of esri Leaflet (`L.esri.VERSION`):&lt;/P&gt;
&lt;P&gt;1.0.5&lt;/P&gt;
&lt;P&gt;Steps to reproduce the error:&lt;BR /&gt;&lt;SPAN&gt;url: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fargis.ualr.edu%2FDCFS%2Findex.html" target="_blank" rel="nofollow noopener"&gt;https://argis.ualr.edu/DCFS/index.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;1. load the url, at first it is secured, then it becomes unsecured? when the map is loaded&lt;BR /&gt;2. check out the console&lt;/P&gt;
&lt;P&gt;What happens is .&lt;/P&gt;
&lt;P&gt;When I load a layer from my server 'https' the proxy returns the following, the window._EsriLeafletCallbacks.c0 returns 'http'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;// 20170607154733&lt;BR /&gt;&lt;SPAN&gt;// &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fargis.ualr.edu%2FDotNet%2Fproxy.ashx%3Fhttps%3A%2F%2Fargis.ualr.edu%2Farcgis%2Frest%2Fservices%2FDF%2FMapServer%2Fexport%3Fbbox%3D-10865064.948568093%252C3830412.361426751%252C-9690992.194107786%252C4426009.685824844%26size%3D1920%252C974%26dpi%3D96%26format%3Dpng24%26transparent%3Dtrue%26bboxSR%3D3857%26imageSR%3D3857%26layers%3Dshow%253A8%26callback%3Dwindow._EsriLeafletCallbacks.c0%26f%3Djson" target="_blank" rel="nofollow noopener"&gt;https://argis.ualr.edu/DotNet/proxy.ashx?https://argis.ualr.edu/arcgis/rest/services/DF/MapServer/export?bbox=-10865064.948568093%2C3830412.361426751%2C-9690992.194107786%2C4426009.685824844&amp;amp;size=1920%2C974&amp;amp;dpi=96&amp;amp;format=png24&amp;amp;transparent=true&amp;amp;bboxSR=3857&amp;amp;imageSR=3857&amp;amp;layers=show%3A8&amp;amp;callback=window._EsriLeafletCallbacks.c0&amp;amp;f=json&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;window._EsriLeafletCallbacks.c0({&lt;BR /&gt;&lt;SPAN&gt; "href": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fargis.ualr.edu%2Farcgis%2Frest%2Fdirectories%2Farcgisoutput%2FDF_MapServer%2F_ags_map1fcce4121c054f0880809202d811e1d5.png" target="_blank" rel="nofollow noopener"&gt;http://argis.ualr.edu/arcgis/rest/directories/arcgisoutput/DF_MapServer/_ags_map1fcce4121c054f0880809202d811e1d5.png&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;"width": 1920,&lt;BR /&gt;"height": 974,&lt;BR /&gt;"extent": {&lt;BR /&gt;"xmin": -10865064.948568091,&lt;BR /&gt;"ymin": 3830412.3614267511,&lt;BR /&gt;"xmax": -9690992.194107784,&lt;BR /&gt;"ymax": 4426009.6858248441,&lt;BR /&gt;"spatialReference": {&lt;BR /&gt;"wkid": 102100,&lt;BR /&gt;"latestWkid": 3857&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"scale": 2311162.2171551138&lt;BR /&gt;});&lt;/P&gt;
&lt;P&gt;```&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologize couldn't figure out how to format the code.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:18:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839134#M238</guid>
      <dc:creator>GeoffreyJoseph</dc:creator>
      <dc:date>2023-08-28T13:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Esri leaflet callback returns http not https</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839135#M239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;neither esri leaflet, the proxy, nor the JSONP callback parameter are the cause of the problem you're seeing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://argis.ualr.edu/arcgis/rest/services/DF/MapServer/export?bbox=-10865064.948568093%2C3830412.361426751%2C-9690992.194107786%2C4426009.685824844&amp;amp;size=1920%2C974&amp;amp;dpi=96&amp;amp;format=png24&amp;amp;transparent=true&amp;amp;bboxSR=3857&amp;amp;imageSR=3857&amp;amp;layers=show%3A8&amp;amp;f=json" title="https://argis.ualr.edu/arcgis/rest/services/DF/MapServer/export?bbox=-10865064.948568093%2C3830412.361426751%2C-9690992.194107786%2C4426009.685824844&amp;amp;size=1920%2C974&amp;amp;dpi=96&amp;amp;format=png24&amp;amp;transparent=true&amp;amp;bboxSR=3857&amp;amp;imageSR=3857&amp;amp;layers=show%3A8&amp;amp;f=json"&gt;https://argis.ualr.edu/arcgis/rest/services/DF/MapServer/export?bbox=-10865064.948568093%2C3830412.361426751%2C-9690992.…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as i mentioned in the issue below (which you already replied to), some misconfiguration of ArcGIS Server is causing it to return `https` urls in its map service export operation JSON payloads instead of preserving the protocol of the initial request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://github.com/Esri/esri-leaflet/issues/955#issuecomment-307445374" title="https://github.com/Esri/esri-leaflet/issues/955#issuecomment-307445374"&gt;https://github.com/Esri/esri-leaflet/issues/955#issuecomment-307445374&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;were you able to workaround the problem by asking for a raw image?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jun 2017 17:42:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839135#M239</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2017-06-11T17:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Esri leaflet callback returns http not https</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839136#M240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: small;"&gt;No I wasn't able to resolve it with the workaround, reached out to the guy in the thread you are referencing, but no luck.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;If it is the server config, any idea of things should I look for? I do not do the server admin but I can pass along any suggestions.&lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #222222; font-size: small;"&gt;On a related note... On the same server I have a L.markerClusterGroup layer that does not cause the mixed content warning. Strange...&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jun 2017 18:41:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839136#M240</guid>
      <dc:creator>GeoffreyJoseph</dc:creator>
      <dc:date>2017-06-11T18:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Esri leaflet callback returns http not https</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839137#M241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what happens exactly when you set f:'image' in the dynamicMapLayer constructor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;either way I'll reach out to a few other Esri folks to see if they can help us configure the service to return https urls&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 15:18:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839137#M241</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2017-06-12T15:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Esri leaflet callback returns http not https</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839138#M242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same thing essentially. Everything looks good until the image is requested, then I get the warning about insecure content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set up a test here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://argis.ualr.edu/DCFS/" title="https://argis.ualr.edu/DCFS/"&gt;https://argis.ualr.edu/sectest/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 15:50:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839138#M242</guid>
      <dc:creator>GeoffreyJoseph</dc:creator>
      <dc:date>2017-06-12T15:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Esri leaflet callback returns http not https</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839139#M243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry about that. i forgot that specifying a proxy overrides that option...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://github.com/Esri/esri-leaflet/blob/v1.0.5/src/Layers/DynamicMapLayer.js#L17" title="https://github.com/Esri/esri-leaflet/blob/v1.0.5/src/Layers/DynamicMapLayer.js#L17"&gt;https://github.com/Esri/esri-leaflet/blob/v1.0.5/src/Layers/DynamicMapLayer.js#L17&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why exactly &lt;EM&gt;are&lt;/EM&gt; you proxying a service thats visible publicly? is this just a repro case to demonstrate the problem you're seeing with a different secure service?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 16:03:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839139#M243</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2017-06-12T16:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Esri leaflet callback returns http not https</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839140#M244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it is a repro, the issue is actually arising on a secure service that is not visible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 16:50:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839140#M244</guid>
      <dc:creator>GeoffreyJoseph</dc:creator>
      <dc:date>2017-06-12T16:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Esri leaflet callback returns http not https</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839141#M245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm a bit out of my depth here, but internal research has pointed me to something that seems relevant.&lt;BR /&gt;&lt;BR /&gt;"WebContextURL" in the ArcGIS Server&amp;nbsp;Admin API should allow for forcing href urls to match whatever is specified there.&amp;nbsp;One caveat is that the server will apply the webContextUrl only if it determines the request to be made via a proxy since such requests have X-FORWARDED-FOR or X-FORWARDED-HOST request headers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one case I found, a customer decided to bypass their web adaptor entirely and point a load balancer directly at the GIS Server on port 6080 to resolve the problem.&lt;BR /&gt;&lt;BR /&gt;to be frank, ArcGIS Server architectures can get pretty gnarly and I'm just pointing you at a little doc and regurgitating internal notes. i'd highly recommend logging your own support call and referencing the rejected bug &lt;SPAN&gt;NIM091395 in order to receive assistance from someone on our team in diagnosing where your own problem lies.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Jun 2017 16:39:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839141#M245</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2017-06-18T16:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Esri leaflet callback returns http not https</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839142#M246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your research and pointing me in the right&lt;/P&gt;&lt;P&gt;direction. I will open a ticket with ESRI and post any solutions that arise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 14:12:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esri-leaflet-callback-returns-http-not-https/m-p/839142#M246</guid>
      <dc:creator>GeoffreyJoseph</dc:creator>
      <dc:date>2017-06-19T14:12:52Z</dc:date>
    </item>
  </channel>
</rss>

