elm-get install : no proxy support #44
Comments
I've tested a hardcoded http proxy, see: https://github.com/kfish/elm-get/tree/http-proxy Proper http proxy support should include:
Functions for this are in Network.HTTP.Proxy: but I'm not sure how to use that from the http-client code. |
👍 |
Is this still an issue with |
This was added in http-client-0.4.7 for free $ echo $http_proxy
http://10.0.0.216:3128
$ echo $https_proxy
http://10.0.0.216:3128
$ elm-make
Some new packages are needed. Here is the upgrade plan.
Install:
elm-lang/core 1.1.0
Do you approve of this plan? (y/n) y
Downloading elm-lang/core
Packages configured successfully!
Compiled 32 files |
Yeah, does the same on Windows if you set http_proxy. It would be cool to also handle registry (Internet Settings). But I think we can close this now |
I still get a crash on windows... elm-make --yes node-elm-loader\example\ticking_port.elm --output node-elm-loader\example\ticking_port.js failed with 'TlsException (HandshakeFailed (Error_Packet_Parsing "Failed reading (I'm trying to get https://github.com/sonnym/node-elm-loader example to run on windows).. behind a proxy server. |
When trying to install a new package from Github, elm-get does not check for HTTP_PROXY and HTTPS_PROXY env vars, meaning that it won't hit the proxy but will try and fail to fetch url directly.
The text was updated successfully, but these errors were encountered: