RE: Unreliable TCP and retries for maven publish

2023-05-23 Thread Finkelman, Jacob
Sent: Tuesday, May 23, 2023 3:45 PM To: Maven Developers List Cc: jfink...@amazon.com.invalid Subject: RE: Unreliable TCP and retries for maven publish Jacob, in this stack it is not checksum transport that failed but maven metadata (maven-metadata.xml upload), while the server error is

Re: Unreliable TCP and retries for maven publish

2023-05-23 Thread Tamás Cservenák
nsport.http.HttpTransporter.implPut > (HttpTransporter.java:353) > at org.eclipse.aether.spi.connector.transport.AbstractTransporter.put > (AbstractTransporter.java:106) > at > org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.runTask > (BasicRepo

RE: Unreliable TCP and retries for maven publish

2023-05-23 Thread Finkelman, Jacob
: RE: Unreliable TCP and retries for maven publish On 2023/05/22 16:29:05 "Finkelman, Jacob" wrote: > Would changing that type signature automatically add retries for the > checksums when using the wagon transport? If not, what else would need to be > done to add retries? Would

RE: Unreliable TCP and retries for maven publish

2023-05-23 Thread Finkelman, Jacob
ssage- From: Tamás Cservenák Sent: Tuesday, May 23, 2023 5:36 AM To: jfink...@amazon.com.invalid Cc: dev@maven.apache.org Subject: RE: Unreliable TCP and retries for maven publish Jacob, Could you show a stack how build fails when there is only 1 checksum in play? (the -Daether.checksums.a

Re: Unreliable TCP and retries for maven publish

2023-05-23 Thread Tamás Cservenák
Created https://issues.apache.org/jira/browse/MRESOLVER-361 to track the issue. On Fri, May 19, 2023 at 11:27 PM Finkelman, Jacob wrote: > During a maven publish if the server closes the TCP connection after the > upload of an asset sometimes the publish will fail with a failed to respond > whil

Re: Unreliable TCP and retries for maven publish

2023-05-23 Thread Tamás Cservenák
Jacob, Could you show a stack how build fails when there is only 1 checksum in play? (the -Daether.checksums.algorithms=MD5 case). Thanks T On Fri, May 19, 2023 at 11:27 PM Finkelman, Jacob wrote: > During a maven publish if the server closes the TCP connection after the > upload of an asset

RE: Unreliable TCP and retries for maven publish

2023-05-23 Thread Michael Osipov
On 2023/05/22 16:29:05 "Finkelman, Jacob" wrote: > Would changing that type signature automatically add retries for the > checksums when using the wagon transport? If not, what else would need to be > done to add retries? Would that help with the native transport at all? Yes, fixing the closed i

RE: Unreliable TCP and retries for maven publish

2023-05-22 Thread Finkelman, Jacob
:34 PM To: dev@maven.apache.org Subject: RE: Unreliable TCP and retries for maven publish Am 2023-05-19 um 23:27 schrieb Finkelman, Jacob: > During a maven publish if the server closes the TCP connection after the > upload of an asset sometimes the publish will fail with a failed to r

Re: Unreliable TCP and retries for maven publish

2023-05-19 Thread Michael Osipov
Am 2023-05-19 um 23:27 schrieb Finkelman, Jacob: During a maven publish if the server closes the TCP connection after the upload of an asset sometimes the publish will fail with a failed to respond while attempting to upload the checksum. Speaking of checksum, here is your concrete problem:

Unreliable TCP and retries for maven publish

2023-05-19 Thread Finkelman, Jacob
During a maven publish if the server closes the TCP connection after the upload of an asset sometimes the publish will fail with a failed to respond while attempting to upload the checksum. The correct behavior to wanting to send more HTTP requests on a closed TCP connection, is to open a new TC