cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: jelly <sinojelly_at_163.com>
Date: Sat, 30 Jul 2011 22:56:56 +0800 (CST)

What steps will reproduce the problem?
Step 1. Start socks proxy: plink.exe -N xxxx_at_216.194.70.6 -pw pass -D 127.0.0.1:9050
Step 2. Use git with the sock proxy.
Step 3. Clone project: git clone https://code.google.com/p/wiztodoWhat browser (or git/hg/svn client) are you using? On what operatingsystem?
CYGWIN_NT-6.1 jelly-PC2 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

git version 1.7.5.1

curl 7.20.1 (i686-pc-cygwin) libcurl/7.20.1 OpenSSL/0.9.8r zlib/1.2.5 libidn/1.1
8 libssh2/1.2.5
Protocols: dict file ftp ftps http https imap imaps pop3 pop3s rtsp scp sftp smt
p smtps telnet tftp
Features: IDN IPv6 Largefile NTLM SSL libz

plink
PuTTY Link: command-line connection utility
Development snapshot 2010-08-30:r8981

jelly_at_jelly-PC2 ~
$ git config --get http.proxy
/home/jelly/bin/proxy

#!/bin/sh
# Filename: /home/jelly/bin/proxy
exec corkscrew localhost 9050 $*

jelly_at_jelly-PC2 ~
$ GIT_CURL_VERBOSE=1 git clone https://code.google.com/p/wiztodo
Cloning into wiztodo...
* About to connect() to proxy port 443 (#0)
* Trying 64.233.183.102... * Establish HTTP proxy tunnel to code.google.com:44
3
* Send failure: Connection reset by peer
* Failed sending CONNECT to proxy
* Expire cleared
* Closing connection #0
* About to connect() to proxy port 443 (#0)
* Trying 64.233.183.102... * Establish HTTP proxy tunnel to code.google.com:44
3
* Send failure: Connection reset by peer
* Failed sending CONNECT to proxy
* Expire cleared
* Closing connection #0
error: Send failure: Connection reset by peer while accessing https://code.googl
e.com/p/wiztodo/info/refs

fatal: HTTP request failed

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-07-30