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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JFrog JIRA by Matan Katz, 1 year ago
Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized
via JFrog JIRA by Matan Katz, 1 year ago
Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized
via JFrog JIRA by abhineet, 11 months ago
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 401 Unauthorized
at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.executeRequestAndSetDetails(TargetServerInfoResolver.java:108)
at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.resolveTargetInfo(TargetServerInfoResolver.java:61)
at org.artifactory.addon.replication.core.BaseReplicationProducer.resolveTargetInfo(BaseReplicationProducer.java:103)
at org.artifactory.addon.replication.core.BaseReplicationProducer.run(BaseReplicationProducer.java:89)
at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:68)
at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:41)
at org.artifactory.addon.replication.core.ReplicationAddonImpl.performRemoteReplication(ReplicationAddonImpl.java:104)
at org.artifactory.repo.replication.RemoteReplicationJob.onExecute(RemoteReplicationJob.java:96)
at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:50)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:102)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.