AnsweredAssumed Answered

Token service not working

Question asked by salival on Feb 20, 2014
Latest reply on Feb 24, 2014 by salival
I have a 10.2 ArcGIS Server with SSL enabled. Both these token services work:
The old URL: https://server.domain.com/arcgis/tokens/ and
the new URL (10.1+?): https://server.domain.com/arcgis/admin/generatetoken

I have a 10.1 ArcGIS Server with SSL not enabled. Only one of these token services work:
The old URL: http://server.domain.com/arcgis/tokens/ DOES NOT WORK and
the new URL: http://server.domain.com/arcgis/admin/generatetoken does work.

Both ArcGIS Servers are configured to use a Web Adaptor ("arcgis").

The error for the failing in the token service UI is "Invalid request
Usage: http://server.domain.com/arcgis/tokens?request=gettoken&username=username&password=password&
Usage: http://server.domain.com/arcgis/tokens/generateToken?username=username&password=password&
Usage: http://server.domain.com/arcgis/tokens/gettoken.html"

and for the URL with passed parameters (http://server.domain.com/arcgis/tokens?request=gettoken&username=XXXXX&password=XXXXX&) is "Specified argument was out of the range of valid values. Parameter name: offset"

The user/pw is valid, as it works from the new URL and to access the secured folder in the REST directory.

Questions:
1. Why are there 2 URLs for accessing the token service?
2. Why doesn't the "old" token service URL work for the 10.1 server?

Many thanks.

Outcomes