Thank you Oleg,
it worked :). However now, once in a while I get this type of error:
Caused by: java.io.InterruptedIOException
at
org.apache.hc.client5.http.impl.async.AsyncConnectExec$2.cancelled(AsyncConnectExec.java:213)
at
org.apache.hc.client5.http.impl.async.InternalHttpAsyncExecRuntime$
This is my code:
```
// Trust standard CA and those trusted by our custom strategy
final SSLContext sslcontext =
SSLContexts.custom().loadTrustMaterial((chain, authType) ->
true).build();
int timeout = 5;
PoolingAsyncClientConnectionManager ccm =
PoolingAsyncClientConnectionManag
On Mon, 2019-07-29 at 14:59 +0300, Petar Tahchiev wrote:
> This is my code:
> ```
>
> // Trust standard CA and those trusted by our custom strategy
> final SSLContext sslcontext =
> SSLContexts.custom().loadTrustMaterial((chain, authType) ->
> true).build();
>
> int timeout = 5;
>
>