Fork me on GitHub
#clojars
<
2018-02-26
>
alpheus17:02:31

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

alpheus17:02:12

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

tcrawley17:02:47

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

tcrawley17:02:17

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

tcrawley17:02:21

looking in to it now

tcrawley17:02:05

You definitely have rights to that group

tcrawley17:02:37

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

alpheus17:02:50

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

tcrawley17:02:54

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

alpheus17:02:27

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

alpheus17:02:34

trying again

tcrawley17:02:23

hmm, 403 again

tcrawley17:02:33

(I was tailing the log)

alpheus17:02:26

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

alpheus17:02:21

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

alpheus17:02:49

anything wrong with that command line?

tcrawley17:02:41

ah, yes, that may be it - the proper command line would be lein deploy 16.2.0-SNAPSHOT react.jar pom.xml I think

tcrawley17:02:47

see lein deploy help

tcrawley17:02:28

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

tcrawley17:02:29

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

alpheus17:02:02

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

alpheus17:02:43

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

alpheus17:02:47

Access denied to: , ReasonPhrase: Forbidden

alpheus17:02:17

that .jar.jar