Fork me on GitHub
#clojars
<
2016-10-17
>
andrewboltachev12:10:27

Hello. Does it look like valid traceroute for http://clojars.org?

andrewboltachev12:10:22

The problem is that all my lein deps, lein uprgade or even e.g. lein new figwheel ... commands basically hang

tcrawley12:10:01

@andrewboltachev: that trace looks very similar to what I get (stars past http://core7-aggr403b-9.iad3.rackspace.net), but lein deps works fine

tcrawley12:10:27

I don't think lein upgrade hits clojars, so that might be a clue that something else is going wrong on your end

andrewboltachev12:10:29

I mean, when you download new stuff, ofc

andrewboltachev12:10:59

The thing is it's on both my local machine (Kirov, Russia) and server (Amsterdam, The Netherlands)

tcrawley12:10:10

right, I removed deps from my ~/.m2 and ran lein deps

tcrawley12:10:48

hmm, can you try the new CDN-fronted and see if that behaves the same?

tcrawley12:10:03

you'll need to add the following to ~/.lein/profiles.clj:

tcrawley12:10:26

:repositories [["clojars" {:url ""}]]
:plugin-repositories [["clojars" {:url ""}]]

tcrawley12:10:31

in your :user profile

tcrawley12:10:08

you'll get a warning from lein about having repos in the :user profile, but you can ignore that for now

andrewboltachev12:10:16

I haven't had this file btw:

andrewboltachev12:10:31

{:user {
        :repositories [["clojars" {:url ""}]]
        :plugin-repositories [["clojars" {:url ""}]]

        }}

andrewboltachev12:10:42

should this be valid?

andrewboltachev12:10:13

Well, with this, I have:

tcrawley12:10:18

yes, that should be correct

andrewboltachev12:10:11

18 sec for 14.6M sounds quite serious

tcrawley13:10:21

so adding the CDN repo should have made no difference

andrewboltachev13:10:39

yep, I've had GitHub also working with delays for me

andrewboltachev13:10:15

Okay, either I have VPN or not, my physical connection stays the same

andrewboltachev13:10:27

So that might be it's issues

andrewboltachev13:10:43

thanks @tcrawley and I would check everything more carefully. This CDN should be helpful btw

tcrawley13:10:01

glad to help

mpenet13:10:54

is it feasible to run private clojars install now?

mpenet13:10:07

wondering if I could swap archiva with clojars-web

tcrawley13:10:43

@mpenet: possible? yes. feasible? probably not. It would be a lot of work to set up

tcrawley13:10:15

we've been working on an ansible setup for it that would ease that, but there are still lots of clojars.org-specific bits in there

mpenet13:10:45

alright, anything in particular (I might be able to help with some of it maybe)?

tcrawley14:10:10

@mpenet: we haven't given specific thought to where we need to make changes to support private instances, we've been focused first on getting a reproducible setup, so don't have a list of what needs to happen. You are welcome to take a look at what you have to see what would need to change if you like: https://github.com/clojars/clojars-server-config

mpenet15:10:25

one of the big missing piece might be auth on the artifacts. if I am not mistaken now they are served via nginx directly

mpenet15:10:54

then maybe it makes sense to map auth on these to user/groups credentials (thinking out loud)

mpenet15:10:03

also another question would be do we want to allow auth per artifact or is it an on/off switch that applies to the whole instance

mpenet16:10:41

serving the artifacts via nginx is a good thing, that's where all the pressure is and it's the perfect solution doing the heavy duty work, I don't know if it can be reconfigured "dynamically" for the auth part

mpenet16:10:57

maybe with lua + redis (for instance). But yeah, I know, it's another dependency ...

mpenet16:10:02

anyway, I ll stop flooding for now and look into this a bit on my free time 😆