[GitHub] the following error occurs during git push: fatal: unable to access & #39; http://github.com/xxx/xxx.git/&%39;: Recv failure: Connection reset by peer,

Source: Internet
Author: User

[GitHub] fatal: unable to access 'HTTP: // github.com/xxx/xxx.git/': Recv failure: Connection reset by peer,

Two methods are provided:

1. Solve fatal: unable to connect to github.com problem http://blog.csdn.net/greenqingqingws/article/details/11808745
Cause:
You must use https to read data.
Solution: Enter the command
Git config -- global url. "https: //". insteadOf git ://

 

2. What are the issues with using github? Fatal: unable to access; Failed connect to github.com: 8087; No error https://www.zhihu.com/question/26954892/answer/34770821
Pass:
Git config -- global http. proxy
Check whether a proxy is set. If yes, cancel this setting:
Git config -- global -- unset http. proxy
And then push it.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.