在使用 git push 到 github 上報錯:fatal: HttpRequestException encountered


fatal: HttpRequestException encountered.
   發送請求時出錯。
      0 [main] bash (32364) e:\Program Files (x86)\Git\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x30C9408/0x2E49408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
      0 [main] bash 31852 fork: child -1 - forked process 32364 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: Resource temporarily unavailable
      0 [main] bash (31984) e:\Program Files (x86)\Git\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x30C9408/0x2EB9408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
1104150 [main] bash 31852 fork: child -1 - forked process 31984 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: Resource temporarily unavailable
      0 [main] bash (32460) e:\Program Files (x86)\Git\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x30C9408/0x2EE9408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
3187630 [main] bash 31852 fork: child -1 - forked process 32460 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: Resource temporarily unavailable
      0 [main] bash (20400) e:\Program Files (x86)\Git\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x30C9408/0x3019408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
7278726 [main] bash 31852 fork: child -1 - forked process 20400 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: Resource temporarily unavailable
      0 [main] bash (9192) e:\Program Files (x86)\Git\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x30C9408/0x2EF9408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
15370228 [main] bash 31852 fork: child -1 - forked process 9192 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: Resource temporarily unavailable
error: failed to execute prompt script (exit code 254)
fatal: could not read Username for 'https://github.com': No error

導致:

fatal: HttpRequestException encountered

這個的原因是github禁用了TLS1.0/1.1協議,github禁用了對弱加密的支持,我們可以對 git for windows 更新到最新的版本或者去更新windows的git憑證管理器,這樣就可以了。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM