"Unable to access the authentication service" while trying to add secured services.

8366
12
11-02-2012 04:40 AM
Maral_CanEmre
New Contributor
Hi,

I have a secured map service on my ArcGIS Server 10.1. When i tried to add my secured service layer to a web map in ArcGIS Online, the username/password page prompted with no problem. However when i try to login with my credentials, I got an error massage says that "Unable to access the authentication service".

Any ideas?
Tags (2)
0 Kudos
12 Replies
MikeMinami
Esri Notable Contributor
Can you post the URL to the service in question?

Thanks,

Mike
0 Kudos
AllenJones
New Contributor III
did you ever figure this out im having the same problem.  ArcGIS server 10.1, Javascript api 3.2, using IdentityManager.  It prompts me for creds then gives me "Unable....." i can log in and see services from rest endpoint.
0 Kudos
MikeMinami
Esri Notable Contributor
Allen,

I'd have to look at the REST endpoint, and possibly get access to your server temporarily. You can send me a private message if you like.

Thanks,

Mike
0 Kudos
JaredYost
Occasional Contributor
I also have the same issue.  does Https have to be enabeled? My guess is that it is trying to check the credentials to my server using https.
0 Kudos
MikeMinami
Esri Notable Contributor
No, it doesn't need to be https, but it's recommended. Post the URL to your service and I can have a look.

Mike
0 Kudos
Kim_Ness__Sundeen
New Contributor II
I have the same problem.  Is there a solution online somewhere?  I tried to use esri's authentication example and included one of my secured layers.  However, I get the same error of "unable to access authentication service."  It would also be really helpful if esri could post the solutions to this problem. 

Could this problem be related to not have the Web Adaptor installed?

I appreciate any help anyone can offer.

Kim
0 Kudos
MikeMinami
Esri Notable Contributor
Can you share the URL to your secured service?

Some requirements to check are:

  • Running ArcGIS Server 10.0, sp1.

  • Using ArcGIS Server Authentication, which is token based. No web server authentication.

  • Check your certificate; no self signed certificates.

  • Visit http://<server>/ArcGIS/rest/info; Look at the Token Service URL, is it externally visible?

  • If the services are behind a firewall, you need to enable CORS. This will work from CORS enabled browsers (FireFox, Safari, Chrome, IE 10)Here's a useful post: http://forums.arcgis.com/threads/84791-Can-t-add-internal-test-services-to-agol-subscription-(SSL-on...

  • Can you generate a token? https://<server>/ArcGIS/Tokens/gettoken.html


Thanks,

Mike
0 Kudos
JoeFlannery
Occasional Contributor III
I, too, am using ArcGIS for Server 10.1 with secure map services.  When I attempted to add a secure map service directly to an ArcGIS.com map via the >Add >Add Layer from Web button, the attempt failed. 

I was informed by Esri Tech Support that I needed to log into our subscription, go to the My Content area, click on the Add Item button and add the secure map service to a My Content folder.  Then, you can open your map and Add the secure service from your content folder.  Tags/keywords added to your map service make it easy to find using the Search for Layers option in the map.
0 Kudos
Jay_Gregory
Occasional Contributor III
Was anyone able to figure out a solution to this.  I can't access a ArcGIS 10.1 for server secured service through IE 8 (get the same "unable to access the authentication service" error).  However, I CAN access the service through Chrome or Firefox.  This leads me to believe the issue doesn't have to do with server configuration, but instead with a bug between the identity manager, REST API, and IE. 
Any know how to get around this?

Thanks, Jay
0 Kudos