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

JFrog JIRA | Matan Katz | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 1 year 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 | 1 year ago | Matan Katz
    java.lang.IllegalArgumentException: Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized
  3. 0

    Hi JFROG, When i try to configure the external remote repository from nexus for the first time, it works and i am able to see my repository getting reflected in the artifcatory. But when i click on the replication link given. It throws me an error saying HTTP 404. Error log Unable to identify target URL as an Artifactory instance: HTTP/1.1 404 Not Found java.lang.IllegalArgumentException: Unable to identify target URL as an Artifactory instance: HTTP/1.1 404 Not Found at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.executeRequestAndSetDetails(TargetServerInfoResolver.java:95) ~[artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.resolveTargetInfo(TargetServerInfoResolver.java:49) ~[artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.resolveTargetInfo(BaseReplicationProducer.java:92) ~[artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.run(BaseReplicationProducer.java:78) ~[artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:56) [artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:29) [artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.addon.replication.core.ReplicationAddonImpl.performRemoteReplication(ReplicationAddonImpl.java:95) [artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.repo.replication.RemoteReplicationJob.onExecute(RemoteReplicationJob.java:101) [artifactory-core-4.14.3.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:52) [artifactory-storage-common-4.14.3.jar: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:104) [artifactory-storage-common-4.14.3.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_101] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]

    JFrog JIRA | 5 months ago | abhineet
    java.lang.IllegalArgumentException: Unable to identify target URL as an Artifactory instance: HTTP/1.1 404 Not Found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Universal Image Loader : IllegalArgumentException when using FileNameGenerator with extension

    Stack Overflow | 2 years ago
    java.lang.IllegalArgumentException: keys must match regex [a-z0-9_-] {1,64}: "1828294.jpg" at com.nostra13.universalimageloader.cache.disc.impl.ext.DiskLruCache.valida teKey(DiskLruCache.java:697) at com.nostra13.universalimageloader.cache.disc.impl.ext.DiskLruCache.get(Di skLruCache.java:414) at com.nostra13.universalimageloader.cache.disc.impl.ext.LruDiscCache.get(Lr uDiscCache.java:133) at com.nostra13.universalimageloader.core.ImageLoaderEngine$1.run(ImageLoade rEngine.java:72) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java :1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav a:587)
  6. 0

    [elasticsearch] elasticsearch couchdb-river startup issues - Grokbase

    grokbase.com | 9 months ago
    java.lang.IllegalArgumentException: URI can't be null. at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:141) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:925) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299) at org.elasticsearch.river.couchdb.CouchdbRiver$Slurper.run(CouchdbRiver.java:468)

    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