org.jfrog.build.client.VersionException: Error occurred while requesting version information: Unauthorized

JFrog JIRA | Michał Staruch | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When trying to use Bamboo Artifactory Plug-in it doesn't work until Password Encryption Policy is set to Supported instead of the default Required on the Artifactory side (in the Security -> General panel). Error when using Required policy: {quote}Connection failed Error occurred while requesting version information: Unauthorized (java.io.IOException){quote} Stack traces from Bamboo, catalina.out log: {noformat}2015-03-26 13:03:19,276 ERROR [http-bio-8443-exec-20] [ConfigureArtifactoryServerAction] Error while testing the connection to Artifactory server https://mvn.local/artifactory org.jfrog.build.client.VersionException: Error occurred while requesting version information: Unauthorized at org.jfrog.build.client.ArtifactoryBuildInfoClient.verifyCompatibleArtifactoryVersion(ArtifactoryBuildInfoClient.java:317) at org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.testConnection(ConfigureArtifactoryServerAction.java:189) at org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.doUpdate(ConfigureArtifactoryServerAction.java:105) ...{noformat} {noformat}Caused by: java.io.IOException: Unauthorized at org.jfrog.build.client.ArtifactoryHttpClient.getVersion(ArtifactoryHttpClient.java:148) at org.jfrog.build.client.ArtifactoryBuildInfoClient.verifyCompatibleArtifactoryVersion(ArtifactoryBuildInfoClient.java:315) ... 239 more{noformat}

    JFrog JIRA | 2 years ago | Micha?? Staruch
    org.jfrog.build.client.VersionException: Error occurred while requesting version information: Unauthorized
  2. 0

    When trying to use Bamboo Artifactory Plug-in it doesn't work until Password Encryption Policy is set to Supported instead of the default Required on the Artifactory side (in the Security -> General panel). Error when using Required policy: {quote}Connection failed Error occurred while requesting version information: Unauthorized (java.io.IOException){quote} Stack traces from Bamboo, catalina.out log: {noformat}2015-03-26 13:03:19,276 ERROR [http-bio-8443-exec-20] [ConfigureArtifactoryServerAction] Error while testing the connection to Artifactory server https://mvn.local/artifactory org.jfrog.build.client.VersionException: Error occurred while requesting version information: Unauthorized at org.jfrog.build.client.ArtifactoryBuildInfoClient.verifyCompatibleArtifactoryVersion(ArtifactoryBuildInfoClient.java:317) at org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.testConnection(ConfigureArtifactoryServerAction.java:189) at org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.doUpdate(ConfigureArtifactoryServerAction.java:105) ...{noformat} {noformat}Caused by: java.io.IOException: Unauthorized at org.jfrog.build.client.ArtifactoryHttpClient.getVersion(ArtifactoryHttpClient.java:148) at org.jfrog.build.client.ArtifactoryBuildInfoClient.verifyCompatibleArtifactoryVersion(ArtifactoryBuildInfoClient.java:315) ... 239 more{noformat}

    JFrog JIRA | 2 years ago | Michał Staruch
    org.jfrog.build.client.VersionException: Error occurred while requesting version information: Unauthorized

    Root Cause Analysis

    1. org.jfrog.build.client.VersionException

      Error occurred while requesting version information: Unauthorized

      at org.jfrog.build.client.ArtifactoryBuildInfoClient.verifyCompatibleArtifactoryVersion()
    2. org.jfrog.build
      ArtifactoryBuildInfoClient.verifyCompatibleArtifactoryVersion
      1. org.jfrog.build.client.ArtifactoryBuildInfoClient.verifyCompatibleArtifactoryVersion(ArtifactoryBuildInfoClient.java:317)
      1 frame
    3. org.jfrog.bamboo
      ConfigureArtifactoryServerAction.doUpdate
      1. org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.testConnection(ConfigureArtifactoryServerAction.java:189)
      2. org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.doUpdate(ConfigureArtifactoryServerAction.java:105)
      2 frames