git clone error: Fatal:http request failed

Source: Internet
Author: User
Tags ssl connection
git clone https://github.com/xxxx/lilxxy.gitInitialized empty Git repository in /tmp/clone123/lxyily/.git/error: while accessing https://github.com/xxxx/lxyily.git/info/refsfatal: HTTP request failed

The cause of this error can be:
1. Server Time Issues
2. Git version issue
3, Curl version issue
For 3, because Git is actually connected by curl when connected. Via Curl Https://xxxx found also error, found SSL connection problem
It is not the same as the version of Curl in a server that can git clone to find a failed server. So update curl

yum update -y nss curl libcurl

NSS here is the default use of SSL authentication method, of course, can also be changed to OpenSSL way. See if it is NSS or OpenSSL certified in a way that

If you need to change the way to OpenSSL, you can refer to the network

Https://www.cnblogs.com/showker/p/4706271.html

git clone error: Fatal:http request failed

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.