RE: Question about max connections

2023-06-26 Thread Joan grupoventus
omething wrong ... just let me know what you think. Thanks, Joan. -Original Message- From: Oleg Kalnichevski Sent: Friday, June 23, 2023 12:04 PM To: HttpClient User Discussion Subject: Re: Question about max connections On Fri, 2023-06-23 at 11:52 +0200, Joan grupoventus wrote: > Hi

RE: Question about max connections

2023-06-23 Thread Joan grupoventus
or after modifying it I need to restart the pool to apply the new value. Thanks, Joan. -Original Message- From: Oleg Kalnichevski Sent: Friday, June 23, 2023 11:28 AM To: HttpClient User Discussion Subject: Re: Question about max connections On Fri, 2023-06-23 at 11:23 +0200, J

Question about max connections

2023-06-23 Thread Joan grupoventus
Hello, We have an async http pool with LAX concurrency (httpclient 5.2.1): this.phccm = PoolingAsyncClientConnectionManagerBuilder.create().setPoolConcurrencyPolicy(PoolConcurrencyPolicy.LAX).build(); We set the max connections in this way: public void setMaxConnections(int maxConnections) { t

RE: Httpclient issue with https "org.apache.hc.core5.http2.impl.nio.ClientH2StreamMultiplexer"

2023-05-12 Thread Joan grupoventus
Subject: Re: Httpclient issue with https "org.apache.hc.core5.http2.impl.nio.ClientH2StreamMultiplexer" On Thu, 2023-05-11 at 19:17 +0200, Joan grupoventus wrote: > Hello Oleg, > > We are finding an issue in a new installation of our app that is using > httpclient5-5

Httpclient issue with https "org.apache.hc.core5.http2.impl.nio.ClientH2StreamMultiplexer"

2023-05-11 Thread Joan grupoventus
Hello Oleg, We are finding an issue in a new installation of our app that is using httpclient5-5.2.1 and httpcore5-5.2. Our app is a proxy that receives protobuf requests that are sent to an amazon endpoint that is responding with protobuf responses. We started this communication by using plai

Response buffer size

2021-01-08 Thread Joan grupoventus
Hello, � I’m using HttpClient 4.5.7. reading responses from a backend through a ‘HttpAsyncResponseConsumer’ on the ‘consumeContent’ method in this way: � while ( (numBytesRead = decoder.read(this.bbuf)) > 0 ) { ( . . . ) } where this.bbuf = ByteBuffer.allocate(32768); The b

RE: Issue sending https to an http endpoint

2019-08-27 Thread Joan grupoventus
Issue sending https to an http endpoint On Tue, 2019-08-27 at 11:27 +0200, Joan grupoventus wrote: > Hi Oleg, > > I uploaded the httpcore-5b9 we generated to the git. Is it possible > you download it and try just one test with async Http5 to check if it > works for you? > We h

RE: Issue sending https to an http endpoint

2019-08-27 Thread Joan grupoventus
u and not for us. Thanks, Joan. -Original Message- From: Oleg Kalnichevski Sent: Friday, August 23, 2019 5:32 PM To: HttpClient User Discussion Subject: Re: Issue sending https to an http endpoint On Fri, 2019-08-23 at 17:24 +0200, Joan grupoventus wrote: > Hi Oleg, > > Is

RE: Issue sending https to an http endpoint

2019-08-23 Thread Joan grupoventus
. -Original Message- From: Oleg Kalnichevski Sent: Friday, August 23, 2019 9:49 AM To: HttpClient User Discussion Subject: Re: Issue sending https to an http endpoint On Thu, 2019-08-22 at 23:12 +0200, Joan grupoventus wrote: > Hi Oleg, > > Well, not sure what's happening.

RE: Issue sending https to an http endpoint

2019-08-22 Thread Joan grupoventus
g forever. So if this is not a bug in http5, what's wrong with these two last samples? The code there is minimal. Thanks, Joan. -Original Message- From: Oleg Kalnichevski Sent: Thursday, August 22, 2019 12:05 PM To: HttpClient User Discussion Subject: Re: Issue sending ht

RE: Issue sending https to an http endpoint

2019-08-21 Thread Joan grupoventus
Hi Oleg, Tried with httpcore5-5.0-beta9.jar. The same result. Thanks, Joan. -Original Message- From: Oleg Kalnichevski Sent: Monday, August 19, 2019 9:15 AM To: HttpClient User Discussion Subject: Re: Issue sending https to an http endpoint On Sun, 2019-08-18 at 21:05 +0200, Joan

Issue sending https to an http endpoint

2019-08-18 Thread Joan grupoventus
Hello, � A mistake made by one of our clients has brought us a possible issue to our attention. We have been able to reproduce it on our test environment. � The client has an endpoint that only listens on http connections on ports 8080,8081,8082 and 8083. By mistake all traffic from our gat

RE: AsyncRequestBuilder deprecated

2019-08-01 Thread Joan grupoventus
these 2 values at request level? � Thanks, Joan. � From: Joan grupoventus Sent: Thursday, August 1, 2019 10:20 AM To: 'HttpClient User Discussion' Subject: AsyncRequestBuilder deprecated � Hello, � With the latest HttpClient5 release the AsyncRequestBuilder class is

AsyncRequestBuilder deprecated

2019-08-01 Thread Joan grupoventus
Hello, � With the latest HttpClient5 release the AsyncRequestBuilder class is deprecated. Checking the api docs it’s telling to use ‘AsyncRequestBuilder’ � org.apache.hc.client5.http.async.methods Class AsyncRequestBuilder *

RE: Question about DNSResolver

2019-07-02 Thread Joan grupoventus
Hi, Ok, solved. Instead of implementing a DNS resolver extending the SystemDefaultDnsResolver. Thanks, Joan. -Original Message- From: Joan grupoventus Sent: Tuesday, July 2, 2019 3:57 PM To: 'HttpClient User Discussion' Subject: Question about DNSResolver Hello, We ha

Question about DNSResolver

2019-07-02 Thread Joan grupoventus
Hello, � We have an http pool that is shared by 2 apis: � - The api “A” load balances requests by IP address against a farm of internal servers. In this case we want to resolve the ip addresses by using an in memory dns resolver, and thus bypassing the JRE hostname resolution. - The api “B

RE: Response timeout issue

2019-06-27 Thread Joan grupoventus
, Joan grupoventus wrote: > Hi Oleg, > > Regarding this pending issue about response timeout, I could finally > get traces. > > Our response timeout is set to 2,000ms. This is a request that ended > up with a response timeout: > 62.xxx.xxx.xxx,23:59:47.606,A,1,A,5,A,4,B,,1

RE: Response timeout issue

2019-06-26 Thread Joan grupoventus
Hi Oleg, Regarding this pending issue about response timeout, I could finally get traces. Our response timeout is set to 2,000ms. This is a request that ended up with a response timeout: 62.xxx.xxx.xxx,23:59:47.606,A,1,A,5,A,4,B,,10.15.15.18:8081,,273,569,0,776,http.responseTimeout,23:59:48.382

RE: Response timeout issue

2019-06-07 Thread Joan grupoventus
usually quite big). Is there any way to enable a kind of logging useful for you but avoiding trace the request and response messages? Joan. > Thanks, > > Joan. > > -Original Message----- > From: Oleg Kalnichevski > Sent: Friday, June 7, 2019 4:00 PM > To: HttpClient Us

