##### 問題表象
```
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
```
##### 發(fā)現(xiàn)問題
看上面的日志炬守,是NSS的問題
##### 問題解決
嘗試更新nss
```
yum update nss nss-util nspr
yum update curl
```