All Questions
Tagged with java-http-client https
5 questions
1
vote
1
answer
566
views
Can the core Java HttpClient proxy through a TLS Proxy?
I am trying to setup a HttpClient to proxy requests through a HTTPS authenticated proxy.
It seems the Java HttpClient can only proxy over http and therefore the proxy credentials are sent in plaintext ...
1
vote
1
answer
3k
views
HttpClient hits timeout but server is available and working flawlessly
My problem is that the HttpClient never makes its way to the target. The target is on the same network (so I need no proxy) and it is definitely up. And the timeout was set quite high (120 seconds), ...
1
vote
1
answer
3k
views
How to invoke APIs from Java using https client with ssl certificate
I am invoking rest API from Java file using HttpClient. By using that I am able to call http API but not https API.
I am getting below error, while calling httpsapi.
javax.net.ssl....
1
vote
1
answer
839
views
java.net.http HttpClient goes into loop wrapBuffer returned Status = OK HandshakeStatus = NEED_WRAP
I cannot post this into JDK bug report, because I cannot reproduce it beyond my corporate infrastructure setup, but maybe somebody has encountered something similar.
Java version: 11.0.6
The code to ...
3
votes
0
answers
476
views
Resilient HTTP client with name resolution update and active monitoring
I am trying to build an HTTP client based on java.net.http.HttpClient and I would like to have some control on the IP addresses resolved under the hood.
I would like such mechanism to use all the IP ...