AnsweredAssumed Answered

Using proxy with routing - getting a token not working

Question asked by peter.baldwin on Oct 24, 2014



I'm trying to get the ArcGIS routing service to work through the proxy from a Javascript API app. In the proxy config I have the following setup:


<serverUrl url="" matchAll="true"







And I've setup the log file for reporting on proxy connections. In the log file I see:


w3wp.exe Information: 0 : 2014-10-24 12:29:01

w3wp.exe Information: 0 : 2014-10-24 12:29:03 Matching credentials found in configuration file. OAuth 2.0 mode: True

w3wp.exe Information: 0 : 2014-10-24 12:29:03 Service is secured by getting new token...


and then it stops. The browser calling it returns a runtime error. If I manually call the oauth2 page with the correct details from the server running the proxy then it works fine and returns a token okay.


Please could someone give me any advice on how I can further debug this?


Thank you,