Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-16430

Connection reset when uploading large file using Apache Ivy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.1
    • Fix Version/s: 3.13.0
    • Component/s: Maven
    • Labels:
    • Environment:
      Linux
    • Story Points:
      1

      Description

      Not entierly sure if this is bug or not.

      We had a build job which uploaded a few fairly large (~200Mb) artifacts to artifacts to nexus 2 with apache ivy. After upgrade this build job will not work any more.

      The reason is that Ivy cannot be set to authenticate preemptively to nexus. So what happens is that ivy immediately sends the request without authentication header to nexus and eventually nexus times out with a "connection reset" error. Nexus is trying to read the request to be able to reply back with a WWW-Authenticate response, but instead just resets the connection.

      If however the same request is made with authentication header, then the nexus will not time out, and everything will work as expected.

      It seems to me that there are two different timeouts being used here. And no apparent way to configure any of them.

       

      Using Nexus 3.7.1

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jbryan Jeremy Bryan
              Reporter:
              arvidj Arvid Johansson
              Last Updated By:
              Peter Lynch
              Team:
              Nexus - Core
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title