clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
alpheus 2018-02-26T17:14:31.000771Z

getting ReasonPhrase: Forbidden with no detail when deploying a jar, pom, and sha1 files for each. Using lein deploy, prompted for username and password.

alpheus 2018-02-26T17:14:54.000474Z

This post indicates that there should be detail: http://clojure.2344290.n4.nabble.com/Friendlier-deploy-rejection-messages-from-Clojars-td4466.html

alpheus 2018-02-26T17:16:12.000385Z

The groupid is org.clojars.alpheus, and the version is not a snapshot version

2018-02-26T17:16:47.000355Z

Those messages are related to validation, which happens after the authorization - we don’t have great messages there

2018-02-26T17:17:17.000102Z

Forbidden may either mean that your password is incorrect or you don’t have access to that group

2018-02-26T17:17:21.000286Z

looking in to it now

2018-02-26T17:18:05.000711Z

You definitely have rights to that group

2018-02-26T17:18:37.000438Z

Are you able to log in to the http://clojars.org web ui?

alpheus 2018-02-26T17:18:50.000686Z

yes, and I see that group with me as the owner

2018-02-26T17:20:54.000636Z

I see one attempt in the logs, can you try again? Is it possible you typoed your pw?

alpheus 2018-02-26T17:21:27.000370Z

I copy/pasted it, same as when I log on to the web ui

alpheus 2018-02-26T17:21:34.000729Z

trying again

2018-02-26T17:22:23.000475Z

hmm, 403 again

2018-02-26T17:22:33.000230Z

(I was tailing the log)

alpheus 2018-02-26T17:23:26.000664Z

just knowing it's authentication and not content validation is very helpful

alpheus 2018-02-26T17:24:21.000172Z

trying again, typing the password just to be sure emacs shell didn't do something weird

alpheus 2018-02-26T17:28:49.000355Z

anything wrong with that command line?

2018-02-26T17:35:41.000436Z

ah, yes, that may be it - the proper command line would be lein deploy <https://clojars.org/repo/> 16.2.0-SNAPSHOT react.jar pom.xml I think

2018-02-26T17:35:47.000288Z

see lein deploy help

2018-02-26T17:36:28.000461Z

you could also use 16.2.0-3 as the version, but it won’t be treated as a snapshot

2018-02-26T17:37:29.000550Z

and the groupid in the pom would need to be changed to org.clojars.alpheus

alpheus 2018-02-26T17:51:02.000200Z

the command I used came from lein help deploy : lein deploy myrepo com.blueant/fancypants 1.0.1 fancypants.jar pom.xml

alpheus 2018-02-26T17:52:43.000457Z

but the output makes it look like wrong args for sure:

alpheus 2018-02-26T17:52:47.000152Z

Access denied to: <https://clojars.org/org/clojars/alpheus/react/react-16.2.0-3.jar/react-react-16.2.0-3.jar.jar>, ReasonPhrase: Forbidden

alpheus 2018-02-26T17:53:17.000131Z

that .jar.jar