Uploaded image for project: 'Community Support - Maven Central'
  1. Community Support - Maven Central
  2. MVNCENTRAL-631

Upload fails for files over 40-50MB

    XMLWordPrintable

    Details

      Description

      When uploading files to Maven Central for flyway 3.2 using the maven deploy plugin, I hit the following error every time:

      Uploading: http://oss.sonatype.org/service/local/staging/deploy/maven2/org/flywaydb/flyway-commandline/3.2/flyway-commandline-3.2-windows-x64.zip
      Mõr 08, 2015 1:13:22 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
      INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://oss.sonatype.org:80: Connection reset by peer: socket write error
      Mõr 08, 2015 1:13:22 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
      INFO: Retrying request to {}->http://oss.sonatype.org:80
      Mõr 08, 2015 1:13:55 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
      INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://oss.sonatype.org:80: Connection reset by peer: socket write error
      Mõr 08, 2015 1:13:55 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
      INFO: Retrying request to {}->http://oss.sonatype.org:80
      Mõr 08, 2015 1:14:28 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
      INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://oss.sonatype.org:80: Connection reset by peer: socket write error
      Mõr 08, 2015 1:14:28 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute
      INFO: Retrying request to {}->http://oss.sonatype.org:80

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project flyway-sbt-largetest: Failed to deploy
      artifacts: Could not transfer artifact org.flywaydb:flyway-commandline:zip:windows-x64:3.2 from/to sonatype-nexus-staging (http://oss.sonatype.org/service/l
      ocal/staging/deploy/maven2/): Connection reset by peer: socket write error -> [Help 1]

      Using
      <extension>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-http</artifactId>
      <version>2.8</version>
      </extension>

      File size: 48.1 MB

      Upload via the OSSRH Nexus GUI works fine.

      I have tried this many times and it fails every single time. All other smaller files always succeed.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            axel.fontaine Axel Fontaine
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                tigCommentSecurity.panel-title