-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing using HTTP proxy fails utterly #196
Comments
Hi,
& It looks like the environment variable should be set to: http_proxy=proxy:3128 (ie. no http://) failing that you could either download manually and install in or create a maven project, setting the proxy settings in They will then be available next time you run lein. HTH |
I failed to mention I had tried It is also inconsistent with other dependencies (especially As to downloading manually, I have |
Just a note - cascalog artifacts aren't hosted at conjars.org, they are hosted by clojars.org. |
I have exactly the same problem as rcarmo. I do not agree with sw1nn that the I am using |
I bet this'd be fixed if @chriswensel upgraded conjars to the latest code? |
Thank you for the information, @sritchie Right now, the way to install Cascalog propagated by https://github.com/nathanmarz/cascalog does not work. |
I assume the error is because of a 404. |
I'm not actively working on this - the best way forward is to open an issue on conjars (which hosts the deps that are causing trouble). |
@cwensel, had oyu seen this one? |
@zenogantner if this is still an issue, I can transfer this over to Cascading. |
I'm unclear at to what the actual issue is and how to resolve it other than the previously mentioned update the clojars code. on that point, it won't happen anytime soon. they made some major architectural changes that made migrating the db meta-data over challenging (so i was told) so we reverted the attempt. it will happen, just not soon. we are adding https support. I thought it was in this week, but turns out it is not. i'll press the team, maybe that's the solution. |
OK, I don't think this has anything to do with clojars codebase since /repo is served by Apache, and a connection timed out error is a network error. but as mentioned above, we are adding HTTPS via a load balancer which may make the interface to lein a better citizen. |
I've been trying to install Cascalog from behind a proxy using
leiningen
, and both 1.x and 2.x-SNAPSHOT fail with variations of the following output:These are the only dependencies that fail. Everything else is downloaded just fine, and repeating this exercise on a machine outside the proxy works. But being unable to install things in a closed network (where the proxy works perfectly fine otherwise) is preventing me from adopting Cascalog.
Things I've tried so far:
Setting
http_proxy
globally (it's our standard config), per-user and on the command lineSetting
:jvm-opts
inproject.clj
and~/.lein/profiles.clj
Doing the same using :java-opts
Running
leiningen
manually and setting everything on the command line:None of these worked, and all fail with the traceback below, but only for some dependencies in
conjars
. I am quickly on the verge of concluding thatorg.apache.http.impl.client.AbstractHttpClient
does not honor any proxy settings at all, but am at a loss as to why it's being used for these dependencies alone and everything else loads fine - includingcascalog-core
, which is also atconjars
.Examining the
.pom
files also failed to yield any insights.The text was updated successfully, but these errors were encountered: