Fork me on GitHub
#clojars
<
2017-05-16
>
borkdude13:05:34

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.

borkdude13:05:51

while I can push versions of other libraries to Clojars via bootlaces in boot. What could be wrong…

tcrawley13:05:27

@borkdude I'll take a look at the log to see if there is a hint there, one sec

tcrawley13:05:51

from the nginx log, it looks like you aren't sending credentials for that deploy

tcrawley13:05:56

but are for the boot-bundle deploy

borkdude13:05:16

Hmm uncommenting this worked: ;; push {:repo “clojars”}

borkdude13:05:51

I guess it’s an interaction between bootlaces and other config

tcrawley13:05:58

good deal. I don't know enough about boot to know why :)

borkdude13:05:11

Thanks anyway!

tcrawley13:05:15

my pleasure!

borkdude14:05:51

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

tcrawley14:05:49

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)?

borkdude14:05:06

clojure.lang.ExceptionInfo: Could not find artifact org.clojars.borkdude:cljs-time:jar:0.5.0-SNAPSHOT in clojars (https://repo.clojars.org/)

tcrawley14:05:23

hmm, looking

tcrawley14:05:39

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

tcrawley14:05:14

but generally it's only a couple of seconds

borkdude14:05:34

there it is