Git error: fatal: HTTP request failed


If you get error like:

[root@tutorialspots ffmpeg_sources]# git clone --depth 1 https://github.com/mstorsjo/fdk-aac
Initialized empty Git repository in /root/ffmpeg_sources/fdk-aac/.git/
error:  while accessing https://github.com/mstorsjo/fdk-aac/info/refs

fatal: HTTP request failed

Fix:

yum update -y nss curl libcurl

Done!

[root@tutorialspots ffmpeg_sources]# git clone https://github.com/mstorsjo/fdk-aac
Initialized empty Git repository in /root/ffmpeg_sources/fdk-aac/.git/
remote: Enumerating objects: 3871, done.
remote: Total 3871 (delta 0), reused 0 (delta 0), pack-reused 3871
Receiving objects: 100% (3871/3871), 7.07 MiB | 5.47 MiB/s, done.
Resolving deltas: 100% (2311/2311), done.

1 Comment

Leave a Reply