I’m trying to push a snapshot version of a library I don’t own to my own group, but I’m getting: Could not transfer artifact org.clojars.borkdude:cljs-time:jar:0.5.0-20170516.135246-1 from/to clojars (https://repo.clojars.org/): Failed to transfer file: https://repo.clojars.org/org/clojars/borkdude/cljs-time/0.5.0-SNAPSHOT/cljs-time-0.5.0-20170516.135246-1.jar. Return code is: 401, ReasonPhrase: Unauthorized.
while I can push versions of other libraries to Clojars via bootlaces in boot. What could be wrong…
@borkdude I'll take a look at the log to see if there is a hint there, one sec
from the nginx log, it looks like you aren't sending credentials for that deploy
but are for the boot-bundle deploy
Hmm uncommenting this worked: ;; push {:repo “clojars”}
I guess it’s an interaction between bootlaces and other config
good deal. I don't know enough about boot to know why :)
Thanks anyway!
my pleasure!
How long does it generally take before a newly pushed dep is available? clojure.lang.ExceptionInfo: Could not find artifact org.clojars.borkdude:cljs-time:jar:0.5.0-SNAPSHOT
does it tell you which repo it is using (http://repo.clojars.org is the CDN, http://clojars.org/repo/ is the on-server version)?
clojure.lang.ExceptionInfo: Could not find artifact org.clojars.borkdude:cljs-time:jar:0.5.0-SNAPSHOT in clojars (https://repo.clojars.org/)
hmm, looking
It's there now: http://repo.clojars.org/org/clojars/borkdude/cljs-time/0.5.0-SNAPSHOT/ There can be a delay if the queue to upload to the CDN-fronted cloudfiles repo gets backed up
ah
but generally it's only a couple of seconds
there it is