在使用 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凭证管理器,这样就可以了。

 

posted on 2018-07-12 11:22  道法自然-法力无边  阅读(4345)  评论(0编辑  收藏  举报

导航