issues description:
About to connect() to github.com port 443 (#0)
* Trying 20.205.243.166...
* Connected to github.com (20.205.243.166) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -12190 (SSL_ERROR_PROTOCOL_VERSION_ALERT)
* Peer reports incompatible or unsupported protocol version.
* Closing connection 0
curl: (35) Peer reports incompatible or unsupported protocol version.
Solution
upgrade local server curl
#Centos
sudo yum update curl
#ubuntu
sudo apt update curl
# Mac os
brew upgrade curl
评论区