Skip to content

Instantly share code, notes, and snippets.

@davidebbo
Created November 26, 2012 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidebbo/4149885 to your computer and use it in GitHub Desktop.
Save davidebbo/4149885 to your computer and use it in GitHub Desktop.
Git push 501 issue
D:\Development\phillip-haydon\philliptest [master]> git push Azure master
* Couldn't find host philliptest.scm.azurewebsites.net in the _netrc file; using defaults
* About to connect() to philliptest.scm.azurewebsites.net port 443 (#0)
* Trying 168.62.20.37... * 0x2000718 is at send pipe head!
* Connected to philliptest.scm.azurewebsites.net (168.62.20.37) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: C:\Users\Phillip\AppData\Local\GitHub\PortableGit_8810fd5c2c79c73adcc73fd0825f3b32fdb816e7/bin/curl-ca-bundle.crt
CApath: none
* Unknown SSL protocol error in connection to philliptest.scm.azurewebsites.net:443
* Expire cleared
* Closing connection #0
* Couldn't find host philliptest.scm.azurewebsites.net in the _netrc file; using defaults
* About to connect() to philliptest.scm.azurewebsites.net port 443 (#0)
* Trying 168.62.20.37... * 0x2000718 is at send pipe head!
* Connected to philliptest.scm.azurewebsites.net (168.62.20.37) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: C:\Users\Phillip\AppData\Local\GitHub\PortableGit_8810fd5c2c79c73adcc73fd0825f3b32fdb816e7/bin/curl-ca-bundle.crt
CApath: none
* SSL connection using AES128-SHA
* Server certificate:
* subject: CN=*.azurewebsites.net
* start date: 2012-04-25 01:02:26 GMT
* expire date: 2014-04-25 01:02:26 GMT
* subjectAltName: philliptest.scm.azurewebsites.net matched
* issuer: DC=com; DC=microsoft; DC=corp; DC=redmond; CN=Microsoft Secure Server Authority
* SSL certificate verify ok.
> GET /philliptest.git/info/refs HTTP/1.1
User-Agent: git/1.7.11.msysgit.1
Host: philliptest.scm.azurewebsites.net
Accept: */*
Pragma: no-cache
< HTTP/1.1 401 UnAuthorized
< Content-Type: text/html
< Server: Microsoft-IIS/7.5
< X-Powered-By: ASP.NET
< WWW-Authenticate: Basic realm="site"
< Date: Mon, 26 Nov 2012 18:20:01 GMT
< Content-Length: 1293
<
* Ignoring the response-body
* Expire cleared
* Connection #0 to host philliptest.scm.azurewebsites.net left intact
* Issue another request to this URL: 'https://phillip-haydon@philliptest.scm.azurewebsites.net/philliptest.git/info/refs'
* Couldn't find host philliptest.scm.azurewebsites.net in the _netrc file; using defaults
* Re-using existing connection! (#0) with host philliptest.scm.azurewebsites.net
* Connected to philliptest.scm.azurewebsites.net (168.62.20.37) port 443 (#0)
* 0x2000718 is at send pipe head!
* Server auth using Basic with user 'phillip-haydon'
> GET /philliptest.git/info/refs HTTP/1.1
Authorization: Basic cGhpbGxpcC1oYXlkb246
User-Agent: git/1.7.11.msysgit.1
Host: philliptest.scm.azurewebsites.net
Accept: */*
Pragma: no-cache
< HTTP/1.1 401 UnAuthorized
< Content-Type: text/html
< Server: Microsoft-IIS/7.5
< X-Powered-By: ASP.NET
* Authentication problem. Ignoring this.
< WWW-Authenticate: Basic realm="site"
< Date: Mon, 26 Nov 2012 18:20:01 GMT
< Content-Length: 1293
* The requested URL returned error: 401
* Closing connection #0
* Couldn't find host philliptest.scm.azurewebsites.net in the _netrc file; using defaults
* About to connect() to philliptest.scm.azurewebsites.net port 443 (#0)
* Trying 168.62.20.37... * 0x2000718 is at send pipe head!
* Connected to philliptest.scm.azurewebsites.net (168.62.20.37) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: C:\Users\Phillip\AppData\Local\GitHub\PortableGit_8810fd5c2c79c73adcc73fd0825f3b32fdb816e7/bin/curl-ca-bundle.crt
CApath: none
* SSL re-using session ID
* SSL connection using AES128-SHA
* old SSL session ID is stale, removing
* Server certificate:
* subject: CN=*.azurewebsites.net
* start date: 2012-04-25 01:02:26 GMT
* expire date: 2014-04-25 01:02:26 GMT
* subjectAltName: philliptest.scm.azurewebsites.net matched
* issuer: DC=com; DC=microsoft; DC=corp; DC=redmond; CN=Microsoft Secure Server Authority
* SSL certificate verify ok.
* Server auth using Basic with user 'phillip-haydon'
> GET /philliptest.git/info/refs HTTP/1.1
Authorization: Basic cGhpbGxpcC1oYXlkb246U2FyYWhpc2FiaXRjaDE=
User-Agent: git/1.7.11.msysgit.1
Host: philliptest.scm.azurewebsites.net
Accept: */*
Pragma: no-cache
* The requested URL returned error: 501
* Expire cleared
* Closing connection #0
error: The requested URL returned error: 501 while accessing https://phillip-haydon@philliptest.scm.azurewebsites.net/philliptest.git/info/refs
fatal: HTTP request failed
D:\Development\phillip-haydon\philliptest [master]> git push Azure master
* Couldn't find host philliptest.scm.azurewebsites.net in the _netrc file; using defaults
* About to connect() to philliptest.scm.azurewebsites.net port 443 (#0)
* Trying 168.62.20.37... * 0x21b0718 is at send pipe head!
* Connected to philliptest.scm.azurewebsites.net (168.62.20.37) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: C:\Users\Phillip\AppData\Local\GitHub\PortableGit_8810fd5c2c79c73adcc73fd0825f3b32fdb816e7/bin/curl-ca-bundle.crt
CApath: none
* SSL connection using AES128-SHA
* Server certificate:
* subject: CN=*.azurewebsites.net
* start date: 2012-04-25 01:02:26 GMT
* expire date: 2014-04-25 01:02:26 GMT
* subjectAltName: philliptest.scm.azurewebsites.net matched
* issuer: DC=com; DC=microsoft; DC=corp; DC=redmond; CN=Microsoft Secure Server Authority
* SSL certificate verify ok.
> GET /philliptest.git/info/refs?service=git-receive-pack HTTP/1.1
User-Agent: git/1.7.11.msysgit.1
Host: philliptest.scm.azurewebsites.net
Accept: */*
Pragma: no-cache
< HTTP/1.1 401 UnAuthorized
< Content-Type: text/html
< Server: Microsoft-IIS/7.5
< X-Powered-By: ASP.NET
< WWW-Authenticate: Basic realm="site"
< Date: Mon, 26 Nov 2012 18:20:20 GMT
< Content-Length: 1293
<
* Ignoring the response-body
* Expire cleared
* Connection #0 to host philliptest.scm.azurewebsites.net left intact
* Issue another request to this URL: 'https://phillip-haydon@philliptest.scm.azurewebsites.net/philliptest.git/info/refs?service=git-receive-pack'
* Couldn't find host philliptest.scm.azurewebsites.net in the _netrc file; using defaults
* Re-using existing connection! (#0) with host philliptest.scm.azurewebsites.net
* Connected to philliptest.scm.azurewebsites.net (168.62.20.37) port 443 (#0)
* 0x21b0718 is at send pipe head!
* Server auth using Basic with user 'phillip-haydon'
> GET /philliptest.git/info/refs?service=git-receive-pack HTTP/1.1
Authorization: Basic cGhpbGxpcC1oYXlkb246
User-Agent: git/1.7.11.msysgit.1
Host: philliptest.scm.azurewebsites.net
Accept: */*
Pragma: no-cache
< HTTP/1.1 401 UnAuthorized
< Content-Type: text/html
< Server: Microsoft-IIS/7.5
< X-Powered-By: ASP.NET
* Authentication problem. Ignoring this.
< WWW-Authenticate: Basic realm="site"
< Date: Mon, 26 Nov 2012 18:20:21 GMT
< Content-Length: 1293
* The requested URL returned error: 401
* Closing connection #0
* Couldn't find host philliptest.scm.azurewebsites.net in the _netrc file; using defaults
* About to connect() to philliptest.scm.azurewebsites.net port 443 (#0)
* Trying 168.62.20.37... * 0x21b0718 is at send pipe head!
* Connected to philliptest.scm.azurewebsites.net (168.62.20.37) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: C:\Users\Phillip\AppData\Local\GitHub\PortableGit_8810fd5c2c79c73adcc73fd0825f3b32fdb816e7/bin/curl-ca-bundl
e.crt
CApath: none
* SSL re-using session ID
* SSL connection using AES128-SHA
* old SSL session ID is stale, removing
* Server certificate:
* subject: CN=*.azurewebsites.net
* start date: 2012-04-25 01:02:26 GMT
* expire date: 2014-04-25 01:02:26 GMT
* subjectAltName: philliptest.scm.azurewebsites.net matched
* issuer: DC=com; DC=microsoft; DC=corp; DC=redmond; CN=Microsoft Secure Server Authority
* SSL certificate verify ok.
* Server auth using Basic with user 'phillip-haydon'
> GET /philliptest.git/info/refs?service=git-receive-pack HTTP/1.1
Authorization: Basic cGhpbGxpcC1oYXlkb246U2FyYWhpc2FiaXRjaDE=
User-Agent: git/1.7.11.msysgit.1
Host: philliptest.scm.azurewebsites.net
Accept: */*
Pragma: no-cache
< HTTP/1.1 200 OK
< Cache-Control: must-revalidate, no-cache, max-age=0
< Pragma: no-cache
< Content-Length: 159
< Content-Type: application/x-git-receive-pack-advertisement
< Expires: Tue, 01 Jan 1980 00:00:00 GMT
< Server: Microsoft-IIS/7.5
< Set-Cookie: ARRAffinity=27fb06c838eff0322bc25ebcd4bfca921393bd30bd25c7d39ca8ea79161eed78;Path=/;Domain=philliptest.scm
.azurewebsites.net
< X-AspNet-Version: 4.0.30319
< X-Powered-By: ASP.NET
< X-Powered-By: ARR/2.5
< X-Powered-By: ASP.NET
< Date: Mon, 26 Nov 2012 18:20:25 GMT
<
* Expire cleared
* Connection #0 to host philliptest.scm.azurewebsites.net left intact
Everything up-to-date
D:\Development\phillip-haydon\philliptest [master]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment