cURL / Mailing Lists / curl-library / Single Mail


Re:Re:Re:Re: git clone over https failure while using socks proxy. any suggestions?thanks.

From: Daniel Stenberg <>
Date: Thu, 4 Aug 2011 16:21:57 +0200 (CEST)

On Thu, 4 Aug 2011, jelly wrote:

Please note that we do not appreciate top-posting on this list:

> $ export http_proxy=localhost:9050

This says you have a HTTP proxy on port 9050, while you previously have
explained that you have a SOCKS proxy there. curl will thus try to speak HTTP
with the SOCKS proxy, which won't work.

With recent curl versions you can set the proxy to be:

  "socks4://localhost:9050" (assuming SOCKS4 is what you want)

or just use the proper --socks* option (depending on what SOCKS version you

> $ curl -vvv

Note that one -v is enough, adding more -v options won't change anything.

List admin:
Received on 2011-08-04