Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-11902

Client Receives Connection Resets

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Deferred
    • Affects Version/s: 4.7.7
    • Fix Version/s: None
    • Component/s: None
    • Severity:
      Critical
    • Regression:
      Yes

      Description

      Hello,

      We had attempted to do an upgrade from 3.4.0 to 4.7.7 this past weekend in our company. At first, it seemed that things were working okay. Unfortunately, we found that we were seeing intermittent failures when publishing (deploying) artifacts from our Jenkins/Ant build jobs.

      I did as much debugging as possible through all Artifactory logs. I found no errors in their logs and saw that the artifacts were being accepted for deploy. However, here is the output from my ant job that is sometimes failing:

      publish:
      [echo] Publishing artifact module company-enterprise-logging with revision 2.0.0-RC-22 to resolver rc-local
      [ivy:publish] :: delivering :: com.company.logging#company-enterprise-logging;2.0.0 :: 2.0.0-RC-22 :: integration :: Mon Jul 11 10:06:10 CDT 2016
      [ivy:publish] delivering ivy file to D:\Jenkins\jobs\architecture-enterpriselogging-log4j2-build\workspace\companyEnterpriseLoggingLog4j2\build\ivys\company-enterprise-logging-2.0.0-RC-22.xml
      [ivy:publish] :: publishing :: com.company.logging#company-enterprise-logging
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      [ivy:publish] published company-enterprise-logging to https://artifactory.company.com/artifactory/rc-local/com/company/logging/company-enterprise-logging/2.0.0-RC-22/company-enterprise-logging-2.0.0-RC-22.jar
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      [ivy:publish] published company-enterprise-logging to https://artifactory.company.com/artifactory/rc-local/com/company/logging/company-enterprise-logging/2.0.0-RC-22/company-enterprise-logging-2.0.0-RC-22.pom
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      [ivy:publish] published company-enterprise-logging to https://artifactory.company.com/artifactory/rc-local/com/company/logging/company-enterprise-logging/2.0.0-RC-22/company-enterprise-logging-2.0.0-RC-22-sources.jar
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      [ivy:publish] published company-enterprise-logging to https://artifactory.company.com/artifactory/rc-local/com/company/logging/company-enterprise-logging/2.0.0-RC-22/company-enterprise-logging-2.0.0-RC-22-javadoc.jar
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected
      Jul 11, 2016 10:06:10 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
      INFO: Basic authentication scheme selected

      BUILD FAILED
      D:\Jenkins\jobs\architecture-enterpriselogging-log4j2-build\workspace\CommonBuildAnt\common-build.xml:1178: impossible to publish artifacts for com.company.logging#company-enterprise-logging;2.0.0: java.net.SocketException: Software caused connection abort: recv failed
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:152)
      at java.net.SocketInputStream.read(SocketInputStream.java:122)
      at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
      at sun.security.ssl.InputRecord.read(InputRecord.java:480)
      at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:934)
      at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:891)
      at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
      at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170)
      at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:184)
      at org.apache.commons.httpclient.ChunkedInputStream.exhaustInputStream(ChunkedInputStream.java:369)
      at org.apache.commons.httpclient.ContentLengthInputStream.close(ContentLengthInputStream.java:118)
      at java.io.FilterInputStream.close(FilterInputStream.java:181)
      at org.apache.commons.httpclient.AutoCloseInputStream.notifyWatcher(AutoCloseInputStream.java:194)
      at org.apache.commons.httpclient.AutoCloseInputStream.close(AutoCloseInputStream.java:158)
      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:205)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
      at org.apache.ivy.util.url.HttpClientHandler.upload(HttpClientHandler.java:137)
      at org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:82)
      at org.apache.ivy.util.FileUtil.copy(FileUtil.java:283)
      at org.apache.ivy.plugins.repository.url.URLRepository.put(URLRepository.java:84)
      at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
      at org.apache.ivy.plugins.resolver.RepositoryResolver.putChecksum(RepositoryResolver.java:250)
      at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:236)
      at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:215)
      at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:281)
      at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:260)
      at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:172)
      at org.apache.ivy.Ivy.publish(Ivy.java:621)
      at org.apache.ivy.ant.IvyPublish.doExecute(IvyPublish.java:311)
      at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:271)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      at org.apache.tools.ant.Task.perform(Task.java:348)
      at org.apache.tools.ant.Target.execute(Target.java:435)
      at org.apache.tools.ant.Target.performTasks(Target.java:456)
      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
      at org.apache.tools.ant.Main.runBuild(Main.java:853)
      at org.apache.tools.ant.Main.startAnt(Main.java:235)
      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              albernhagen Andrew Bernhagen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-11902 -
                  SYNCHRONIZED
                  • Last Sync Date: