Proxy not working - help?  Anyone?

2797
1
05-09-2013 10:28 AM
KarenEllett
Occasional Contributor
I'm trying to add map services using the proxy, but nothing I do will work.  We've tried calling ESRI support, but they told us that they don't support proxy.  Which seems silly, seeing as how it's a feature in an ESRI product I'm trying to get help on, not an external proxy... 
According to Fiddler, the proxy page is actually working.  I followed ESRI's online instructions to configure it, and to point to the proxy.ashx within the builder.  When I click the 'use proxy' box and try to browse to the server, I get an error that says "Cannot connect to <ourservername>."  In fiddler it shows that it actually is trying to pass the urls, but it gives me this error:

Server Error
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

So it seems like it is able to access something.  But in the Builder, it just says it can't connect.

Anyone?  Help?  I'm starting to pull out my hair here!
0 Kudos
1 Reply
JeffSmith
Esri Contributor
If you are seeing an http 500 error in Fiddler when trying to use the proxy page, there may be something wrong in the proxy.config file.  An easy test is to access Google through your proxy page within your browser.  Once you have added http://www.google.com to your proxy.config file, try to access it through your proxy url.

http://(proxy_hostname)/proxy/proxy.ashx?http://www.google.com

If this returns an http 500 error as well, you need to review the proxy.config file and make sure the syntax of everything is accurate.  If the syntax looks fine, another option would be to download a fresh copy of the proxy page.  The one I've had the best luck with can be found here.
0 Kudos