clojars

opqdonut 2025-05-12T07:47:32.708129Z

Is clojars authentication working normally? I'm getting 401 with a new deploy token, but also an older one that uses to work. I've been trying to automate malli deployments, and have been trying to release a malli-0.18.0-alpha1, in case you can check the logs.

opqdonut 2025-05-12T07:50:56.038669Z

I'm not seeing anything in the metosinci user's audit log either

opqdonut 2025-05-12T07:52:24.200039Z

Sending metosin/malli/0.18.0-alpha1/malli-0.18.0-alpha1.pom (2k)
    to 
Could not transfer artifact metosin:malli:pom:0.18.0-alpha1 from/to clojars (): authentication failed for , status: 401 Unauthorized
Sending metosin/malli/0.18.0-alpha1/malli-0.18.0-alpha1.jar (93k)
    to 
Could not transfer artifact metosin:malli:jar:0.18.0-alpha1 from/to clojars (): authentication failed for , status: 401 Unauthorized
Execution error (AuthorizationException) at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon/put (AbstractHttpClientWagon.java:817).
authentication failed for , status: 401 Unauthorized

opqdonut 2025-05-12T07:53:01.563279Z

CLOJARS_USER=metosinci CLOJARS_PASSWORD= clojure -X:deploy
using slipset's deps-deploy

Matti Uusitalo 2025-05-12T08:47:50.763509Z

^clj command missing there from the example

Matti Uusitalo 2025-05-12T08:48:23.400319Z

But we used the clj command, ofc. Otherwise it wouldn't have done anything

opqdonut 2025-05-12T09:08:40.187559Z

yes, I redacted the password too hard. edited now.

Matti Uusitalo 2025-05-12T10:27:16.844669Z

I think we should have CLOJARS_USERNAME instead of CLOJARS_USER

opqdonut 2025-05-12T10:41:26.784469Z

I. am. blind. Thank you!

2025-05-12T10:41:54.979199Z

I'm glad y'all figured it out! I was just about toe second @matti.uusitalo117's suggestion.

🙌 1