Hosting server in Portal for ArcGIS

2808
8
Jump to solution
03-20-2020 09:14 AM
TomekLubinski
New Contributor II

Hi everyone,
I have a question about hosting server option in Portal for ArcGis.
When I select hosting server and then save the configuration, that option change to grey out and unable to select "No hosting server"
Did anyone ever had this issue?

P.S.
I've checked the certificates and I think evrything is ok. (I've imported server certificate to portaladmin via the "Import Root or Intermediate")
As for logs, I don't have any warnings or errors.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
JonathanQuinn
Esri Notable Contributor

Once you set the hosting server, you can't unset it as it introduces problems that aren't easily overcome. You can circumvent the home application block by unsetting it as the hosting server via Portaladmin, as you did, but any hosted services will not be hosted among other problems.

View solution in original post

0 Kudos
8 Replies
jill_es
Esri Contributor

This was brought up in a previous GeoNet post a couple of years back...  As mentioned in that thread, "I think this may be caused by an SSL certificate trust issue.  I'd recommend checking the certificate used by Server over 6443.  If this is a certificate that was imported into Server, can you confirm that Portal trusts the certificate authority that signed the certificate?  If this is the default self-signed certificate that was generated when Server was installed, can you confirm that the hostname listed in the Server admin url matches the common name for the certificate?  Another good way to test if Portal trusts the certificate is to use the checkUrl.jsp endpoint.

 

https://portal.mydomain.com/portal/sharing/checkUrl.jsp?url=https://server.mydomain.com:6443/arcgis/...

 

If this comes back with an http 200 response, the certificate is trusted.  If this comes back with an error, it is likely a certificate issue."

How does this work out for you?

ThomasJones1
Esri Contributor

Hello Tomek Lubinski‌,

What version of Portal for ArcGIS are you using? I would also recommend changing the portal logs to 'DEBUG' level. Then validate the federation and review the portal logs. If there are certificate issues you may received 'PKIX Path Building Failed' error messages in the portal logs.

Change portal logs to 'DEBUG' level:

  • Navigate to the portal admin endpoint (Example URL: https://hostname.domain.com/portal/portaladmin)
  • Portal Administrator Directory > Home > Logs > Edit > Log level: DEBUG > Update.
  • I would recommend changing the logs back to the previous level after troubleshooting.

Is the ArcGIS Server admin URL accessing server over port '6443' or the server web adaptor? 

Check federation URL's:

  • Navigate to the portal admin endpoint (Example URL: https://hostname.domain.com/portal/portaladmin)
  • Portal Administrator Directory > Federation > Servers > servername > Admin URL

Hope this helps!

Thanks,

Thomas.

0 Kudos
TomekLubinski
New Contributor II

Hello Jill Edstrom I've tested the url  and this is result:

{   "secured": false,   "httpStatusCode": 200,   "httpStatusMessage": "HTTP/1.1 200 ",   "httpResponse": "",   "url": "https://gisportal.ad.local:6443/arcgis/admin" }

I think certificate is trusted.

Hi Thomas Jones‌ I've validated the federation and I don't have any errors in logs.

ArcGIS Server admin URL is accessing server over port '6443'

  • Portal Administrator Directory > Federation > Servers > servername > Admin URL

Server: gisportal.ad.local:6443

Name: gisportal.ad.local:6443
Id: iwO6SZTlHeh0yFgI
Url: https://gisportal.ad.local/server
Role: HOSTING_SERVER
Admin Url: https://gisportal.ad.local:6443/arcgis

It  looks like that evrething is ok but still I can't change options "Hosting server" .

Now the only way to change to "No hosting server" is by Portal Administration Directory

I have version 10.7.1 of ArcGis Enterprise.

jill_es
Esri Contributor

Tomek, based on the information you provided, I would recommend reaching out to Tech Support to look further into this issue.  I'll be reaching out to you directly regarding this.

0 Kudos
JonathanQuinn
Esri Notable Contributor

Once you set the hosting server, you can't unset it as it introduces problems that aren't easily overcome. You can circumvent the home application block by unsetting it as the hosting server via Portaladmin, as you did, but any hosted services will not be hosted among other problems.

0 Kudos
TomekLubinski
New Contributor II

Hi Jonathan Quinn 

I asked this because there is a description on the website Remove the hosting server from your portal—Portal for ArcGIS (10.7 and 10.7.1) | Documentation for A...  of how to remove the hosting server from the Portal.
in my case I do not have  possibility to do that and if I understood you correctly after federating the Server with the Portal and setting the hosting server option I can't do it anymore by Portal. 

P.S.
I saw that in version 10.5 it was possibile to change this option at any time.

0 Kudos
JonathanQuinn
Esri Notable Contributor

Right, this ability was removed at 10.7 and we are looking to remove those steps from the documentation starting at that version.

0 Kudos
TomekLubinski
New Contributor II

Thanks to everyone for help.

0 Kudos