Clojars "Could not transfer artifact... ReasonPhrase: Forbidden"

729 views
Skip to first unread message

Timothy Washington

unread,
Aug 5, 2013, 11:24:44 AM8/5/13
to clo...@googlegroups.com
Hi all, 

I'm having problems deploying a project to Clojars. I've just reset my Clojars i) password and ii) SSH public key. And now, from my development system, I want to push my project. Yet I get the below error: "Could not transfer artifact... ReasonPhrase: Forbidden". I'm very sure that the password is correct, and that the SSH keys match on my system, and clojars. Are there any other gymnastics that has to happen? 


$ ~/Projects/stefon$ lein deploy clojars
No credentials found for clojars
See `lein help deploy` for how to configure credentials.
Username: xxx
Password: 
Wrote /home/webkell/Projects/stefon/pom.xml
Created /home/webkell/Projects/stefon/target/provided/stefon-0.1.0-SNAPSHOT.jar
Retrieving stefon/stefon/0.1.0-SNAPSHOT/maven-metadata.xml (1k)
Sending stefon/stefon/0.1.0-SNAPSHOT/stefon-0.1.0-20130805.150327-2.pom (4k)
Could not transfer artifact stefon:stefon:pom:0.1.0-20130805.150327-2 from/to clojars (https://clojars.org/repo/): Access denied to: https://clojars.org/repo/stefon/stefon/0.1.0-SNAPSHOT/stefon-0.1.0-20130805.150327-2.pom, ReasonPhrase: Forbidden.
Sending stefon/stefon/0.1.0-SNAPSHOT/stefon-0.1.0-20130805.150327-2.jar (7k)
Could not transfer artifact stefon:stefon:jar:0.1.0-20130805.150327-2 from/to clojars (https://clojars.org/repo/): Access denied to: https://clojars.org/repo/stefon/stefon/0.1.0-SNAPSHOT/stefon-0.1.0-20130805.150327-2.jar, ReasonPhrase: Forbidden.
Failed to deploy artifacts: Could not transfer artifact stefon:stefon:pom:0.1.0-20130805.150327-2 from/to clojars (https://clojars.org/repo/): Access denied to: https://clojars.org/repo/stefon/stefon/0.1.0-SNAPSHOT/stefon-0.1.0-20130805.150327-2.pom, ReasonPhrase: Forbidden.


Thanks 

Tim Washington 

Timothy Washington

unread,
Aug 5, 2013, 4:43:11 PM8/5/13
to clo...@googlegroups.com
Ok, got this sorted out. Thanks to xeqi @ #leiningen @ irc.freenode.org


Tim Washington 



Mihnea Dobrescu-Balaur

unread,
Nov 3, 2013, 6:47:58 PM11/3/13
to clo...@googlegroups.com
What was the problem?

Nelson Morris

unread,
Nov 4, 2013, 1:29:51 PM11/4/13
to Clojure
Clojars has a 20mb limit on jar files.  The file trying to be transfered was >100mb,  This gets caught and sent back as a 403.  It should probably be something else.

-
Nelson Morris


--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Mihnea Dobrescu-Balaur

unread,
Nov 4, 2013, 1:32:40 PM11/4/13
to clo...@googlegroups.com
Thanks. Might there also be a problem when you try to reupload the
same version of a jar?
> You received this message because you are subscribed to a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/iD2a5hJVfck/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
--
Mihnea Dobrescu-Balaur

Nelson Morris

unread,
Nov 4, 2013, 1:53:16 PM11/4/13
to Clojure
Correct, clojars stopped allowing uploads of the same version of an artifact earlier this year. It is incorrect to allow as a user might have already downloaded the original version and maven/lein will not re-download cached files.

Mihnea Dobrescu-Balaur

unread,
Nov 4, 2013, 1:55:23 PM11/4/13
to clo...@googlegroups.com
Makes perfect sense! Thanks for confirming.
Reply all
Reply to author
Forward
0 new messages