RE: Response timeout issue

2019-06-07 Thread Joan grupoventus
have to take into account in the ' AsyncResponseConsumer ' to avoid hanging the execution? Thanks, Joan. -Original Message- From: Oleg Kalnichevski Sent: Friday, June 7, 2019 4:00 PM To: HttpClient User Discussion Subject: Re: Response timeout issue On Thu, 2019-06-06 at

RE: Response timeout issue

2019-06-06 Thread Joan grupoventus
Hi again, Not sure if we have seen something strange in the current test with the keep alive connections. It's just a GET method to get a gif (this pool has no keep-alive, that means a 100ms keep-alive). Here the complete http log: https://github.com/joanbalaguero/HttpClient.git (it's the "http

RE: Response timeout issue

2019-06-06 Thread Joan grupoventus
it be 1500 at least? Thanks, Joan. -Original Message- From: Oleg Kalnichevski Sent: Thursday, June 6, 2019 3:15 PM To: HttpClient User Discussion Subject: Re: Response timeout issue On Thu, 2019-06-06 at 14:34 +0200, Joan grupoventus wrote: > No .. that's the point ... we are tryi

RE: Response timeout issue

2019-06-06 Thread Joan grupoventus
Wed, 2019-06-05 at 16:19 +0200, Joan grupoventus wrote: > Hi Oleg, > > Still dealing with this stuck connections. I could get traces from > httpClient5 and we see all connections busy: > 08:12:56.031 ex-00E1DFB8: acquiring connection with route {}-> > http://10.15.15.14:8

