<?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: HTTPS 500 Error Forward Proxy in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/https-500-error-forward-proxy/m-p/467464#M6521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it sounds like you are using a forward proxy with Portal and from what you mentioned your forward proxy requires authentication for outbound requests to succeed.&amp;nbsp; This can cause issues when the Portal service attempts to make a request to an external resource.&amp;nbsp; This request may be getting block by the proxy due to the lack of credentials.&amp;nbsp; You may need to add&amp;nbsp;the properties like the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;CODE&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpProxyHost": "forwardproxy.domain.com",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpsProxyHost": "forwardproxy.domain.com",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpProxyPort": 80,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpsProxyPort": 443,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpsProxyUser": "username",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpsProxyPassword": "Password",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "isHttpsProxyPasswordEncrypted": false&lt;/CODE&gt;&lt;/CODE&gt;&lt;CODE&gt;}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document below contains for details of these parameters and where to implement them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/System_Properties/02r300000296000000/" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/System_Properties/02r300000296000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS REST API&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 20:44:21 GMT</pubDate>
    <dc:creator>PhilipMcNeilly</dc:creator>
    <dc:date>2021-12-11T20:44:21Z</dc:date>
    <item>
      <title>HTTPS 500 Error Forward Proxy</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/https-500-error-forward-proxy/m-p/467463#M6520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have ArcGIS Portal 10.5 set up on a Windows Server.&amp;nbsp;There is&amp;nbsp;a proxy set up for any traffic coming from outside the business. Any services we have published internally do not go through the proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recent changes have been made to the proxy which I believe is Squid based&amp;nbsp;and the webfilter has been changed from WebSense to WebTitan. I believe it to be a forward authentication proxy.&amp;nbsp;Since the changes, we have experienced strange behaviour with any services that are accessed from outside the business e.g. mapping services provided by Ordnance Survey NI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a user loads a webmap with these services in them, it comes up with a message that the Basemap could not be loaded, loading default basemap instead. All internal services still work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a coupel of&amp;nbsp;semi-workarounds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Storea copy of the service in portal which requires credentials to be added manually.&lt;/P&gt;&lt;P&gt;2. Run&amp;nbsp; the service as the same user that runs the ArcGIS Portal Service on the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both actions result in the service becoming available again for all portal users for a period of time. It also seems as though when the service is not being used for a while&amp;nbsp;the problem comes back again. During the day our portal is used by a large number of users so it looks as though their activity keeps the service authentication alive. However in the morning / when the service is not used they need to be triggered by using one&amp;nbsp;of the two above methods to start&amp;nbsp;working again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have not experienced similar issues in ArcMap 10.2-10.5 where the external services still work with this proxy successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the service is not working, logging shows that there are a number of HTTPS Code 500's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Things tried so far include:&lt;/P&gt;&lt;P&gt;1. SSL Certifcates&lt;/P&gt;&lt;P&gt;2. Altering NTLM / IP Address authentication settings in the proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping that someone else in the community would have a similar experience that may help shed some light on what the problem may be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 13:09:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/https-500-error-forward-proxy/m-p/467463#M6520</guid>
      <dc:creator>AndrewMurphy2</dc:creator>
      <dc:date>2018-01-04T13:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: HTTPS 500 Error Forward Proxy</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/https-500-error-forward-proxy/m-p/467464#M6521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it sounds like you are using a forward proxy with Portal and from what you mentioned your forward proxy requires authentication for outbound requests to succeed.&amp;nbsp; This can cause issues when the Portal service attempts to make a request to an external resource.&amp;nbsp; This request may be getting block by the proxy due to the lack of credentials.&amp;nbsp; You may need to add&amp;nbsp;the properties like the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;CODE&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpProxyHost": "forwardproxy.domain.com",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpsProxyHost": "forwardproxy.domain.com",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpProxyPort": 80,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpsProxyPort": 443,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpsProxyUser": "username",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "httpsProxyPassword": "Password",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "isHttpsProxyPasswordEncrypted": false&lt;/CODE&gt;&lt;/CODE&gt;&lt;CODE&gt;}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document below contains for details of these parameters and where to implement them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/System_Properties/02r300000296000000/" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/System_Properties/02r300000296000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS REST API&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/https-500-error-forward-proxy/m-p/467464#M6521</guid>
      <dc:creator>PhilipMcNeilly</dc:creator>
      <dc:date>2021-12-11T20:44:21Z</dc:date>
    </item>
  </channel>
</rss>

