<?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: Portal redirects to internal address in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/portal-redirects-to-internal-address/m-p/1266236#M35368</link>
    <description>&lt;P&gt;Basically, always use the webcontexturl, or you will get the redirect.&lt;/P&gt;&lt;P&gt;The too many redirect errors is generally caused by your browser, not the software.&amp;nbsp; You can try using 'InPrivate' mode or clearing your cookies to resolve that one.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 22:07:30 GMT</pubDate>
    <dc:creator>Scott_Tansley</dc:creator>
    <dc:date>2023-03-09T22:07:30Z</dc:date>
    <item>
      <title>Portal redirects to internal address</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/portal-redirects-to-internal-address/m-p/1266220#M35365</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I'm having the error on my Portal for ArcGIS when clicking Sign In.&lt;BR /&gt;When I click on it, the system redirects to my Internal domain (hostname Apache2 Web server) instead of making the request with the Public domain.&lt;BR /&gt;I've already checked my server's proxy rules, but to no avail.&lt;BR /&gt;I will describe my scenario below in case anyone can contribute with ideas and suggestions&lt;/P&gt;&lt;P&gt;Apache2 serving as Reverse Proxy for tomcat, AJP connector&lt;BR /&gt;Rules:&lt;BR /&gt;ProxyRequests off&lt;BR /&gt;ProxyPreserveHost On&lt;BR /&gt;ProxyPass /portal ajp://localhost:8009/portal&lt;BR /&gt;ProxyPassReverse /portal ajp://localhost:8009/portal&lt;/P&gt;&lt;P&gt;Public DNS: &lt;A href="https://mydomain.local.org/portal" target="_blank" rel="noopener"&gt;https://mydomain.local.org/portal&lt;/A&gt;&lt;BR /&gt;Hostname apache2 server: &lt;A href="https://mywebserver.local/" target="_blank" rel="noopener"&gt;https://mywebserver.local/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And, if I change the WebContext property in Portal for ArcGIS, the error is different, instead of calling the internal address, it loops, generating "Too Many Redirect Errors"&lt;BR /&gt;&lt;BR /&gt;Version ArcGIS: 10.9.1&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 21:38:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/portal-redirects-to-internal-address/m-p/1266220#M35365</guid>
      <dc:creator>tempRodrigo_DaSilva</dc:creator>
      <dc:date>2023-03-09T21:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Portal redirects to internal address</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/portal-redirects-to-internal-address/m-p/1266236#M35368</link>
      <description>&lt;P&gt;Basically, always use the webcontexturl, or you will get the redirect.&lt;/P&gt;&lt;P&gt;The too many redirect errors is generally caused by your browser, not the software.&amp;nbsp; You can try using 'InPrivate' mode or clearing your cookies to resolve that one.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 22:07:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/portal-redirects-to-internal-address/m-p/1266236#M35368</guid>
      <dc:creator>Scott_Tansley</dc:creator>
      <dc:date>2023-03-09T22:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Portal redirects to internal address</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/portal-redirects-to-internal-address/m-p/1266514#M35371</link>
      <description>&lt;P&gt;You could try setting the&amp;nbsp;privatePortalURL, along with the WebContextURL, to the public URL. See the API here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/enterprise-administration/portal/system-properties.htm" target="_blank"&gt;https://developers.arcgis.com/rest/enterprise-administration/portal/system-properties.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Your deployment sounds somewhat similar to the one show here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/portal/latest/administer/windows/ha-scenarios-web-gis.htm#GUID-81753475-4774-40A0-B457-6F5D9371322C" target="_blank"&gt;https://enterprise.arcgis.com/en/portal/latest/administer/windows/ha-scenarios-web-gis.htm#GUID-81753475-4774-40A0-B457-6F5D9371322C&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 16:55:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/portal-redirects-to-internal-address/m-p/1266514#M35371</guid>
      <dc:creator>JalesM</dc:creator>
      <dc:date>2023-03-10T16:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Portal redirects to internal address</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/portal-redirects-to-internal-address/m-p/1268386#M35404</link>
      <description>&lt;P&gt;f your reverse proxy is forwarding requests to your web adaptors on http rather than https, the portal and server will redirect the client to the same fqdn via https - the Reverse Proxy will send the request through to the WA again on https and it will loop - causing a too many redirects.&lt;BR /&gt;short answer - make sure the reverse proxy is forwarding to the WAs on https (and the WA to the portal on https too)&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 04:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/portal-redirects-to-internal-address/m-p/1268386#M35404</guid>
      <dc:creator>DavidHoy</dc:creator>
      <dc:date>2023-03-16T04:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Portal redirects to internal address</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/portal-redirects-to-internal-address/m-p/1275323#M35595</link>
      <description>&lt;P&gt;Thanks for your post which helped me solve a similar problem with a newly installed ArcGIS Portal.&lt;/P&gt;&lt;P&gt;My company uses Citrix NetScaler to redirect public requests to internal web servers. I have a couple ArcGIS Portal systems that do not have this problem, but a newly installed ArcGIS Portal kept getting too many redirect errors. I spent a couple weeks to reinstall the ArcGIS Enterprise without success. It turned out that NetScaler admin put a "HTTPS to HTTP" rule for the web server of the new ArcGIS portal. That's why I kept getting too many redirect error. Once we changed the rule back to "HTTPS to HTTPS". Everything works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, thank you for your help.&lt;/P&gt;&lt;P&gt;Luke&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 15:43:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/portal-redirects-to-internal-address/m-p/1275323#M35595</guid>
      <dc:creator>Lu-chiaChuang</dc:creator>
      <dc:date>2023-04-04T15:43:16Z</dc:date>
    </item>
  </channel>
</rss>

