On Tue, 31 May 2016 07:37:54 GMT, Martin wrote:

On Wed, 13 Nov 2013 12:04:47 GMT, Sönke Ludwig wrote:

On Wed, 13 Nov 2013 11:49:27 GMT, Onyx wrote:

Hello.
When DUB will work behind proxy?

I've just pushed a commit to git master, which should allow using a proxy by setting the "http_proxy" environment variable, e.g.:

export http_proxy="http://1.2.3.4:8080"
dub

Hello,

For some reason this does not seem to work for me, although my proxy is setup properly, the dub version I have should have this fix and I am able to download the offending file manually through wget:

<snip output>

Any idea what could be going on, and how to debug further?

Thank you,
Martin

Hello again,

Turns out curl does not cope well with my_proxy, even though wget does:

bash4-2:~$ curl -x http://my_proxy http://code.dlang.org/packages/vibe-d.json
curl: (52) Empty reply from server
bash4-2:~$

I ended up finding another one that works fine with curl. Sorry for the fuss.
Martin