Hi
sorry to bother you again, but this is really weird.
As said below, I'm calling an external WS (ssl, client certificate). I
am NOT using a proxy, therefore I don't understand the error message.
On one karaf installation I get the error below.
If I copy the whole karaf Installation to another machine, I DON'T get
the error.
Then I took the code and created a standalone java program. This works
on both machines.
Does this make sense to anyone here?
Any help would be most appreciated.
Thanks,
Laci
On 15.09.2014 09:35, Laci Gaspar wrote:
Hi
I have another strange error in one of my karaf installations.
I'm calling a WebService (https) using cxf. In one karaf installation
it works, it the other I get:
Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy
returns "HTTP/1.1 403 Forbidden"
at
sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:1873)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1091)
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
at
org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.setupWrappedStream(URLConnectionHTTPConduit.java:168)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1282)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1238)
at
org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.onFirstWrite(URLConnectionHTTPConduit.java:195)
at
org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:47)
at
org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1295)
... 30 more
What is strange about this, is that I don't actually use a proxy.
There is no system property http(s)_proxy defined.
Any idea what could cause this?
Thanks!
Laci