Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
avaras
Contributor
Contributor

Proxy configuration on Talend ESB

 

Hello

 

  We deploy a bundle into Talend ESB and when it tries to connect to a SoapService through a proxy launch an excpetion (502 http error), and i don't know where it is necessary to change configuration to modify nonproxyHosts, because i'm accesing an internal server into the same lan. 

 

What i see is when i make the first request system properties http.proxyHost, proxyPassword, nonProxyHosts are modified.

 

Error summary

 

Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 502 cannotconnect"
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:2142)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.jav...)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:259)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:252)
... 4 more

CAUSE:

java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 502 cannotconnect"
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:2142)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.jav...)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:259)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:252)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:160)
at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:147)
at industria4.ubemanager_0_1.UbeManager.tWriteXMLField_1_InProcess(UbeManager.java:2221)
at industria4.ubemanager_0_1.UbeManager$1ThreadXMLField_tWriteXMLField_1_Out.run(UbeManager.java:813)

CAUSE:

com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:297)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:160)
at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:147)
at industria4.ubemanager_0_1.UbeManager.tWriteXMLField_1_InProcess(UbeManager.java:2221)
at industria4.ubemanager_0_1.UbeManager$1ThreadXMLField_tWriteXMLField_1_Out.run(UbeManager.java:813)
Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 502 cannotconnect"
at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:2142)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.jav...)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:259)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:252)
... 4 more

Labels (5)
1 Reply
Anonymous
Not applicable

Hello,

Please try to also verify if it works with auth-free proxy (whether the proxy takes effect).

Best regards

Sabrina