Select to view content in your preferred language

Token Authentication Failure when I use IpAddress

5526
1
01-11-2011 12:00 PM
Vamseekonda
Emerging Contributor
Hello,

I have set up Token based authentication for my GIS Services in ArcGIS Server and I am using that to access a WMS service. Everything works fine when I use the computer name as the address for the WMS service ex: http://compname/arcgis/services/servicename/MapServer/WMSServer?token=Gc478SaZSbt_DNrAO-Z7L3cAhWJLo6....

But when I replace the computer (compname in the url above) name with an ipaddress i get a "Token Authentication Failure". I have tried changing the TokenServiceURL in Token/Web.config and Rest/Web.config and also the OnlineResource URL in service.cfg file. But, nothing works.

Please let me know if I am missing something.

Thanks,

Vamsee.
0 Kudos
1 Reply
RaviNarayanan
Esri Contributor
Vamsee,

Does it work if the token is generated for for the ip address (or requestIp) instead of the referer?

Please see section token request format in this help topic below:
http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//0093000000q5...

thanks
Ravi
0 Kudos