You need to sign in to do that
Don't have an account?
jdeng
query behind a proxy server gets error Connection timed out:could be due to invalid address
One of our end users is behind proxy server, and he can login to https://www.salesforce.com/api/u/9.0 using my application. however, when he issues a query, my application returns the below error:
nested exception is:
java.net.SocketException: Connection timed out:could be due to invalid address
I set up my proxy settings using System.setproperties("http.proxyHost", proxyServerName);
System.setproperties("http.proxyPort", proxyportnumber);
I'm suspecting the issue is at queryresult or querymore, since his data is larger than 2000 records. Is there anything else that I need to setup for binding behind proxy?(or webservice calls in general behind proxy server?)
and my application is using axis 1.4, commons-http-client3.1 and API 9.0
Suggest you contact me directly at (831) 234-0754 or shoot me an email. I've solved this but we'll spend a week back and forth with postings at this rate.