maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <>
Subject [jira] [Commented] (MNG-6199) Maven does not attempt to reconnect reset connections
Date Tue, 04 Apr 2017 11:56:41 GMT


Michael Osipov commented on MNG-6199:

Log inspected and it confirms my assumption:
last successful use of {{http-outgoing-10}} was Tue, 04 Apr 2017 10:12:12 GMT. Right after
2017-04-04 10:18:16.512 the connection was reused and failed with a reset. All other connections
failed too because they were too old. We have 6 min diff. The {{SO_KEEPALIVE}} is pointless
because we cannot manipulate the socket keepalive interval from Java. Default is 2 h on most
operating systems.

I have reupdated the JAR with a different patch. Please retry.

> Maven does not attempt to reconnect reset connections
> -----------------------------------------------------
>                 Key: MNG-6199
>                 URL:
>             Project: Maven
>          Issue Type: Bug
>            Reporter: Martin MyslĂ­k
>         Attachments: build-failure-maven-3.5.0-patched-debug.txt, build-failure-vanilla.txt,
build-success-keep-alive-false.txt, build-success-pooling-false.txt
> I was recently discussing and issue with Atlassian team concerning failing build on Atlassian
Pipelines when running Maven build for more than 5 minutes.
> The issue was with NAT timeout which kills all idle connections after 5 mintues and Maven
does not try to reconnect once the connection is killed (and hence cannot download artifacts
from Maven central).
> Please, take a look at the open issue (it contains more detailed description and also
comments from Atlassian which suggested opening an issue with Maven):
> Could you, please, take a minute and explain how could proceed with solving this issue?
I am not sure whether this is something that Maven should handle or whether it is Atlassians
> Thank you for your input. 
> This is the link to my public repo with test project running tests for 15 mintues. This
build fails on Pipelines because of Maven connection that is being killed during the test:

This message was sent by Atlassian JIRA

View raw message