RE: Response timeout issue

2019-06-05 Thread Joan grupoventus
where we are leaking these connections. We also uploaded a histogram just with the alive instances from "org.apache.hc" when the pool was exhausted. Any help would be really appreciated. Thanks, Joan. -Original Message- From: Oleg Kalnichevski Sent: Thursday, May 30, 201

RE: Response timeout issue

2019-05-29 Thread Joan grupoventus
Hi Oleg, I'm still trying to manage this with our client ... we are not able to reproduce it in our environment. In the meantime we have come across with another issue. I explain it just to know if you are aware that someone else has experienced something similar with HttpClient5. After 7 days

RE: AsyncResponseConsumer thread stucked

2019-05-09 Thread Joan grupoventus
2019-05-08 at 19:24 +0200, Joan grupoventus wrote: > Hello, > > > > We are having the following issue. Before going deeper (traces, etc) > we would like to explain what we are seeing: > > > > HttpClient5 beta4 and HttpCore beta7 using an AsyncResponseConsu

RE: AsyncResponseConsumer thread stucked

2019-05-09 Thread Joan grupoventus
they don't have entity, 'consume' and 'streamEnd' are not called. What should I do to finish reading the head response and terminate the thread? Thanks, Joan. -----Original Message- From: Joan grupoventus Sent: Wednesday, May 8, 2019 7:24 PM To: &#

AsyncResponseConsumer thread stucked

2019-05-08 Thread Joan grupoventus
Hello, We are having the following issue. Before going deeper (traces, etc) we would like to explain what we are seeing: HttpClient5 beta4 and HttpCore beta7 using an AsyncResponseConsumer. Requesting, via GET method, an image to an api: http://192.168.6.131:80/simbolos/nevera.gif Asy

RE: Socket timeout exception with HttpClient5

2019-04-05 Thread Joan grupoventus
Original Message- From: Oleg Kalnichevski [mailto:ol...@apache.org] Sent: Friday, April 5, 2019 2:59 PM To: HttpClient User Discussion Subject: Re: Socket timeout exception with HttpClient5 On Fri, 2019-04-05 at 14:51 +0200, Joan grupoventus wrote: > Hi Oleg, > > I think I can bring

RE: Socket timeout exception with HttpClient5

2019-04-05 Thread Joan grupoventus
.@apache.org] Sent: Friday, April 5, 2019 9:31 AM To: HttpClient User Discussion Subject: Re: Socket timeout exception with HttpClient5 On Thu, 2019-04-04 at 22:35 +0200, Joan grupoventus wrote: > Hi Oleg, > > Links to 2 log files, one against a https endpoint and another one > aga

RE: Socket timeout exception with HttpClient5

2019-04-04 Thread Joan grupoventus
- From: Joan grupoventus [mailto:joan.balagu...@grupoventus.com] Sent: Thursday, April 4, 2019 8:49 PM To: 'HttpClient User Discussion' Subject: RE: Socket timeout exception with HttpClient5 Hi Oleg, Attached the http client log (finally) for one request that ends up with Socket timeou

RE: Socket timeout exception with HttpClient5

2019-04-04 Thread Joan grupoventus
exception with HttpClient5 On Thu, 2019-04-04 at 20:08 +0200, Joan grupoventus wrote: > Hi Oleg, > > I will not be able to do much without a context / wire log or a test > application reproducing the issue. > > --> Yes, I am aware of this ... I'm getting crazy trying to

RE: Socket timeout exception with HttpClient5

2019-04-04 Thread Joan grupoventus
Hi Oleg, I will not be able to do much without a context / wire log or a test application reproducing the issue. --> Yes, I am aware of this ... I'm getting crazy trying to log the http traffic, no success. That's why I was asking you if you saw something incorrect in our appender/logger confi

RE: Socket timeout exception with HttpClient5

2019-04-04 Thread Joan grupoventus
Hi again, To discard a particular issue with the destination endpoint used, I have tried to send a similar request from this server to another server within the same network. The result is similar, this time is able to read 92313 bytes of 101011 in just 0,26ms and then a wait of 14,75s until re

HttpClient 5

2019-04-03 Thread Joan grupoventus
Hello, Do you have a release date in mind for HttpClient5 GA? Thanks, Joan.