I have a pretty stable environment to upload to Sonatype my Java packages like fastutil. It has been pretty stable for the last +20 years so unfortunately I’ve become a bit rusty with the details.
Suddenly my tentative to stage an artifact are met with
/home/vigna/git/fastutil/build.xml:139: Could not deploy artifacts: Failed to deploy artifacts: Could not transfer artifact it.unimi.dsi:fastutil-core:pom:8.5.14 from/to sonatype-nexus-staging (https://oss.sonatype.org/service/local/staging/deploy/maven2/): status code: 401, reason phrase: Unauthorized (401)
The same setup was working up to 5 months ago, when I uploaded fastutil 8.5.13. I was wondering if there has been in this time some change to authentication that needs adjustments from my part. I’m sure the password/login in .m2/settings.xml are correct.
Same here, @ph1. We can’t log in to s01.oss anymore, and it seems like our already-generated token that worked last week has now stopped working for artefact upload.
@mfrost we might need some help, this is holding a lot releases right now.
Hello, I have reached out to the Central team and learned they have been migrating user accounts to our new account management platform, and you should have received an email regarding this change. If you are receiving the 401 response or are unable to log in, please refer to the last two sections of Notice of Migration of Accounts to the New Account Management Platform - Documentation and/or reach out to the Central support team, if necessary (central-support@sonatype.com) for the work required to manually associate your new account with the correct permissions from your old account.
@edeboer thanks for taking the time.
I am now able to login into oss.sonatype.org again. However, is it possible that this change of username also changed the Token???
Yes totally. It was changed. However I don’t understand WHY the token was changed without me doing anything. Anyway, I am already modifying all my GitHub Actions secrets :-/