java.io.IOException: PUT operation to URL http://<server ip>/artifactory/<repo>/com/<company>/<package>_2.11/1.0/<package>_2.11-1.0.jar failed with status code 301: Moved Permanently


Solutions on the web

Solution icon of stackoverflow
PUT operation to URL http://<server ip>/artifactory/<repo>/com/<company>/<package>_2.11/1.0/<package>_2.11-1.0.jar failed with status code 301: Moved Permanently

Solution icon of sonatype
via Sonatype JIRA by Durga Sahoo, 10 months ago
Access to URL https://oss.sonatype.org/service/local/staging/deploy/maven2/com/flipkart/connekt/concord_2.11/0.2.0/concord_2.11-0.2.0.pom was refused by the server: Unauthorized

Solution icon of sonatype
via Sonatype JIRA by Akara Sucharitakul, 1 year ago
Access to URL https://oss.sonatype.org/content/repositories/snapshots/org/squbs/squbs-httpclient_2.11/0.7.2-SNAPSHOT/squbs-httpclient_2.11-0.7.2-SNAPSHOT.jar.asc was refused by the server: Unauthorized

Solution icon of sonatype
via Sonatype JIRA by Valentin Kasas, 1 year ago
Access to URL https://oss.sonatype.org/content/repositories/snapshots/io/kanaka/play-monadic-actions_2.11/1.1.0-SNAPSHOT/play-monadic-actions_2.11-1.1.0-SNAPSHOT.jar.asc was refused by the server: Unauthorized

Solution icon of stackoverflow
PUT operation to URL http://ip:8888/artifactory/libs-snapshot-local/com/test/dummy/1.0/project-1.0-SNAPSHOT.apk failed with status code 500: Failed to save resource 'libs-snapshot-local:com/test/dummy/1.0/project-1.0-SNAPSHOT.apk'.

Solution icon of jfrog
via JFrog JIRA by John Chee, 1 year ago
PUT operation to URL http://artifactory. ... .com/libs-releases-local/com/example/jchee-test/0.0.1/jchee-test-0.0.1.pom failed with status code 409: Conflict

Solution icon of jfrog
via JFrog JIRA by John Chee, 1 year ago
PUT operation to URL http://artifactory. ... .com/libs-releases-local/com/example/jchee-test/0.0.1/jchee-test-0.0.1.pom failed with status code 409: Conflict

Solution icon of stackoverflow
PUT operation to URL http://myserver.com/repository/com.mycompany/projectA/1.0/ivy-1.0.xml failed with status code 405: Method Not Allowed

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
PUT operation to URL http://nilvon9wo.github.io/Ean2Barcode PlayModule/net/nowhereatall/playforscala/ean2barcodeplaymodule_2.11/1.0-SNAPSHOT /ean2barcodeplaymodule_2.11-1.0-SNAPSHOT.pom failed with status code 405: Not Al lowed

Solution icon of stackoverflow
via Stack Overflow by KyBe
, 7 months ago
Access to URL http://artifacts.xxxx.net/artifactory/sbt/project/project/1.0/project-1.0.jar was refused by the server: Unauthorized

Stack trace

java.io.IOException: PUT operation to URL http://<server ip>/artifactory/<repo>/com/<company>/<package>_2.11/1.0/<package>_2.11-1.0.jar failed with status code 301: Moved Permanently
	at org.apache.ivy.util.url.AbstractURLHandler.validatePutStatusCode(AbstractURLHandler.java:82)
	at org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:264)
	at org.apache.ivy.util.FileUtil.copy(FileUtil.java:150)
	at org.apache.ivy.plugins.repository.url.URLRepository.put(URLRepository.java:84)
	at sbt.ConvertResolver$LocalIfFileRepo.put(ConvertResolver.scala:243)
	at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
	at sbt.ConvertResolver$ChecksumFriendlyURLResolver$class.put(ConvertResolver.scala:81)
	at sbt.ConvertResolver$$anonfun$defaultConvert$1$PluginCapableResolver$1.put(ConvertResolver.scala:115)
	at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:216)
	at sbt.IvyActions$$anonfun$publish$3.apply(IvyActions.scala:336)
	at sbt.IvyActions$$anonfun$publish$3.apply(IvyActions.scala:335)
	at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772)
	at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
	at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:771)
	at sbt.IvyActions$.publish(IvyActions.scala:335)
	at sbt.IvyActions$$anonfun$publish$1$$anonfun$apply$1.apply$mcV$sp(IvyActions.scala:121)
	at sbt.IvyActions$$anonfun$publish$1$$anonfun$apply$1.apply(IvyActions.scala:121)
	at sbt.IvyActions$$anonfun$publish$1$$anonfun$apply$1.apply(IvyActions.scala:121)
	at sbt.IvyActions$.withChecksums(IvyActions.scala:130)
	at sbt.IvyActions$.sbt$IvyActions$$withChecksums(IvyActions.scala:125)
	at sbt.IvyActions$$anonfun$publish$1.apply(IvyActions.scala:121)
	at sbt.IvyActions$$anonfun$publish$1.apply(IvyActions.scala:114)
	at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:155)
	at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:155)
	at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:132)
	at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57)
	at sbt.IvySbt$$anon$4.call(Ivy.scala:65)
	at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
	at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
	at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
	at xsbt.boot.Using$.withResource(Using.scala:10)
	at xsbt.boot.Using$.apply(Using.scala:9)
	at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
	at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
	at xsbt.boot.Locks$.apply0(Locks.scala:31)
	at xsbt.boot.Locks$.apply(Locks.scala:28)
	at sbt.IvySbt.withDefaultLogger(Ivy.scala:65)
	at sbt.IvySbt.withIvy(Ivy.scala:127)
	at sbt.IvySbt.withIvy(Ivy.scala:124)
	at sbt.IvySbt$Module.withModule(Ivy.scala:155)
	at sbt.IvyActions$.publish(IvyActions.scala:114)
	at sbt.Classpaths$$anonfun$publishTask$1.apply(Defaults.scala:1283)
	at sbt.Classpaths$$anonfun$publishTask$1.apply(Defaults.scala:1282)
	at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:35)
	at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:34)
	at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
	at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
	at sbt.std.Transform$$anon$4.work(System.scala:63)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
	at sbt.Execute.work(Execute.scala:235)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	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)[error]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago