【git】problems shooting

Failed to connect to github.com port 443:connection timed out

解决方法:

1
git config --global --unset http.proxy && git config --global --unset https.proxy
curl: (56) OpenSSL SSL_read: Connection reset by peer, errno 104

解决方法:

Running commands in /opt/daos/build/external/release/spdk
RUN: git submodule init
Submodule ‘dpdk’ (https://github.com/spdk/dpdk.git) registered for path ‘dpdk’
Submodule ‘intel-ipsec-mb’ (https://github.com/spdk/intel-ipsec-mb.git) registered for path ‘intel-ipsec-mb’
Submodule ‘isa-l’ (https://github.com/spdk/isa-l.git) registered for path ‘isa-l’
Submodule ‘libvfio-user’ (https://github.com/nutanix/libvfio-user.git) registered for path ‘libvfio-user’
Submodule ‘ocf’ (https://github.com/Open-CAS/ocf.git) registered for path ‘ocf’
RUN: git submodule update
Cloning into ‘/opt/daos/build/external/release/spdk/dpdk’…
fatal: unable to access ‘https://github.com/spdk/dpdk.git/': OpenSSL SSL_read: Connection reset by peer, errno 104
fatal: clone of ‘https://github.com/spdk/dpdk.git' into submodule path ‘/opt/daos/build/external/release/spdk/dpdk’ failed
Failed to clone ‘dpdk’. Retry scheduled
Cloning into ‘/opt/daos/build/external/release/spdk/intel-ipsec-mb’…
Cloning into ‘/opt/daos/build/external/release/spdk/isa-l’…
Cloning into ‘/opt/daos/build/external/release/spdk/libvfio-user’…
fatal: unable to access ‘https://github.com/nutanix/libvfio-user.git/': OpenSSL SSL_read: Connection reset by peer, errno 104
fatal: clone of ‘https://github.com/nutanix/libvfio-user.git' into submodule path ‘/opt/daos/build/external/release/spdk/libvfio-user’ failed
Failed to clone ‘libvfio-user’. Retry scheduled
Cloning into ‘/opt/daos/build/external/release/spdk/ocf’…
fatal: unable to access ‘https://github.com/Open-CAS/ocf.git/': Failed to connect to github.com port 443: Connection refused
fatal: clone of ‘https://github.com/Open-CAS/ocf.git' into submodule path ‘/opt/daos/build/external/release/spdk/ocf’ failed
Failed to clone ‘ocf’. Retry scheduled
Cloning into ‘/opt/daos/build/external/release/spdk/dpdk’…
fatal: unable to access ‘https://github.com/spdk/dpdk.git/': Failed to connect to github.com port 443: Connection refused
fatal: clone of ‘https://github.com/spdk/dpdk.git' into submodule path ‘/opt/daos/build/external/release/spdk/dpdk’ failed
Failed to clone ‘dpdk’ a second time, aborting
DownloadFailure: Failed to get /opt/daos/build/external/release/spdk from https://github.com/spdk/spdk.git: