git push hangs over (dumb) https, after HTTP/1.1 100 Continue

后端 未结 1 1553
傲寒
傲寒 2020-12-31 21:39

I\'m trying to push some changes, but git push hangs. When I run git push, I see no output, and nothing seems to be happening. There\'s no activi

相关标签:
1条回答
  • 2020-12-31 21:56

    I've got problem with same symptoms (process hangs at HTTP/1.1 100 Continue).

    I've found a commit that resolves the issue for me: http-push.c: make CURLOPT_IOCTLDATA a usable pointer, it's available in GIT release v2.0.3.

    Apparently user is not being authenticated correctly on server even it does seems so from the communication.

    Problem is weird, because for you it shows up on one machine but not on another with same GIT versions installed, for me GIT just stopped working within period of one month and I can't really say what was the cause.

    Alternatively if it's possible, use GIT service provider that allows other protocols: SSH or HTTPS, these are much better debugged.


    For windows users, here's my take on git-http-push 2.1.0-rc2 build (based on msysGit project instructions)

    To backport to your msysGit installation, unzip it and in msysGit installation folder copy into/ overwrite libexec\git-core\git-http-push.exe.

    The issue has been reported here.

    Update

    Latest msysGit (Git-1.9.4-preview20140815) contains backported bugfix.

    0 讨论(0)
提交回复
热议问题