1

cURL socks5 proxy: "Empty reply from server"

view story
linux-howto

http://unix.stackexchange.com – I'm accessing an http resource using Chrome, FoxyProxy without any problems. The proxy is defined as socks5 in the standard port 1080. I've tried accessing the same resource using cURL (actual URLs changed for privacy reasons): $ curl -vvv -socks5 SOCKS_SERVER:1080 -X GET "THE_URL_FROM_BROWSER" And got: * About to connect() to SOCKS_SERVER port 1080 (#0) * Trying IP... connected * Connected to SOCKS_SERVER (IP) port 1080 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5 > Host: SOCKS_SERVER:1080 > Accept: */ (HowTos)