-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sonatypeBundleRelease erroring out with HttpClientException: [401: Unauthorized] #224
Comments
I am also facing same issue, when I am trying to use sbt-ci-release which internally used sbt-sonatype. So can't change the publishTo |
For Your build.sbt |
@MrPowers If your sonatype account is created after February 2021, we need the following settings: ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org" Your ".sbt" / "sonatype_credentials" file:
Hopefully, it would work. |
Sonatype has changed their host to |
@xerial - I created my Sonatype account a long time ago. It it possible I still need to set the |
@MrPowers ok. Then, you don't need to add the above-mentioned settings. There might be other issues. |
Summary so far:
|
@xerial - thanks for all your help. The Will keep this open for a couple more days and post if I find anything else, but looks my Sonatype password became invalid, for some reason I don't understand. |
Thanks again for helping me figure this out and for making this wonderful library. |
Thanks for creating this great project.
The
; + publishSigned; sonatypeBundleRelease
command was working in February 2021, but is broken now. Suppose it could be related to this issue.Here's the project build.sbt file.
Here's the full stack trace, thanks for the help!
The text was updated successfully, but these errors were encountered: