java.io.IOException: Failed to send build info: Unauthorized

JFrog JIRA | Evgeny Goldin | 6 years ago
  1. 0

    We have a setup where both Hudson and Artifactory are running anonymously. Hudson jobs deploy to Artifactory using Hudson plugin. It worked fine with Artifactory 2.2.4 and Hudson plugin 1.1.0 After switching to 2.2.5 and 1.2.0 it now fails: {code} [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 minutes 43 seconds [INFO] Finished at: Wed Jul 28 00:17:16 IDT 2010 [INFO] Final Memory: 87M/302M [INFO] ------------------------------------------------------------------------ channel stopped Deploying artifacts to http://localhost:8081/dps Deploying artifacts of module: deals:aurora Deploying artifact: http://localhost:8081/dps/dps-releases/deals/aurora/1/aurora-1.jar Deploying artifact: http://localhost:8081/dps/dps-releases/deals/aurora/1/aurora-1.pom Deploying artifact: http://localhost:8081/dps/dps-releases/deals/aurora/1/aurora-1.tar Deploying build info ... ERROR: Failed to send build info: Unauthorized java.io.IOException: Failed to send build info: Unauthorized at org.jfrog.build.client.ArtifactoryBuildInfoClient.sendBuildInfo(ArtifactoryBuildInfoClient.java:221) at org.jfrog.hudson.BuildInfoDeployer.deploy(BuildInfoDeployer.java:77) at org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:130) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:610) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1280) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) Finished: FAILURE {code} Rolling back to 2.2.4 and 1.2.0 works Ok.

    JFrog JIRA | 6 years ago | Evgeny Goldin
    java.io.IOException: Failed to send build info: Unauthorized
  2. 0

    We have a setup where both Hudson and Artifactory are running anonymously. Hudson jobs deploy to Artifactory using Hudson plugin. It worked fine with Artifactory 2.2.4 and Hudson plugin 1.1.0 After switching to 2.2.5 and 1.2.0 it now fails: {code} [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 minutes 43 seconds [INFO] Finished at: Wed Jul 28 00:17:16 IDT 2010 [INFO] Final Memory: 87M/302M [INFO] ------------------------------------------------------------------------ channel stopped Deploying artifacts to http://localhost:8081/dps Deploying artifacts of module: deals:aurora Deploying artifact: http://localhost:8081/dps/dps-releases/deals/aurora/1/aurora-1.jar Deploying artifact: http://localhost:8081/dps/dps-releases/deals/aurora/1/aurora-1.pom Deploying artifact: http://localhost:8081/dps/dps-releases/deals/aurora/1/aurora-1.tar Deploying build info ... ERROR: Failed to send build info: Unauthorized java.io.IOException: Failed to send build info: Unauthorized at org.jfrog.build.client.ArtifactoryBuildInfoClient.sendBuildInfo(ArtifactoryBuildInfoClient.java:221) at org.jfrog.hudson.BuildInfoDeployer.deploy(BuildInfoDeployer.java:77) at org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:130) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:610) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1280) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) Finished: FAILURE {code} Rolling back to 2.2.4 and 1.2.0 works Ok.

    JFrog JIRA | 6 years ago | Evgeny Goldin
    java.io.IOException: Failed to send build info: Unauthorized
  3. 0

    Error deploying artifacts to Artifactory; error 500

    Google Groups | 6 years ago | mauras
    java.io.IOException: Failed to send build info: HTTP response code: 500. HTTP response message: Invalid UTF-8 middle byte 0x63 at [Source: org.mortbay.jetty.HttpParser$Input@1f1a781; line: 6, column: 30]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    artifactory - cannot deselect publish build info

    Google Groups | 4 years ago | Russ Tremain
    java.io.IOException: Failed to send build info: HTTP response code: 403. HTTP response message: Forbidden
  6. 0

    Artifactory Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 2 months ago
    java.io.IOException: Failed to send build info: OK

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Failed to send build info: Unauthorized

      at org.jfrog.build.client.ArtifactoryBuildInfoClient.sendBuildInfo()
    2. org.jfrog.build
      ArtifactoryBuildInfoClient.sendBuildInfo
      1. org.jfrog.build.client.ArtifactoryBuildInfoClient.sendBuildInfo(ArtifactoryBuildInfoClient.java:221)
      1 frame
    3. org.jfrog.hudson
      ArtifactoryRedeployPublisher.perform
      1. org.jfrog.hudson.BuildInfoDeployer.deploy(BuildInfoDeployer.java:77)
      2. org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:130)
      2 frames
    4. Hudson
      AbstractBuild$AbstractRunner.performAllBuildSteps
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      3 frames
    5. Hudson Maven Embedder
      MavenModuleSetBuild$RunnerImpl.post2
      1. hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:610)
      1 frame
    6. Hudson
      Run.run
      1. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      2. hudson.model.Run.run(Run.java:1280)
      2 frames
    7. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318)
      1 frame
    8. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:129)
      2 frames