Skip to content
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

Releases are failing #986

Closed
geirolz opened this issue Sep 17, 2024 · 8 comments
Closed

Releases are failing #986

geirolz opened this issue Sep 17, 2024 · 8 comments

Comments

@geirolz
Copy link
Collaborator

geirolz commented Sep 17, 2024

All releases since a while are failing with this message:

java.net.ProtocolException: Server redirected too many times (20)

Any idea ?

Did we update the auth method to Sonatype from username-password to user token ?
https://central.sonatype.org/publish/generate-token/

@geirolz
Copy link
Collaborator Author

geirolz commented Sep 26, 2024

@matejcerny can you please have a look too ?

@matejcerny
Copy link
Collaborator

Sadly we will need a help from @gvolpe as I don't have access to sonatype.

@geirolz
Copy link
Collaborator Author

geirolz commented Oct 15, 2024

All releases are stuck until we fix this, since it's the second time I'd say that at least you @matejcerny should have sonatype access.
@gvolpe Can you please help us ?

@matejcerny
Copy link
Collaborator

I have contacted Gabriel via email. In the meantime, I made you an admin @geirolz as you are the most active anyway.

@gvolpe
Copy link
Member

gvolpe commented Oct 21, 2024

Fixed: https://github.com/profunktor/fs2-rabbit/actions/runs/11385486599/job/31822567302

re: access to sonatype: this is my private account, not something I can share. Also, the UI/UX is quite bad on sonatype, not sure if they would allow share publishing access to the same target dev.profunktor from different accounts, but I think it's worth asking the question to the sonatype folks if you would like to try.

@gvolpe gvolpe closed this as completed Oct 21, 2024
@gvolpe
Copy link
Member

gvolpe commented Oct 28, 2024

I noticed the latest release failed so I went into Sonatype, deleted all the snapshot repositories and retried, but it's still failing: https://github.com/profunktor/fs2-rabbit/actions/runs/11532300798/job/32143367201

This process is so brittle. It needs to be fixed either in Sonatype or if possible in sbt-ci-release. We shouldn't be needing any manual intervention... 😭 I honestly can't deal with this anymore.

I deleted the snapshot repository once again, feel free to retry later on or cut a new minor release. If it doesn't work, I would suggest start publishing new releases under a new namespace so you can have admin access to Sonatype.

@gvolpe gvolpe reopened this Oct 28, 2024
@matejcerny
Copy link
Collaborator

We have already dealt with this error. Last time, there were some "dirty" files in Git that were generated by a plugin. This time it's because of a scalafmt.

@matejcerny
Copy link
Collaborator

I have fixed and re-released it: https://oss.sonatype.org/service/local/repositories/releases/content/dev/profunktor/fs2-rabbit_3/5.3.0/fs2-rabbit_3-5.3.0.jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants