Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-486

Wagon fails to download artifacts if number of dropped pooled connections (by intermediate) are greater than default retry count

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.2.0
    • Component/s: wagon-http, wagon-webdav
    • Labels:
      None

      Description

      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): https://bitbucket.org/site/master/issues/13988/pipelines-kills-idle-maven-connections

      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 issue.

      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: https://bitbucket.org/Smedzlatko/del-me

        Attachments

        1. build-failure-vanilla.txt
          757 kB
          Martin Myslík
        2. build-success-keep-alive-false.txt
          951 kB
          Martin Myslík
        3. build-success-pooling-false.txt
          858 kB
          Martin Myslík
        4. build-failure-maven-3.5.0-patched-debug.txt
          3.57 MB
          Martin Myslík
        5. build-failure-maven-3.5.0-patched-debug-updated.txt
          3.55 MB
          Martin Myslík
        6. build-success-maven-3.5.0-patched-debug.txt
          4.71 MB
          Martin Myslík
        7. dump.pcap
          42.89 MB
          Martin Myslík
        8. dump-failed-build.pcap
          28.44 MB
          Martin Myslík

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                m.myslik Martin Myslík
              • Votes:
                2 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: