Hi all,
we have the following issue in our highly available (HA) portal, version 10.8.1.
Our configuration is:
Workflow to reproduce the issue:
Expected Behavior:
Actual Behavior:
Workaround:
Stop the windows service for the standby machine again.
Sometimes, when we wait a bit and stop the standby machine again, wait some more, and start it again, then everything is back to normal.
Similar issue has been reported here.
Any feedback will be very useful. Thanks!
Solved! Go to Solution.
Hi Nicolas,
At the end it was a bug in the portal. We solve it by installing the latest patch here: https://support.esri.com/en/download/7864
Further details about the topic can be found here: https://community.esri.com/t5/arcgis-enterprise-questions/aws-10-8-1-ha-portal-not-restarting/m-p/10...
Hope this helps!
We have found the solution. Eventually, it was the value of privatePortalURL.
There is a small note at the documentation of configuring a highly available portal:
If the privatePortalURL is different from the WebContextURL, do not set the X-Forwarded-Host header for this URL.
I used the same value for the two parameters privatePortalURL and WebContextURL. We have also configure our portal for IWA.
The privatePortalURL is not only used for communication between the federated ArcGIS Server and the portal, but also between the portal machines that participate in the portal site.
When the primary machine restarted, then the internal communication was happening via the public load balancer and that was triggering a windows authentication.
If IWA is configured, then the privatePortalURL must have a different value than the WebContextURL.
I have unset temporarily the privatePortalURL and everything works fine. We have asked from our system administrator a load balancer address which goes through the 7443 port, bypassing the windows authentication.
Hello @MichailMarinakis1,
Wahou, your configuration is almost identical as mine except that I am not using IWA but I do have Web Adaptor for reverse proxying. I already have a load balancer balancing on 7443 private portal URL which in my case is different that the public one.
But I still face the same issue. If one portal is deconnected and reconnected again, then the whole portal is messed up and you cannot access 'portaladmin', etc..
So I am wondering what could be the issue for me as Windows authentification is already out of the equation...
Hi Nicolas,
At the end it was a bug in the portal. We solve it by installing the latest patch here: https://support.esri.com/en/download/7864
Further details about the topic can be found here: https://community.esri.com/t5/arcgis-enterprise-questions/aws-10-8-1-ha-portal-not-restarting/m-p/10...
Hope this helps!
Such good news 🙂
Thanks !
Following up on this, is it true that if IWA is configured, then the privatePortalURL must have a different value than the WebContextURL? Or was this just thought to be the issue when it was really the bug that the patch resolved?
I'm setting up a new 10.8.1 deployment where we are using IWA and currently have the privatePortalURL and WebContextURL set to the same value, the web adaptor registered with the portal. This hasn't caused any issues so far but I want to make sure I'm following best practices and not setting myself up for problems later.
I have installed the HA patch, do I need to set a different privatePortalURL and WebContextURL if using IWA?
Hi Benjamin,
for us yes, it was necessary to use a different value. The privatePortalURL has to point to the 7443 port and not to the port 443. Issues appeared when we federated an arcgis server. We didn't observe any issues without a federated arcgis server.
We needed to federate an arcgis server so we used for WebContextURL e.g. https://gis.portal.com/arcgis that redirects to port 443 for each of the machines behind and for privatePortalURL we used e.g. https://gis.portal.com:7443/arcgis that redirects to port 7443 for each of the machines behind.
Hope this answer your question!