{"thread":{"id":"44157","subject":"git-upload-pack hangs","startedAt":"2016-09-26T06:49:00Z","lastAt":"2016-09-26T06:49:00Z","messageCount":1,"participants":["Jason Pyeron"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"302556","messageId":"C4943B5677A84E80B68F262D43419780@black7","threadId":"44157","inReplyTo":null,"subject":"git-upload-pack hangs","fromName":"Jason Pyeron","fromEmail":"jpyeron@pdinc.us","sentAt":"2016-09-26T05:51:22Z","receivedAt":"2016-09-26T06:49:00Z","isPatch":false,"sender":{"key":"jpyeron@pdinc.us","avatar":"https://gravatar.com/avatar/c2e53452caa53d940768a1ffc9cf76196d851b9b534b7a39cd39852a70a0508f?d=mp&s=160"},"body":"git is hanging on clone. I am runnig (cygwin) git 2.8.3 on IIS7 (windows server 2012 R2).\n\nWhere can I start to perform additional debugging?\n\nSelected items I have read, but they did not help:\n\nhttp://unix.stackexchange.com/questions/98959/git-upload-pack-hangs-indefinitely\n\nhttps://sparethought.wordpress.com/2012/12/06/setting-git-to-work-behind-ntlm-authenticated-proxy-cntlm-to-the-rescue/\n\nhttps://sourceforge.net/p/cntlm/bugs/24/\n\ninvocation of the clone:\n\njpyeron.adm@SERVER /tmp\n$ GIT_TRACE=1  GIT_CURL_VERBOSE=true git clone http://SERVER.domain.com/git/test.git\n01:23:37.020476 git.c:350               trace: built-in: git 'clone' 'http://SERVER.domain.com/git/test.git'\nCloning into 'test'...\n01:23:37.206046 run-command.c:336       trace: run_command: 'git-remote-http' 'origin' 'http://SERVER.domain.com/git/test.git'\n* STATE: INIT => CONNECT handle 0x60009a140; line 1397 (connection #-5000)\n* Couldn't find host SERVER.domain.com in the .netrc file; using defaults\n* Added connection 0. The cache now contains 1 members\n*   Trying ::1...\n* TCP_NODELAY set\n* STATE: CONNECT => WAITCONNECT handle 0x60009a140; line 1450 (connection #0)\n* Connected to SERVER.domain.com (::1) port 80 (#0)\n* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x60009a140; line 1557 (connection #0)\n* Marked for [keep alive]: HTTP default\n* STATE: SENDPROTOCONNECT => DO handle 0x60009a140; line 1575 (connection #0)\n> GET /git/test.git/info/refs?service=git-upload-pack HTTP/1.1\nHost: SERVER.domain.com\nUser-Agent: git/2.8.3\nAccept: */*\nAccept-Encoding: gzip\nAccept-Language: en-US, *;q=0.9\nPragma: no-cache\n\n* STATE: DO => DO_DONE handle 0x60009a140; line 1654 (connection #0)\n* STATE: DO_DONE => WAITPERFORM handle 0x60009a140; line 1781 (connection #0)\n* STATE: WAITPERFORM => PERFORM handle 0x60009a140; line 1791 (connection #0)\n* HTTP 1.1 or later with persistent connection, pipelining supported\n< HTTP/1.1 200 OK\n< Cache-Control: no-cache, max-age=0, must-revalidate\n< Pragma: no-cache\n< Content-Type: application/x-git-upload-pack-advertisement\n< Expires: Fri, 01 Jan 1980 00:00:00 GMT\n* Server Microsoft-IIS/8.5 is not blacklisted\n< Server: Microsoft-IIS/8.5\n< X-Powered-By: ASP.NET\n< Date: Mon, 26 Sep 2016 05:23:37 GMT\n* Marked for [closure]: Connection: close used\n< Connection: close\n< Content-Length: 310\n<\n* STATE: PERFORM => DONE handle 0x60009a140; line 1955 (connection #0)\n* multi_done\n* Curl_http_done: called premature == 0\n* Closing connection 0\n* The cache now contains 0 members\n01:23:37.688252 run-command.c:336       trace: run_command: 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--check-self-contained-and-connected' '--cloning' 'http://SERVER.domain.com/git/test.git/'\n01:23:37.717168 exec_cmd.c:120          trace: exec: 'git' 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--check-self-contained-and-connected' '--cloning' 'http://SERVER.domain.com/git/test.git/'\n01:23:37.749820 git.c:350               trace: built-in: git 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' '--check-self-contained-and-connected' '--cloning' 'http://SERVER.domain.com/git/test.git/'\n* STATE: INIT => CONNECT handle 0x60009a140; line 1397 (connection #-5000)\n* Couldn't find host SERVER.domain.com in the .netrc file; using defaults\n* Added connection 1. The cache now contains 1 members\n* Hostname SERVER.domain.com was found in DNS cache\n*   Trying ::1...\n* TCP_NODELAY set\n* STATE: CONNECT => WAITCONNECT handle 0x60009a140; line 1450 (connection #1)\n* Connected to SERVER.domain.com (::1) port 80 (#1)\n* STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x60009a140; line 1557 (connection #1)\n* Marked for [keep alive]: HTTP default\n* STATE: SENDPROTOCONNECT => DO handle 0x60009a140; line 1575 (connection #1)\n> POST /git/test.git/git-upload-pack HTTP/1.1\nHost: SERVER.domain.com\nUser-Agent: git/2.8.3\nAccept-Encoding: gzip\nContent-Type: application/x-git-upload-pack-request\nAccept: application/x-git-upload-pack-result\nContent-Length: 140\n\n* upload completely sent off: 140 out of 140 bytes\n* STATE: DO => DO_DONE handle 0x60009a140; line 1654 (connection #1)\n* STATE: DO_DONE => WAITPERFORM handle 0x60009a140; line 1781 (connection #1)\n* STATE: WAITPERFORM => PERFORM handle 0x60009a140; line 1791 (connection #1)\n\n\n--\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n-                                                               -\n- Jason Pyeron                      PD Inc. http://www.pdinc.us -\n- Principal Consultant              10 West 24th Street #100    -\n- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -\n-                                                               -\n-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- \n\n\n"}]}