One Star

proxy settings?

Hi,
we have version 6.1.1.20151214_1327 installed on Windows 7. We have set proxy details (under Preferences > General > Network Connections) to use our local proxy server (HTTP and HTTPS both set with proxy, port and user/password).
This seems to work to some extend, running the app to install additional features works, detects missing updates and installs them. And if I check the proxy I can see connections to talend-update.talend.com.
Problem is when then running an actual job it fails to work. We have set up a simple salesforce connection and run it but it fails, we get the following error output shown below and I don't see anything on the proxy trying to connect to salesforce.com.
So any advice on how to get this job to use the proxy settings I've used and know work for the updates?
thanks
Andy
connecting to socket on port 3907
connected
Exception in component tSalesforceConnection_1
org.apache.axis2.AxisFault: The host did not accept the connection within timeout of 60000 ms
 at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
 at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:197)
 at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
 at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:404)
 at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
 at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
 at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
 at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
 at com.salesforce.soap.partner.SforceServiceStub.login(SforceServiceStub.java:17180)
 at org.talend.salesforce.SforceBasicConnection.renewSession(SforceBasicConnection.java:77)
disconnected
 at org.talend.salesforce.SforceBasicConnection.init(SforceBasicConnection.java:71)
 at org.talend.salesforce.SforceBasicConnection.<init>(SforceBasicConnection.java:49)
 at org.talend.salesforce.SforceBasicConnection.<init>(SforceBasicConnection.java:25)
 at org.talend.salesforce.SforceBasicConnection$Builder.build(SforceBasicConnection.java:125)
 at local_project.onboardingdemojob_0_1.OnBoardingDemoJob.tSalesforceConnection_1Process(OnBoardingDemoJob.java:322)
 at local_project.onboardingdemojob_0_1.OnBoardingDemoJob.runJobInTOS(OnBoardingDemoJob.java:577)
 at local_project.onboardingdemojob_0_1.OnBoardingDemoJob.main(OnBoardingDemoJob.java:434)
Caused by: org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 60000 ms
 at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:155)
 at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
 at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
 at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
 at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:621)
 at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
 ... 16 more
Caused by: java.net.SocketTimeoutException: Connect timed out
 at java.net.SocksSocketImpl.readSocksReply(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
 ... 24 more
Picked up _JAVA_OPTIONS: -Xmx1024m
Job OnBoardingDemoJob ended at 13:33 31/03/2016.
2 REPLIES
Moderator

Re: proxy settings?

Hi Andy,
Can you successfully connect to your Salesforce by client without using Talend Tool? Have you checked the firewall in your computer?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: proxy settings?

Hi Sabrina,
yes, connectivity without tool, just via a browser is fine, there is no issue with access to salesforce.com via our proxies or firewalls.
thanks
Andy