Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
I recently installed Talend Open Studio for ESB 7.2.1 on our Windows Server but I am experiencing problems with the proxy settings.
The traffic of this machine goes through a proxy and everything works fine. I can open websites in my browser.
I built a job in Talend to call a REST Endpoint which results in a 'ConnectException: Connection timed out: connect'. The settings in Talend seem to be ok:
This is my error log:
Exception in component tRESTClient_1 (RestTest) javax.ws.rs.ProcessingException: java.net.ConnectException: ConnectException invoking some.endpoint.com: Connection timed out: connect at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:638) at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:614) at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1115) at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1052) at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:897) at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:866) at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:431) at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:611) at myworkspace.resttest_0_1.RestTest.tRESTClient_1Process(RestTest.java:720) at myworkspace.resttest_0_1.RestTest.runJobInTOS(RestTest.java:1159) at myworkspace.resttest_0_1.RestTest.main(RestTest.java:1009) Caused by: java.net.ConnectException: ConnectException invoking some.endpoint.com: Connection timed out: connect at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1402) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1386) at org.apache.cxf.io.AbstractWrappedOutputStream.close(AbstractWrappedOutputStream.java:77) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:673) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) at org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:710) at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1051) ... 7 more Caused by: java.net.ConnectException: Connection timed out: connect at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1199) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream$2.run(URLConnectionHTTPConduit.java:377) at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream$2.run(URLConnectionHTTPConduit.java:373) at java.security.AccessController.doPrivileged(Native Method) at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.getResponseCode(URLConnectionHTTPConduit.java:373) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1599) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1627) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1572) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1373) ... 14 more
It seems very weird because the exact same job works on other machines and even on this server everything has access to the internet except Talend.
Am I missing something? I would be glad if you could help me out.
Best regards,
Basit
Have the same problem with Talend Studio for Data Integration 7.2.1. I am trying to connect to https://jsonplaceholder.typicode.com/todos via the tRestClient but also results in a connection timeout.
Best regards
Oliver
Hi,
the link you provided does not work for me, it shows only
You can't view this issue
It may have been deleted or you don't have permission to view it.
I could navigate there to the sources and there I could find the links to open studio but it is linking to the main website and I guess there is the old version only available, correct? Actually I am using the Open Studio for Data Integration, but it also fixed there? I guess they use the same core branch?
So, how can I download the v7.3.1
Thanks
Hi Basit,
were you able to download the v7.3.1M5? Can you provide a link?
Thanks
Hi @shong
we have now troubleshooted our network settings and I even reinstalled Talend Open Studio (v7.3.1, release date February 26, 2020) but it still shows the same error. How can I be sure that this is not a bug in Talend Open Studio?
In addition to that I noticed that I am able to download and install third party modules in Talend (while having the proxy set in the settings). It seems that only the jobs don't recognise the proxy settings.
Regards,
Basit