Failed to get administrator token from the server. Please verify that the specified server can be successfully accessed.

1522
9
12-07-2021 01:48 AM
pkaniouras
New Contributor III

Hi people!

I am trying to configure the server Web Adaptor but I get this error shown in the pictures.

pkaniouras_0-1638870418682.pngpkaniouras_1-1638870467023.pngpkaniouras_2-1638870481231.png

 

0 Kudos
9 Replies
ABishop
MVP Regular Contributor

Hello,

Looks like you already have a web adapter configured?

Amanda Bishop, GISP
0 Kudos
pkaniouras
New Contributor III

The configured web adaptor is for the Portal, not for the Server.

0 Kudos
DavidHoy
Esri Contributor

Assuming you are attempting to configure a Web Adaptor for an ArcGIS Server (you appear to already have a "portal" webadaptor configured)

Is "admin" the "Primary Site Administrator" account that was used when creating the ArcGIS Server site?

You will not be able to use a Portal user for this dialog. The WA is attempting to access the Server's token service and this will only work for a built-in account - most likely the Primary Site Administrator account (not the windows service account)

pkaniouras
New Contributor III

I think I am using the proper admin user, but could you please tell me how to check that?

0 Kudos
DavidHoy
Esri Contributor

If you go to the server admin page

DavidHoy_0-1639038707758.png

you should be able to see the name of the Primary Site administrator (PSA)

 

 

 

(dont apply any change)

0 Kudos
pkaniouras
New Contributor III

When I try to visit https://vie-lap-pantelis.esri.com:6443/arcgis/admin I receive the following:

pkaniouras_0-1639042864603.png

 

0 Kudos
DavidHoy
Esri Contributor

sorry about slow response - I was away from work for a few days.

Looks like Server is not even running - did you check the windows service?
Can you reach https://vie-lap-pantelis.esri.com:6443/manager ?

or https://vie-lap-pantelis.esri.com:6443/arcgis/rest/services ? 

pkaniouras
New Contributor III

Neither link works.

0 Kudos
DavidHoy
Esri Contributor

a typo - sorry - the first test link I suggested should have been
https://vie-lap-pantelis.esri.com:6443/arcgis/manager

you may also try remote on to the vie-lap-pantelis.esri.com machine (if you are not already on there) and go to https://localhost:6443/arcgis/manager

but if that doesn't work, please check that the Windows Service "ArcGIS Server" is actually running.

also, check from the Start menu  - Internet Information Services (IIS) Manager

navigate down to Sites -> Default Web Site

there should at this point only be "portal" as a configured web adaptor

it is possible you have accidentally created an "arcgis" Web Adaptor that may be confusing your web requests