Replies: 1 comment
-
Hi @BRV746 If no authorization is needed for the proxy, why are you setting an I would suggest you try some simpler code just to test and troubleshoot connectivity issues. Perhaps something like the below may work, though this is completely untested, as I do not have a proxy to try against. String https_url = "https://someSoap.wsdl.url";
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyHost, proxyPort));
URL url = new URL(https_url);
HttpsURLConnection con = (HttpsURLConnection)url.openConnection(proxy);
System.out.println("Response-" + con.getResponseCode()); // Should return 200 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I get the error when using proxy for requests:
com.ctc.wstx.exc.WstxIOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden"
This is how I try to set up the proxy:
Maybe anyone could advise what could be the problem? No authorization is needed for proxy and I had set
jdk.http.auth.tunneling.disabledSchemes=Basic
but it did not help.Beta Was this translation helpful? Give feedback.
All reactions