Skip to content

Instantly share code, notes, and snippets.

@josephglanville
Created September 1, 2015 19:19
Show Gist options
  • Save josephglanville/90e2f73a59892352cd41 to your computer and use it in GitHub Desktop.
Save josephglanville/90e2f73a59892352cd41 to your computer and use it in GitHub Desktop.
git hang on gitreceive deploy
vagrant@flynn:~/ruby-flynn-example$ GIT_CURL_VERBOSE=1 GIT_TRACE=1 git push flynn master
trace: built-in: git 'push' 'flynn' 'master'
trace: run_command: 'git-remote-https' 'flynn' 'https://git.dev.localflynn.com/testapp2.git'
* Couldn't find host git.dev.localflynn.com in the .netrc file; using defaults
* Hostname was NOT found in DNS cache
* Trying 192.0.2.100...
* Connected to git.dev.localflynn.com (192.0.2.100) port 443 (#0)
* found 1 certificates in /home/vagrant/.flynn/ca-certs/default.pem
* server certificate verification OK
* common name: dev.localflynn.com (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: O=Flynn,CN=dev.localflynn.com
* start date: Tue, 01 Sep 2015 18:51:37 GMT
* expire date: Sun, 30 Aug 2020 18:51:37 GMT
* issuer: O=Flynn,OU=Flynn Ephemeral CA
* compression: NULL
* cipher: AES-128-CBC
* MAC: SHA1
> GET /testapp2.git/info/refs?service=git-receive-pack HTTP/1.1
User-Agent: git/1.9.1
Host: git.dev.localflynn.com
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache
< HTTP/1.1 401 Unauthorized
< Content-Length: 24
< Content-Type: text/plain; charset=utf-8
< Date: Tue, 01 Sep 2015 19:17:32 GMT
< Www-Authenticate: Basic
<
* Connection #0 to host git.dev.localflynn.com left intact
trace: run_command: '/vagrant/cli/bin/flynn git-credentials get'
trace: exec: '/bin/sh' '-c' '/vagrant/cli/bin/flynn git-credentials get' '/vagrant/cli/bin/flynn git-credentials get'
* Couldn't find host git.dev.localflynn.com in the .netrc file; using defaults
* Found bundle for host git.dev.localflynn.com: 0xd0aca0
* Hostname was found in DNS cache
* Trying 192.0.2.100...
* Connected to git.dev.localflynn.com (192.0.2.100) port 443 (#1)
* found 1 certificates in /home/vagrant/.flynn/ca-certs/default.pem
* SSL re-using session ID
* server certificate verification OK
* common name: dev.localflynn.com (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: O=Flynn,CN=dev.localflynn.com
* start date: Tue, 01 Sep 2015 18:51:37 GMT
* expire date: Sun, 30 Aug 2020 18:51:37 GMT
* issuer: O=Flynn,OU=Flynn Ephemeral CA
* compression: NULL
* cipher: AES-128-CBC
* MAC: SHA1
> GET /testapp2.git/info/refs?service=git-receive-pack HTTP/1.1
User-Agent: git/1.9.1
Host: git.dev.localflynn.com
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache
< HTTP/1.1 401 Unauthorized
< Content-Length: 24
< Content-Type: text/plain; charset=utf-8
< Date: Tue, 01 Sep 2015 19:17:32 GMT
< Www-Authenticate: Basic
<
* Ignoring the response-body
* Connection #1 to host git.dev.localflynn.com left intact
* Issue another request to this URL: 'https://git.dev.localflynn.com/testapp2.git/info/refs?service=git-receive-pack'
* Couldn't find host git.dev.localflynn.com in the .netrc file; using defaults
* Found bundle for host git.dev.localflynn.com: 0xd0aca0
* Re-using existing connection! (#1) with host git.dev.localflynn.com
* Connected to git.dev.localflynn.com (192.0.2.100) port 443 (#1)
* Server auth using Basic with user 'user'
> GET /testapp2.git/info/refs?service=git-receive-pack HTTP/1.1
Authorization: Basic dXNlcjo5ZTM4NTYwYWY2YjJkNjJlZDI1NTk1YWJkZDg0NGY1Yg==
User-Agent: git/1.9.1
Host: git.dev.localflynn.com
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache
< HTTP/1.1 200 OK
< Cache-Control: no-cache
< Content-Length: 175
< Content-Type: application/x-git-receive-pack-advertisement
< Date: Tue, 01 Sep 2015 19:17:32 GMT
<
* Connection #1 to host git.dev.localflynn.com left intact
trace: run_command: '/vagrant/cli/bin/flynn git-credentials store'
trace: exec: '/bin/sh' '-c' '/vagrant/cli/bin/flynn git-credentials store' '/vagrant/cli/bin/flynn git-credentials store'
trace: run_command: 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://git.dev.localflynn.com/testapp2.git/' 'refs/heads/master:refs/heads/master'
trace: exec: 'git' 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://git.dev.localflynn.com/testapp2.git/' 'refs/heads/master:refs/heads/master'
trace: built-in: git 'send-pack' '--stateless-rpc' '--helper-status' '--thin' '--progress' 'https://git.dev.localflynn.com/testapp2.git/' 'refs/heads/master:refs/heads/master'
trace: run_command: 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'
trace: exec: 'git' 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'
trace: built-in: git 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'
Counting objects: 5, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 283 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0)
* Couldn't find host git.dev.localflynn.com in the .netrc file; using defaults
* Hostname was NOT found in DNS cache
* Trying 192.0.2.100...
* Connected to git.dev.localflynn.com (192.0.2.100) port 443 (#2)
* found 1 certificates in /home/vagrant/.flynn/ca-certs/default.pem
* SSL re-using session ID
* server certificate verification OK
* common name: dev.localflynn.com (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: O=Flynn,CN=dev.localflynn.com
* start date: Tue, 01 Sep 2015 18:51:37 GMT
* expire date: Sun, 30 Aug 2020 18:51:37 GMT
* issuer: O=Flynn,OU=Flynn Ephemeral CA
* compression: NULL
* cipher: AES-128-CBC
* MAC: SHA1
* Server auth using Basic with user 'user'
> POST /testapp2.git/git-receive-pack HTTP/1.1
Authorization: Basic dXNlcjo5ZTM4NTYwYWY2YjJkNjJlZDI1NTk1YWJkZDg0NGY1Yg==
User-Agent: git/1.9.1
Host: git.dev.localflynn.com
Accept-Encoding: gzip
Content-Type: application/x-git-receive-pack-request
Accept: application/x-git-receive-pack-result
Content-Length: 435
* upload completely sent off: 435 out of 435 bytes
< HTTP/1.1 200 OK
< Cache-Control: no-cache
< Content-Type: application/x-git-receive-pack-result
< Date: Tue, 01 Sep 2015 19:17:33 GMT
< Transfer-Encoding: chunked
<
-----> Building testapp2...
-----> Ruby app detected
-----> Compiling Ruby/Rack
* Connection #2 to host git.dev.localflynn.com left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment