After updating libphutil, arcanist, and phabricator, doing the storage upgrade, and then restarting all the daemons, I can no longer pip install from a git repo. I removed pip from the equation and found that git clone using http no longer works for me. It hangs indefinitely. I can clone using ssh, just not http. I've looked over all the config and it looks good. This has been working for many months, so unless the newer code requires a change to the config somewhere, I don't think this is a configuration issue. I tried both the stable and master branches with the same results. I'm on master now.
Here is the command I'm running:
% git clone https://srlib:<password>@phabricator.sproutretail.com/diffusion/SL/srlib.git@v1.2.15
Cloning into 'srlib.git@v1.2.15'...
And that is all I get before it hangs indefinitely.
Here is what I get if I set GIT_CURL_VERBOSE and GIT_TRACE:
trace: built-in: git 'clone' 'https://srlib:<password>@phabricator.sproutretail.com/diffusion/SL/srlib.git@v1.2.15'
trace: run_command: 'git-remote-https' 'origin' 'https://srlib:<password>@phabricator.sproutretail.com/diffusion/SL/srlib.git@v1.2.15'
Cloning into 'srlib.git@v1.2.15'...
* Couldn't find host phabricator.sproutretail.com in the .netrc file; using defaults
* Adding handle: conn: 0x970cd0
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x970cd0) send_pipe: 1, recv_pipe: 0
* About to connect() to phabricator.sproutretail.com port 443 (#0)
* Trying 107.170.39.60...
* Connected to phabricator.sproutretail.com (107.170.39.60) port 443 (#0)
* found 164 certificates in /etc/ssl/certs/ca-certificates.crt
* server certificate verification OK
* common name: bytevampire.com (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: C=US,postalCode=08807,ST=New Jersey,L=Bridgewater,STREET=Suite 2000,STREET=1200 Rt 22 E,O=Sprout Retail\, Inc.,OU=Multi-Domain SSL,CN=bytevampire.com
* start date: Mon, 05 Oct 2015 00:00:00 GMT
* expire date: Thu, 29 Dec 2016 23:59:59 GMT
* issuer: C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO RSA Organization Validation Secure Server CA
* compression: NULL
* cipher: AES-128-CBC
* MAC: SHA1
> GET /diffusion/SL/srlib.git@v1.2.15/info/refs?service=git-upload-pack HTTP/1.1
User-Agent: git/1.8.3.2
Host: phabricator.sproutretail.com
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache
< HTTP/1.1 401 You must log in to access repositories.
* Server nginx/1.4.6 (Ubuntu) is not blacklisted
< Server: nginx/1.4.6 (Ubuntu)
< Date: Tue, 02 Feb 2016 02:12:47 GMT
< Content-Type: text/html
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: PHP/5.5.9-1ubuntu4.14
< WWW-Authenticate: Basic realm="Phabricator Repositories"
<
* Ignoring the response-body
* Connection #0 to host phabricator.sproutretail.com left intact
* Issue another request to this URL: 'https://srlib:<password>@phabricator.sproutretail.com/diffusion/SL/srlib.git@v1.2.15/info/refs?service=git-upload-pack'
* Couldn't find host phabricator.sproutretail.com in the .netrc file; using defaults
* Found bundle for host phabricator.sproutretail.com: 0x911470
* Re-using existing connection! (#0) with host phabricator.sproutretail.com
* Connected to phabricator.sproutretail.com (107.170.39.60) port 443 (#0)
* Adding handle: conn: 0x970cd0
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x970cd0) send_pipe: 1, recv_pipe: 0
* Server auth using Basic with user 'srlib'
> GET /diffusion/SL/srlib.git@v1.2.15/info/refs?service=git-upload-pack HTTP/1.1
Authorization: Basic c3JscWI6U3Xyb3V1ODk=
User-Agent: git/1.8.3.2
Host: phabricator.sproutretail.com
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache
< HTTP/1.1 200 OK
* Server nginx/1.4.6 (Ubuntu) is not blacklisted
< Server: nginx/1.4.6 (Ubuntu)
< Date: Tue, 02 Feb 2016 02:12:47 GMT
< Content-Type: application/x-git-upload-pack-advertisement
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: PHP/5.5.9-1ubuntu4.14
< X-Frame-Options: Deny
< 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 phabricator.sproutretail.com left intact
trace: run_command: 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--no-progress' 'https://srlib:<password>@phabricator.sproutretail.com/diffusion/SL/srlib.git@v1.2.15/'
trace: exec: 'git' 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--no-progress' 'https://srlib:<password>@phabricator.sproutretail.com/diffusion/SL/srlib.git@v1.2.15/'
trace: built-in: git 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--no-progress' 'https://srlib:<password>@phabricator.sproutretail.com/diffusion/SL/srlib.git@v1.2.15/'
* Couldn't find host phabricator.sproutretail.com in the .netrc file; using defaults
* Adding handle: conn: 0xc4ff20
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 1 (0xc4ff20) send_pipe: 1, recv_pipe: 0
* About to connect() to phabricator.sproutretail.com port 443 (#1)
* Trying 107.170.39.60...
* Connected to phabricator.sproutretail.com (107.170.39.60) port 443 (#1)
* found 164 certificates in /etc/ssl/certs/ca-certificates.crt
* SSL re-using session ID
* server certificate verification OK
* common name: bytevampire.com (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: C=US,postalCode=08807,ST=New Jersey,L=Bridgewater,STREET=Suite 2000,STREET=1200 Rt 22 E,O=Sprout Retail\, Inc.,OU=Multi-Domain SSL,CN=bytevampire.com
* start date: Mon, 05 Oct 2015 00:00:00 GMT
* expire date: Thu, 29 Dec 2016 23:59:59 GMT
* issuer: C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO RSA Organization Validation Secure Server CA
* compression: NULL
* cipher: AES-128-CBC
* MAC: SHA1
* Server auth using Basic with user 'srlib'
> POST /diffusion/SL/srlib.git@v1.2.15/git-upload-pack HTTP/1.1
Authorization: Basic c3JscWI6U3Xyb3V1ODk=
User-Agent: git/1.8.3.2
Host: phabricator.sproutretail.com
Accept-Encoding: gzip
Content-Type: application/x-git-upload-pack-request
Accept: application/x-git-upload-pack-result
Content-Encoding: gzip
Content-Length: 1412
* upload completely sent off: 1412 out of 1412 bytes
< HTTP/1.1 200 OK
* Server nginx/1.4.6 (Ubuntu) is not blacklisted
< Server: nginx/1.4.6 (Ubuntu)
< Date: Tue, 02 Feb 2016 02:12:48 GMT
< Content-Type: application/x-git-upload-pack-result
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: PHP/5.5.9-1ubuntu4.14
< X-Frame-Options: Deny
< Expires: Fri, 01 Jan 1980 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
<
* Connection #1 to host phabricator.sproutretail.com left intact
So, it looks like authentication is working fine and at least a GET and POST to git-upload-pack both return 200, but it hangs after that. I'm not really sure what else to look for.
Thanks,
Tony.