<?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 Error SSL when adding proxy .Net in arcgis api js in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-ssl-when-adding-proxy-net-in-arcgis-api-js/m-p/1153554#M76649</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Actually Im working to integrate a proxy with .Net, and I have followed some examples on how to do that. but unfortunately I am not able to figure it out.&lt;/P&gt;&lt;P&gt;so I will explain what I have did:&lt;/P&gt;&lt;P&gt;1- I have downloaded the .Net proxy folder from the internet and have host it on my IIS, so I have test it and all looks OK&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="benchikh_0-1647290158629.png" style="width: 604px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36298i5DC63C13EDC09570/image-dimensions/604x80?v=v2" width="604" height="80" role="button" title="benchikh_0-1647290158629.png" alt="benchikh_0-1647290158629.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2- next, I have updated my proxy.config file as below&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR /&gt;&amp;lt;ProxyConfig allowedReferers="*"&lt;BR /&gt;mustMatch="true"&amp;gt;&lt;BR /&gt;&amp;lt;serverUrls&amp;gt;&lt;BR /&gt;&amp;lt;serverUrl url="&lt;A href="https://domaine.ma/arcgis2/rest/services/JOUR/FeatureServer/" target="_blank" rel="noopener"&gt;https://domaine.ma/arcgis2/rest/services/JOUR/FeatureServer/&lt;/A&gt;"&lt;BR /&gt;matchAll="true"/&amp;gt;&lt;BR /&gt;&amp;lt;/serverUrls&amp;gt;&lt;BR /&gt;&amp;lt;/ProxyConfig&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;3 - finally, I have added on my index js page the following code&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;urlUtils.addProxyRule({&lt;BR /&gt;urlPrefix: "&lt;A href="https://domaine.ma/arcgis2" target="_blank" rel="noopener"&gt;https://domaine.ma/arcgis2&lt;/A&gt;/",&lt;BR /&gt;proxyUrl: "/ingPro/proxy.ashx"&lt;BR /&gt;});&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;so when I call my service, I got the below error&lt;/P&gt;&lt;OL class=""&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;code&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;500&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;message&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;"La connexion sous-jacente a été fermée&amp;nbsp;: Impossible d'établir une relation de confiance pour le canal sécurisé &lt;STRONG&gt;SSL/TLS.&lt;/STRONG&gt; &lt;A href="https://domaine.ma/arcgis2/rest/services/JOUR/FeatureServer/0?f=json&amp;quot;" target="_blank" rel="noopener"&gt;https://domaine.ma/arcgis2/rest/services/JOUR/FeatureServer/0?f=json"&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;So could you please help me with the above error ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Many thanks in advance&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Mar 2022 21:04:03 GMT</pubDate>
    <dc:creator>benchikh</dc:creator>
    <dc:date>2022-03-14T21:04:03Z</dc:date>
    <item>
      <title>Error SSL when adding proxy .Net in arcgis api js</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-ssl-when-adding-proxy-net-in-arcgis-api-js/m-p/1153554#M76649</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Actually Im working to integrate a proxy with .Net, and I have followed some examples on how to do that. but unfortunately I am not able to figure it out.&lt;/P&gt;&lt;P&gt;so I will explain what I have did:&lt;/P&gt;&lt;P&gt;1- I have downloaded the .Net proxy folder from the internet and have host it on my IIS, so I have test it and all looks OK&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="benchikh_0-1647290158629.png" style="width: 604px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36298i5DC63C13EDC09570/image-dimensions/604x80?v=v2" width="604" height="80" role="button" title="benchikh_0-1647290158629.png" alt="benchikh_0-1647290158629.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2- next, I have updated my proxy.config file as below&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR /&gt;&amp;lt;ProxyConfig allowedReferers="*"&lt;BR /&gt;mustMatch="true"&amp;gt;&lt;BR /&gt;&amp;lt;serverUrls&amp;gt;&lt;BR /&gt;&amp;lt;serverUrl url="&lt;A href="https://domaine.ma/arcgis2/rest/services/JOUR/FeatureServer/" target="_blank" rel="noopener"&gt;https://domaine.ma/arcgis2/rest/services/JOUR/FeatureServer/&lt;/A&gt;"&lt;BR /&gt;matchAll="true"/&amp;gt;&lt;BR /&gt;&amp;lt;/serverUrls&amp;gt;&lt;BR /&gt;&amp;lt;/ProxyConfig&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;3 - finally, I have added on my index js page the following code&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;urlUtils.addProxyRule({&lt;BR /&gt;urlPrefix: "&lt;A href="https://domaine.ma/arcgis2" target="_blank" rel="noopener"&gt;https://domaine.ma/arcgis2&lt;/A&gt;/",&lt;BR /&gt;proxyUrl: "/ingPro/proxy.ashx"&lt;BR /&gt;});&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;so when I call my service, I got the below error&lt;/P&gt;&lt;OL class=""&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;code&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;500&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;message&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;"La connexion sous-jacente a été fermée&amp;nbsp;: Impossible d'établir une relation de confiance pour le canal sécurisé &lt;STRONG&gt;SSL/TLS.&lt;/STRONG&gt; &lt;A href="https://domaine.ma/arcgis2/rest/services/JOUR/FeatureServer/0?f=json&amp;quot;" target="_blank" rel="noopener"&gt;https://domaine.ma/arcgis2/rest/services/JOUR/FeatureServer/0?f=json"&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;So could you please help me with the above error ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Many thanks in advance&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 21:04:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-ssl-when-adding-proxy-net-in-arcgis-api-js/m-p/1153554#M76649</guid>
      <dc:creator>benchikh</dc:creator>
      <dc:date>2022-03-14T21:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error SSL when adding proxy .Net in arcgis api js</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-ssl-when-adding-proxy-net-in-arcgis-api-js/m-p/1156214#M76741</link>
      <description>&lt;P&gt;I don't think we promote using the Esri proxy anymore, but it looks like since you're calling from localhost over http, and the resources are accessible via https, that's the issue. If the app was hosted over https, then that might resolve the error.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 16:34:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-ssl-when-adding-proxy-net-in-arcgis-api-js/m-p/1156214#M76741</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-03-22T16:34:21Z</dc:date>
    </item>
  </channel>
</rss>

