Proxy Problem in Talend Open Studio for ESB 7.2.1

Highlighted
Six Stars

Proxy Problem in Talend Open Studio for ESB 7.2.1

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:talend_proxy.png

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

Five Stars

Re: Proxy Problem in Talend Open Studio for ESB 7.2.1

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

Six Stars

Re: Proxy Problem in Talend Open Studio for ESB 7.2.1

Hi Oliver,
please let me know if you are able to solve this problem. For me it looks like a bug in version 7.2.1 because the machine is definitely connected to the internet...
Community Manager

Re: Proxy Problem in Talend Open Studio for ESB 7.2.1

Hi All
It was a bug on v7.2.1
https://jira.talendforge.org/browse/TUP-24749
It has been fixed on v7.3.1, you can download the milestone version 7.3.1M5 and test if it works.

Regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
Five Stars

Re: Proxy Problem in Talend Open Studio for ESB 7.2.1

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

Six Stars

Re: Proxy Problem in Talend Open Studio for ESB 7.2.1

Hi shong,

thank you for your reply. Unfortunately the error still exists with v7.3.1M5. I have talked again with our networkers and we will examine our proxy server again. I hope we can solve this issue soon.

I will keep you updated.

Best regards,

Basit
Five Stars

Re: Proxy Problem in Talend Open Studio for ESB 7.2.1

Hi Basit,

 

were you able to download the v7.3.1M5? Can you provide a link?

 

Thanks

Six Stars

Re: Proxy Problem in Talend Open Studio for ESB 7.2.1

Hi olja,

here you can download the different releases https://www.talend.com/products/application-integration/esb-manuals-release-notes/
Meanwhile milestone 6 is available for v7.3.1

I would be glad if you could report if you were able to solve your issue with the new version.

Best regards,

Basit

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog