10.2 web adapter all of a sudden can't see our map services without a username and password

3059
3
Jump to solution
04-06-2015 08:27 AM
RoyceSimpson
Occasional Contributor III

Sometime last night our web adapter server started not being able to communicate with our arcgis server map services, unless the user supplied a user name and password. 

All of our map services are open to the public and have been working great for years.  Now if you try to get to any of them via the rest endpoint url, you are greeted with a ArcGIS Server REST API login screen.  I can login with my site admin creds but that doesn't ultimately solve the problem as I have a ton of web apps that access those map services without any security... so they are dead in the water.

Anyone know what is going on or how to fix this?  I uninstalled then reinstalled the web adapter software and configured it properly with no success.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RoyceSimpson
Occasional Contributor III

Just got off phone with Cameron from esri support. 

This is a bug with Server 10.2 but there is a workaround:

Go to site REST admin page:  server:6080/arcgis/admin ->services

->permissions

copy "esriEveryone"

->clean

paste in "esriEveryone"

clean..

then back at the permissions page:

->add   "esriEveryone"

add...

Done.  Site back up.

View solution in original post

3 Replies
RoyceSimpson
Occasional Contributor III

Just got off phone with Cameron from esri support. 

This is a bug with Server 10.2 but there is a workaround:

Go to site REST admin page:  server:6080/arcgis/admin ->services

->permissions

copy "esriEveryone"

->clean

paste in "esriEveryone"

clean..

then back at the permissions page:

->add   "esriEveryone"

add...

Done.  Site back up.

RoyceSimpson
Occasional Contributor III

I need to add that this only happens if the Server site becomes disconnected from the config-store location, if on a shared network space...

Here's esri's official response:

NIM102777 When ArcGIS for Server loses connectivity to the config-store, the setting changes from 'public' map services to 'private', due to the loss of 'esriEveryone' principal.

The following workaround is available for this issue:

From Admin Endpoint:

1. Log in to the Admin Endpoint.

2. Select 'services" then 'permissions'.

2a.  Select "clean".

2b.  Enter "esriEveryone"

2c.  clean.

3. Select 'add'.

4. For the Principal field, type 'esriEveryone'.

5. Confirm services are 'Public' by browsing to the REST endpoint.

0 Kudos
SimonRoss_User
Occasional Contributor

We have the same behaviour with 10.3 but the workaround does not work.  When we attempt to clean or add esriEveryone we get the error

java.lang.NullPointerException

I suspect the root cause is something different and we will raise with ESRI support but curious if anyone on this thread has any thoughts

Thanks

0 Kudos