Skip to content
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

Proxy not supported in maven artifact retrievals #215

Closed
rinconjc opened this issue Feb 7, 2018 · 0 comments
Closed

Proxy not supported in maven artifact retrievals #215

rinconjc opened this issue Feb 7, 2018 · 0 comments

Comments

@rinconjc
Copy link
Contributor

rinconjc commented Feb 7, 2018

Use the template below when reporting bugs. Please, make sure that
you're running the latest stable clj-refactor.el and that the problem
you're reporting hasn't been reported (and potentially fixed) already.

When requesting new features or improvements to existing features you can
discard the template completely. Just make sure to make a good case for your
request.

Remove all of the placeholder text in your final report!

Expected behavior

If system proxy is defined, i.e. JVM http.proxyHost, etc, maven search should be done using such proxy

Actual behavior

Maven artefact search, which uses http-kit, ignores JVM proxy settings. It will always use direct connection, and connection errors will be silently ignored. This issued doesn't affect clojars artifact search/listing, because it uses standard java http client (URL).

Steps to reproduce the problem

Run refactor behind a proxy, verify if the org.clojure artifacts are not available in the artifact listing

This is extremely important! Providing us with a reliable way to reproduce
a problem will expedite its solution.

Environment & Version information

Emacs 25, Ubuntu 17.10

clj-refactor.el and refactor-nrepl version information

clj-refactor.el -> 20171117.317
refactor-nrepl -> 2.4.0-SNAPSHOT

You can call cljr-version to obtain this information.

CIDER version information

CIDER 0.17.0snapshot (package: 20180124.1228), nREPL 0.2.13

Include here the version string displayed when
CIDER's REPL is launched. Here's an example:

;; CIDER 0.12.0snapshot (package: 20160331.421), nREPL 0.2.12
;; Clojure 1.8.0, Java 1.8.0_31

Leiningen or Boot version

Leiningen 2.7.1 on Java 1.8.0_151 Java HotSpot(TM) 64-Bit Server VM

Emacs version

25.2.2
E.g. 24.5 (use M-x emacs-version to check it if unsure)

Operating system

Ubuntu 17.10
E.g. Fedora 23, OS X 10.11 "El Capitan", Windows 10, etc

rinconjc added a commit to rinconjc/refactor-nrepl that referenced this issue Feb 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant