Created
November 14, 2011 16:33
-
-
Save dregad/1364372 to your computer and use it in GitHub Desktop.
git clone https NTLM proxy fails with "remote HEAD refers to nonexistent ref"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cloning into guillotine... | |
* About to connect() to proxy proxy.COMPANY.com port 8080 (#0) | |
* Trying XXX.XXX.XXX.XXX... * Connected to proxy.COMPANY.com (XXX.XXX.XXX.XXX) port 8080 (#0) | |
> GET http://github.com/technoweenie/guillotine.git/info/refs?service=git-upload-pack HTTP/1.1 | |
User-Agent: git/1.7.5.4 | |
Host: github.com | |
Accept: */* | |
Proxy-Connection: Keep-Alive | |
Pragma: no-cache | |
< HTTP/1.1 200 OK | |
< Server: nginx/1.0.4 | |
< Date: Mon, 14 Nov 2011 16:31:38 GMT | |
< Content-Type: application/x-git-upload-pack-advertisement | |
< Expires: Fri, 01 Jan 1980 00:00:00 GMT | |
< Pragma: no-cache | |
< Cache-Control: no-cache, max-age=0, must-revalidate | |
< Transfer-Encoding: chunked | |
< Proxy-Connection: Keep-Alive | |
< Connection: Keep-Alive | |
< | |
* Connection #0 to host proxy.COMPANY.com left intact | |
* About to connect() to proxy proxy.COMPANY.com port 8080 (#0) | |
* Trying XXX.XXX.XXX.XXX... * connected | |
* Connected to proxy.COMPANY.com (XXX.XXX.XXX.XXX) port 8080 (#0) | |
> POST http://github.com/technoweenie/guillotine.git/git-upload-pack HTTP/1.1 | |
User-Agent: git/1.7.5.4 | |
Host: github.com | |
Accept-Encoding: deflate, gzip | |
Proxy-Connection: Keep-Alive | |
Content-Type: application/x-git-upload-pack-request | |
Accept: application/x-git-upload-pack-result | |
Content-Encoding: gzip | |
Content-Length: 560 | |
< HTTP/1.1 200 OK | |
< Server: nginx/1.0.4 | |
< Date: Mon, 14 Nov 2011 16:31:38 GMT | |
< Content-Type: application/x-git-upload-pack-result | |
< Expires: Fri, 01 Jan 1980 00:00:00 GMT | |
< Pragma: no-cache | |
< Cache-Control: no-cache, max-age=0, must-revalidate | |
< Transfer-Encoding: chunked | |
< Proxy-Connection: Keep-Alive | |
< Connection: Keep-Alive | |
< X-RBT-Optimized-By: SHGVA1020 (RiOS 6.1.5) SC | |
< | |
* Connection #0 to host proxy.COMPANY.com left intact |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Couldn't find host github.com in the .netrc file; using defaults | |
* About to connect() to github.com port 443 (#0) | |
* Trying 207.97.227.239... * Connected to github.com (207.97.227.239) port 443 (#0) | |
* successfully set certificate verify locations: | |
* CAfile: /usr/ssl/certs/ca-bundle.crt | |
CApath: none | |
* SSL connection using AES256-SHA | |
* Server certificate: | |
* subject: businessCategory=Private Organization; 1.3.6.1.4.1.311.60.2.1.3=US; 1.3.6.1.4.1.311.60.2.1.2=California; serialNumber=C3268102; C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=github.com | |
* start date: 2011-05-27 00:00:00 GMT | |
* expire date: 2013-07-29 12:00:00 GMT | |
* subjectAltName: github.com matched | |
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert High Assurance EV CA-1 | |
* SSL certificate verify ok. | |
> GET /technoweenie/guillotine.git/info/refs?service=git-upload-pack HTTP/1.1 | |
User-Agent: git/1.7.5.1 | |
Host: github.com | |
Accept: */* | |
Pragma: no-cache | |
< HTTP/1.1 200 OK | |
< Server: nginx/1.0.4 | |
< Date: Tue, 15 Nov 2011 16:56:02 GMT | |
< Content-Type: application/x-git-upload-pack-advertisement | |
< Transfer-Encoding: chunked | |
< Connection: keep-alive | |
< Expires: Fri, 01 Jan 1980 00:00:00 GMT | |
< Pragma: no-cache | |
< Cache-Control: no-cache, max-age=0, must-revalidate | |
< | |
* Connection #0 to host github.com left intact | |
* Couldn't find host github.com in the .netrc file; using defaults | |
* About to connect() to github.com port 443 (#0) | |
* Trying 207.97.227.239... * connected | |
* successfully set certificate verify locations: | |
* CAfile: /usr/ssl/certs/ca-bundle.crt | |
CApath: none | |
* SSL re-using session ID | |
* SSL connection using AES256-SHA | |
* old SSL session ID is stale, removing | |
* Server certificate: | |
* subject: businessCategory=Private Organization; 1.3.6.1.4.1.311.60.2.1.3=US; 1.3.6.1.4.1.311.60.2.1.2=California; serialNumber=C3268102; C=US; ST=California; L=San Francisco; O=GitHub, Inc.; CN=github.com | |
* start date: 2011-05-27 00:00:00 GMT | |
* expire date: 2013-07-29 12:00:00 GMT | |
* subjectAltName: github.com matched | |
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert High Assurance EV CA-1 | |
* SSL certificate verify ok. | |
> POST /technoweenie/guillotine.git/git-upload-pack HTTP/1.1 | |
User-Agent: git/1.7.5.1 | |
Host: github.com | |
Accept-Encoding: deflate, gzip | |
Content-Type: application/x-git-upload-pack-request | |
Accept: application/x-git-upload-pack-result | |
Content-Encoding: gzip | |
Content-Length: 624 | |
* upload completely sent off: 624out of 624 bytes | |
< HTTP/1.1 200 OK | |
< Server: nginx/1.0.4 | |
< Date: Tue, 15 Nov 2011 16:56:03 GMT | |
< Content-Type: application/x-git-upload-pack-result | |
< Transfer-Encoding: chunked | |
< Connection: keep-alive | |
< Expires: Fri, 01 Jan 1980 00:00:00 GMT | |
< Pragma: no-cache | |
< Cache-Control: no-cache, max-age=0, must-revalidate | |
< | |
* Connection #0 to host github.com left intact |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone https://github.com/technoweenie/guillotine.git | |
Cloning into guillotine... | |
* About to connect() to proxy proxy.COMPANY.com port 8080 (#0) | |
* Trying XXX.XXX.XXX.XXX... * Connected to proxy.COMPANY.com (XXX.XXX.XXX.XXX) port 8080 (#0) | |
* Establish HTTP proxy tunnel to github.com:443 | |
> CONNECT github.com:443 HTTP/1.1 | |
Host: github.com:443 | |
User-Agent: git/1.7.5.4 | |
Proxy-Connection: Keep-Alive | |
Pragma: no-cache | |
< HTTP/1.1 200 Connection established | |
< | |
* Proxy replied OK to CONNECT request | |
* found 157 certificates in /etc/ssl/certs/ca-certificates.crt | |
> GET /technoweenie/guillotine.git/info/refs?service=git-upload-pack HTTP/1.1 | |
User-Agent: git/1.7.5.4 | |
Host: github.com | |
Accept: */* | |
Pragma: no-cache | |
* Connection #0 to host proxy.COMPANY.com left intact | |
* Connection #0 seems to be dead! | |
* Closing connection #0 | |
* About to connect() to proxy proxy.COMPANY.com port 8080 (#0) | |
* Trying XXX.XXX.XXX.XXX... * Connected to proxy.COMPANY.com (XXX.XXX.XXX.XXX) port 8080 (#0) | |
* Establish HTTP proxy tunnel to github.com:443 | |
> CONNECT github.com:443 HTTP/1.1 | |
Host: github.com:443 | |
User-Agent: git/1.7.5.4 | |
Proxy-Connection: Keep-Alive | |
Pragma: no-cache | |
< HTTP/1.1 200 Connection established | |
< | |
* Proxy replied OK to CONNECT request | |
* found 157 certificates in /etc/ssl/certs/ca-certificates.crt | |
> GET /technoweenie/guillotine.git/HEAD HTTP/1.1 | |
User-Agent: git/1.7.5.4 | |
Host: github.com | |
Accept: */* | |
Pragma: no-cache | |
* Connection #0 to host proxy.COMPANY.com left intact | |
warning: remote HEAD refers to nonexistent ref, unable to checkout. | |
oh ... I could not use git protocol behind my company's firewall,
I try https, but there's no http for git repository in github, isn't it ?
sure there is, just remove the "s" from https :-)
holy ....... !!! I'm so stupid =..=
THANKS A LOT!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, I changed my git config to use http instead of https