On 8/10/23 14:03, Petar Tahchiev wrote:
Hi Jochen,
I don't have 2 different SSL certificates.
I have no idea what SNI is but that seems to be the only difference in the
log from curl and httpclient5.
https://en.wikipedia.org/wiki/Server_Name_Indication
Basically it's a feature of TLS that all
Hi Peter,
If we can improve our migration guide, then I'm all for it. I'm not sure
how to condense this into a simple before and after example though.
Gary
On Fri, Aug 11, 2023, 8:01 AM Petar Tahchiev wrote:
> Hi Oleg,
> sorry but I am new with this. "This, of course, is not going to work" -
>
Hi Oleg,
sorry but I am new with this. "This, of course, is not going to work" -
what is not going to work and why not?
"You need to pass HttpHost with the IP address of the physical endpoint.
This cannot be done with Simple* messages. They are simple for a reason." -
I don't understand this. Wher
On Fri, 2023-08-11 at 13:08 +0300, Petar Tahchiev wrote:
> Hello,
>
> so I'm getting closer. Because I was
> using PoolingAsyncClientConnectionManager I decided to replace it
> with PoolingHttpClientConnectionManager and it worked. So the problem
> is
> not in the SNI but in the PoolingAsyncClient
Hello,
so I'm getting closer. Because I was
using PoolingAsyncClientConnectionManager I decided to replace it
with PoolingHttpClientConnectionManager and it worked. So the problem is
not in the SNI but in the PoolingAsyncClientConnectionManager. I am
following this guide exactly:
https://hc.apache
On Thu, 2023-08-10 at 22:40 +0300, Petar Tahchiev wrote:
> Hmm,
>
> I tried now setting the Host header:
>
>
> httpGet.setHeader("Host", "localhost");
>
>
This is wrong. You should not be doing that. You should let HttpClient
generate the Host header when appropriate. HttpClient will also
aut