You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.io.IOException: Server returned HTTP response code: 403 for URL: https://oss.sonatype.org/content/repositories/snapshots/de/leanovate/play-mockws/play-mockws-2-8_2.12/3.0.5%2B9-a92fb778-SNAPSHOT/play-mockws-2-8_2.12-3.0.5%2B9-a92fb778-SNAPSHOT.pom
[error] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[error] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[error] at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[error] at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[error] at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:2002)
[error] at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1997)
[error] at java.base/java.security.AccessController.doPrivileged(Native Method)
[error] at java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1996)
[error] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1558)
[error] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1542)
[error] at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
[error] at org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:288)
[error] at org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:82)
[error] at org.apache.ivy.util.FileUtil.copy(FileUtil.java:150)
[error] at org.apache.ivy.plugins.repository.url.URLRepository.put(URLRepository.java:84)
[error] at sbt.internal.librarymanagement.ConvertResolver$LocalIfFileRepo.put(ConvertResolver.scala:407)
[error] at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
[error] at sbt.internal.librarymanagement.ConvertResolver$ChecksumFriendlyURLResolver.put(ConvertResolver.scala:124)
[error] at sbt.internal.librarymanagement.ConvertResolver$ChecksumFriendlyURLResolver.put$(ConvertResolver.scala:111)
[error] at sbt.internal.librarymanagement.ConvertResolver$$anonfun$defaultConvert$lzycompute$1$PluginCapableResolver$1.put(ConvertResolver.scala:170)
[error] at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:216)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$5(IvyActions.scala:501)
[error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] at scala.util.Try$.apply(Try.scala:213)
[error] at sbt.internal.librarymanagement.IvyUtil$.retryWithBackoff(IvyUtil.scala:22)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$4(IvyActions.scala:500)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$4$adapted(IvyActions.scala:499)
[error] at scala.collection.Iterator.foreach(Iterator.scala:943)
[error] at scala.collection.Iterator.foreach$(Iterator.scala:943)
[error] at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
[error] at scala.collection.IterableLike.foreach(IterableLike.scala:74)
[error] at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
[error] at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
[error] at sbt.internal.librarymanagement.IvyActions$.publish(IvyActions.scala:499)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$3(IvyActions.scala:141)
[error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] at sbt.internal.librarymanagement.IvyActions$.withChecksums(IvyActions.scala:155)
[error] at sbt.internal.librarymanagement.IvyActions$.withChecksums(IvyActions.scala:148)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$1(IvyActions.scala:141)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$1$adapted(IvyActions.scala:132)
[error] at sbt.internal.librarymanagement.IvySbt$Module.$anonfun$withModule$1(Ivy.scala:267)
[error] at sbt.internal.librarymanagement.IvySbt.$anonfun$withIvy$1(Ivy.scala:212)
[error] at sbt.internal.librarymanagement.IvySbt.sbt$internal$librarymanagement$IvySbt$$action$1(Ivy.scala:72)
[error] at sbt.internal.librarymanagement.IvySbt$$anon$1.call(Ivy.scala:82)
[error] at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:113)
[error] at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:91)
[error] at xsbt.boot.Locks$GlobalLock.$anonfun$withFileLock$1(Locks.scala:119)
[error] at xsbt.boot.Using$.withResource(Using.scala:12)
[error] at xsbt.boot.Using$.apply(Using.scala:9)
[error] at xsbt.boot.Locks$GlobalLock.withFileLock(Locks.scala:119)
[error] at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:71)
[error] at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:59)
[error] at xsbt.boot.Locks$.apply0(Locks.scala:47)
[error] at xsbt.boot.Locks$.apply(Locks.scala:36)
[error] at sbt.internal.librarymanagement.IvySbt.withDefaultLogger(Ivy.scala:82)
[error] at sbt.internal.librarymanagement.IvySbt.withIvy(Ivy.scala:206)
[error] at sbt.internal.librarymanagement.IvySbt.withIvy(Ivy.scala:203)
[error] at sbt.internal.librarymanagement.IvySbt$Module.withModule(Ivy.scala:266)
[error] at sbt.internal.librarymanagement.IvyActions$.publish(IvyActions.scala:132)
[error] at sbt.librarymanagement.ivy.IvyPublisher.publish(IvyPublisher.scala:28)
[error] at sbt.librarymanagement.Publisher.publish(Publisher.scala:28)
[error] at sbt.Classpaths$.$anonfun$publishOrSkip$3(Defaults.scala:3732)
[error] at sbt.Classpaths$.$anonfun$publishOrSkip$3$adapted(Defaults.scala:3722)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error] at sbt.Execute.work(Execute.scala:292)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[error] at java.base/java.lang.Thread.run(Thread.java:829)
[error] Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://oss.sonatype.org/content/repositories/snapshots/de/leanovate/play-mockws/play-mockws-2-8_2.12/3.0.5%2B9-a92fb778-SNAPSHOT/play-mockws-2-8_2.12-3.0.5%2B9-a92fb778-SNAPSHOT.pom
[error] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1946)
[error] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1542)
[error] at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
[error] at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:334)
[error] at org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:284)
[error] at org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:82)
[error] at org.apache.ivy.util.FileUtil.copy(FileUtil.java:150)
[error] at org.apache.ivy.plugins.repository.url.URLRepository.put(URLRepository.java:84)
[error] at sbt.internal.librarymanagement.ConvertResolver$LocalIfFileRepo.put(ConvertResolver.scala:407)
[error] at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
[error] at sbt.internal.librarymanagement.ConvertResolver$ChecksumFriendlyURLResolver.put(ConvertResolver.scala:124)
[error] at sbt.internal.librarymanagement.ConvertResolver$ChecksumFriendlyURLResolver.put$(ConvertResolver.scala:111)
[error] at sbt.internal.librarymanagement.ConvertResolver$$anonfun$defaultConvert$lzycompute$1$PluginCapableResolver$1.put(ConvertResolver.scala:170)
[error] at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:216)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$5(IvyActions.scala:501)
[error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] at scala.util.Try$.apply(Try.scala:213)
[error] at sbt.internal.librarymanagement.IvyUtil$.retryWithBackoff(IvyUtil.scala:22)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$4(IvyActions.scala:500)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$4$adapted(IvyActions.scala:499)
[error] at scala.collection.Iterator.foreach(Iterator.scala:943)
[error] at scala.collection.Iterator.foreach$(Iterator.scala:943)
[error] at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
[error] at scala.collection.IterableLike.foreach(IterableLike.scala:74)
[error] at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
[error] at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
[error] at sbt.internal.librarymanagement.IvyActions$.publish(IvyActions.scala:499)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$3(IvyActions.scala:141)
[error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] at sbt.internal.librarymanagement.IvyActions$.withChecksums(IvyActions.scala:155)
[error] at sbt.internal.librarymanagement.IvyActions$.withChecksums(IvyActions.scala:148)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$1(IvyActions.scala:141)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$1$adapted(IvyActions.scala:132)
[error] at sbt.internal.librarymanagement.IvySbt$Module.$anonfun$withModule$1(Ivy.scala:267)
[error] at sbt.internal.librarymanagement.IvySbt.$anonfun$withIvy$1(Ivy.scala:212)
[error] at sbt.internal.librarymanagement.IvySbt.sbt$internal$librarymanagement$IvySbt$$action$1(Ivy.scala:72)
[error] at sbt.internal.librarymanagement.IvySbt$$anon$1.call(Ivy.scala:82)
[error] at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:113)
[error] at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:91)
[error] at xsbt.boot.Locks$GlobalLock.$anonfun$withFileLock$1(Locks.scala:119)
[error] at xsbt.boot.Using$.withResource(Using.scala:12)
[error] at xsbt.boot.Using$.apply(Using.scala:9)
[error] at xsbt.boot.Locks$GlobalLock.withFileLock(Locks.scala:119)
[error] at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:71)
[error] at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:59)
[error] at xsbt.boot.Locks$.apply0(Locks.scala:47)
[error] at xsbt.boot.Locks$.apply(Locks.scala:36)
[error] at sbt.internal.librarymanagement.IvySbt.withDefaultLogger(Ivy.scala:82)
[error] at sbt.internal.librarymanagement.IvySbt.withIvy(Ivy.scala:206)
[error] at sbt.internal.librarymanagement.IvySbt.withIvy(Ivy.scala:203)
[error] at sbt.internal.librarymanagement.IvySbt$Module.withModule(Ivy.scala:266)
[error] at sbt.internal.librarymanagement.IvyActions$.publish(IvyActions.scala:132)
[error] at sbt.librarymanagement.ivy.IvyPublisher.publish(IvyPublisher.scala:28)
[error] at sbt.librarymanagement.Publisher.publish(Publisher.scala:28)
[error] at sbt.Classpaths$.$anonfun$publishOrSkip$3(Defaults.scala:3732)
[error] at sbt.Classpaths$.$anonfun$publishOrSkip$3$adapted(Defaults.scala:3722)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error] at sbt.Execute.work(Execute.scala:292)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[error] at java.base/java.lang.Thread.run(Thread.java:829)
[error] (play28 / publish) java.io.IOException: Server returned HTTP response code: 403 for URL: https://oss.sonatype.org/content/repositories/snapshots/de/leanovate/play-mockws/play-mockws-2-8_2.12/3.0.5%2B9-a92fb778-SNAPSHOT/play-mockws-2-8_2.12-3.0.5%2B9-a92fb778-SNAPSHOT.pom
The last successful release was on June 24th thus I'm unsure if anything changed since then.
I am AFK right now, but logging in to sonatype I do not seem to have an access token... Not sure which one is used for publishing.
\edit: I misunderstood the UI, the button is not used to create an Access User Token, but to access the User Token. So I guess something else changed, maybe need to reach out to sonatype support...
I've noticed latest publications (for SNAPSHOTs) failed, see for instance: https://github.com/leanovate/play-mockws/actions/runs/9996675740/job/27631663033
The last successful release was on June 24th thus I'm unsure if anything changed since then.
This could be related to recent changes with Sonatype requiring the usage of a token instead of username/password. See also https://central.sonatype.org/publish/generate-token/. But usually we receive a 401 error in such cases. Here it sounds like maybe the token itself is not valid anymore even though we use a token.
@yanns or @avdv any chance you could have a look?
The text was updated successfully, but these errors were encountered: