Closed gaeljw closed 4 years ago
Silly mistake.. I was using wrong credentials for Sonatype :facepalm: Not an sbt-pgp issue!
Silly mistake.. I was using wrong credentials for Sonatype Not an sbt-pgp issue!
This was my issue as well. Thanks for the solution!
Silly mistake.. I was using wrong credentials for Sonatype 🤦 Not an sbt-pgp issue!
The same as me. Thanks a lot!
It would be good to provide better feedback in this scenario. That seems like an upstream opportunity for improvement, filed https://issues.apache.org/jira/browse/IVY-1643
I'm getting this same error after confirming that my credentials are correct. "show credentials" displays the correct username and server. The password is masked, but I confirmed in the file that it is correct and I'm able to log in using the web interface with these credentials.
I used User Token in the configuration file to replace the previous plaintext username and password, and it was successfully published.
steps
sbt-pgp version: 2.0.1 sbt version: 1.3.13
problem
I'm trying to setup the publishing of a project to Sonatype using sbt-sonatype but I'm stuck when running the commande
sbt +publishSigned
with the following error "Server redirected too many times".The thing is I have no clue of which server we are talking about, I guess sonatype? But then what could be the cause of those redirects?
expectation
Be able to run
publishSigned
without errors.notes
Please note I'm not really familiar yet with the Sonatype publish process.
It could also be a local setup issue as I run the commandes from within a Docker container but I have no hint of what could be the issue.
Any help appreciated, thanks :)