Re: Connection timeouts during GitHub Actions with Maven 3.9.x

2023-03-27 Thread Tamás Cservenák
Ability to set max TTL added to PR, please recheck. T On Mon, Mar 27, 2023 at 1:22 PM Michael Vitz wrote: > From my perspective, disabling the pooling (like the PR does) OR having the > ability to set a time to live (TTL) for the pooled connections, should be > good enough for tackling the curr

Re: Connection timeouts during GitHub Actions with Maven 3.9.x

2023-03-27 Thread Michael Vitz
>From my perspective, disabling the pooling (like the PR does) OR having the ability to set a time to live (TTL) for the pooled connections, should be good enough for tackling the current problem. Michael Am Mo., 27. März 2023 um 12:41 Uhr schrieb Tamás Cservenák < ta...@cservenak.net>: > Creat

Re: Connection timeouts during GitHub Actions with Maven 3.9.x

2023-03-27 Thread Tamás Cservenák
Created https://github.com/apache/maven-resolver/pull/274 T On Mon, Mar 27, 2023 at 11:04 AM Tamás Cservenák wrote: > In this case, is "configuration of pool" (I guess you mean like sizes etc) > really needed? > Would "use pool" (on/off) enough instead? > > T > > On Mon, Mar 27, 2023 at 10:54 A

Re: Connection timeouts during GitHub Actions with Maven 3.9.x

2023-03-27 Thread Tamás Cservenák
In this case, is "configuration of pool" (I guess you mean like sizes etc) really needed? Would "use pool" (on/off) enough instead? T On Mon, Mar 27, 2023 at 10:54 AM Michael Vitz wrote: > Yes, it seems the isStale-Implementation of BHttpConnectionBase > > ``` > @Override > public boole

Re: Connection timeouts during GitHub Actions with Maven 3.9.x

2023-03-27 Thread Michael Vitz
Yes, it seems the isStale-Implementation of BHttpConnectionBase ``` @Override public boolean isStale() throws IOException { if (!isOpen()) { return true; } try { final int bytesRead = fillInputBuffer(Timeout.ofMilliseconds(1)); re

Re: Connection timeouts during GitHub Actions with Maven 3.9.x

2023-03-27 Thread Konrad Windszus
Thanks for the reproducer and sorry for not reading thoroughly before. Indeed the connection pool is not configurable yet with the native connector. According to https://hc.apache.org/httpcomponents-client-4.5.x/current/httpclient/apidocs/org/apache/http/impl/conn/PoolingHttpClientConnectionMana

Re: Connection timeouts during GitHub Actions with Maven 3.9.x

2023-03-27 Thread Michael Vitz
Hi Konrad, The only two timeout related properties are aether.connector.requestTimeout and aether.connector.connectTimeout. Both do not solve my problem. I created a GitHub project ( https://github.com/mvitz/maven-39-gh-actions-timeouts) which reproduces the problem. It declares many dependencies

Re: Connection timeouts during GitHub Actions with Maven 3.9.x

2023-03-26 Thread Konrad Windszus
The timeouts are configurable even with new native connector: https://maven.apache.org/resolver/configuration.html. Please try if those settings help. Konrad > Am 25.03.2023 um 15:08 schrieb Michael Vitz > : > > Hi all, > > We recently switched from Maven 3.8.x to 3.9.x and all of a sudden,

Re: Connection timeouts during GitHub Actions with Maven 3.9.x

2023-03-24 Thread Michael Vitz
Hi Tamas, it occurs with 3.9.0 and 3.9.1. I hoped that the retry fix in 3.9.1 would solve the problem, but unfortunately it didn't. Regards, Michael Am Fr., 24. März 2023 um 15:11 Uhr schrieb Tamás Cservenák < ta...@cservenak.net>: > Howdy, > > you did not specify which version exactly are you

Re: Connection timeouts during GitHub Actions with Maven 3.9.x

2023-03-24 Thread Tamás Cservenák
Howdy, you did not specify which version exactly are you referring to? As 3.9.x now have: - 3.9.0 - 3.9.1 And the latter is recommended to be used, especially in the Azure environment. HTH Tamas On Fri, Mar 24, 2023, 14:19 Michael Vitz wrote: > Hi all, > > We recently switched from Maven 3.8.