##### 问题表象
```
git clone ....
error: while accessing https://github.com/ahmednawras/log4erl.git/info/refs
fatal: HTTP request failed
```
##### 排查过程
##### 1.打开curl日志
```
export GIT_CURL_VERBOSE=1
git clone https://github.com/ahmednawras/log4erl.git
Initialized empty Git repository in /home/sgame/log4erl/.git/
* Couldn't find host github.com in the .netrc file; using defaults
* About to connect() to github.com port 443 (#0)
* Trying 192.30.255.113... * Connected to github.com (192.30.255.113) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -12190
* Expire cleared
* Closing connection #0
* Couldn't find host github.com in the .netrc file; using defaults
* About to connect() to github.com port 443 (#0)
* Trying 192.30.255.113... * Connected to github.com (192.30.255.113) port 443 (#0)
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -12190
* Expire cleared
* Closing connection #0
error: while accessing https://github.com/ahmednawras/log4erl.git/info/refs
fatal: HTTP request failed
```
##### 发现问题
看上面的日志,是NSS的问题
##### 问题解决
尝试更新nss
```
yum update nss nss-util nspr
yum update curl
```
网友评论