java.lang.IllegalArgumentException: Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized

JFrog JIRA | Matan Katz | 8 months ago
  1. 0

    Setting pull replication for remote repository with wrong credentials throws an exception to artifactory.log. The Exception occurs due to 401 response to the version request. {code} 2016-04-05 14:52:48,732 [art-exec-186] [ERROR] (o.a.a.c.BasicStatusHolder:201) Error occurred while performing folder replication for 'matankaol:': Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized java.lang.IllegalArgumentException: Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.executeRequestAndSetDetails(TargetServerInfoResolver.java:108) ~[classes/:na] at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.resolveTargetInfo(TargetServerInfoResolver.java:61) ~[classes/:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.resolveTargetInfo(BaseReplicationProducer.java:103) ~[classes/:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.run(BaseReplicationProducer.java:89) ~[classes/:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:68) [classes/:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:41) [classes/:na] at org.artifactory.addon.replication.core.ReplicationAddonImpl.performRemoteReplication(ReplicationAddonImpl.java:104) [classes/:na] at org.artifactory.repo.replication.RemoteReplicationJob.onExecute(RemoteReplicationJob.java:96) [classes/:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:50) [classes/:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.2.1.jar:na] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:102) [classes/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_65] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] {code}

    JFrog JIRA | 8 months ago | Matan Katz
    java.lang.IllegalArgumentException: Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized
  2. 0

    Setting pull replication for remote repository with wrong credentials throws an exception to artifactory.log. The Exception occurs due to 401 response to the version request. {code} 2016-04-05 14:52:48,732 [art-exec-186] [ERROR] (o.a.a.c.BasicStatusHolder:201) Error occurred while performing folder replication for 'matankaol:': Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized java.lang.IllegalArgumentException: Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.executeRequestAndSetDetails(TargetServerInfoResolver.java:108) ~[classes/:na] at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.resolveTargetInfo(TargetServerInfoResolver.java:61) ~[classes/:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.resolveTargetInfo(BaseReplicationProducer.java:103) ~[classes/:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.run(BaseReplicationProducer.java:89) ~[classes/:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:68) [classes/:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:41) [classes/:na] at org.artifactory.addon.replication.core.ReplicationAddonImpl.performRemoteReplication(ReplicationAddonImpl.java:104) [classes/:na] at org.artifactory.repo.replication.RemoteReplicationJob.onExecute(RemoteReplicationJob.java:96) [classes/:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:50) [classes/:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.2.1.jar:na] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:102) [classes/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_65] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] {code}

    JFrog JIRA | 8 months ago | Matan Katz
    java.lang.IllegalArgumentException: Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized
  3. 0

    mongodb hadoop connector

    Google Groups | 4 years ago | Zhu Wayne
    org.apache.pig.backend.executionengine.ExecException: ERROR 2118: Unable to calculate input splits: unauthorized
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    pride list command fails for subversion modules

    GitHub | 2 years ago | coenwouters
    java.lang.IllegalArgumentException: Unable to parse URL: http://subversion.planon-fm.com/svn/planon-gradle
  6. 0

    Deployment error :: Oracle Identity Analytics 11.1.1.5 PS1 on Weblogic 11g

    Oracle Community | 5 years ago | 841373
    java.lang.IllegalArgumentException: Handle does not identify an AppDeploymentMBean

    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.lang.IllegalArgumentException

      Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized

      at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.executeRequestAndSetDetails()
    2. org.artifactory.addon
      ReplicationAddonImpl.performRemoteReplication
      1. org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.executeRequestAndSetDetails(TargetServerInfoResolver.java:108)[classes/:na]
      2. org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.resolveTargetInfo(TargetServerInfoResolver.java:61)[classes/:na]
      3. org.artifactory.addon.replication.core.BaseReplicationProducer.resolveTargetInfo(BaseReplicationProducer.java:103)[classes/:na]
      4. org.artifactory.addon.replication.core.BaseReplicationProducer.run(BaseReplicationProducer.java:89)[classes/:na]
      5. org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:68)[classes/:na]
      6. org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:41)[classes/:na]
      7. org.artifactory.addon.replication.core.ReplicationAddonImpl.performRemoteReplication(ReplicationAddonImpl.java:104)[classes/:na]
      7 frames
    3. org.artifactory.repo
      RemoteReplicationJob.onExecute
      1. org.artifactory.repo.replication.RemoteReplicationJob.onExecute(RemoteReplicationJob.java:96)[classes/:na]
      1 frame
    4. org.artifactory.schedule
      QuartzCommand.execute
      1. org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:50)[classes/:na]
      1 frame
    5. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)[quartz-2.2.1.jar:na]
      1 frame
    6. org.artifactory.schedule
      ArtifactoryConcurrentExecutor$RunnableWrapper.run
      1. org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:102)[classes/:na]
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_65]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_65]
      3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_65]
      3 frames