无法连接到git子模块问题
Posted: Sun Mar 21, 2021 9:43 am
我从gitee上clone了ESP-idf 然后按照说明先执行了一下set-submodules-to-github.sh文件 然后接着执行git submodule update --init --recursive 但是每次都显示连接失败无法clone信息如下:
cyn@ubuntu:~/linuxprj/Iot_fw_esp/esp-idf$ git submodule update --init --recursive
Cloning into '/home/cyn/linuxprj/Iot_fw_esp/esp-idf/components/asio/asio'...
fatal: unable to access 'https://github.com/espressif/asio.git/': GnuTLS recv error (-54): Error in the pull function.
fatal: clone of 'https://github.com/espressif/asio.git' into submodule path '/home/cyn/linuxprj/Iot_fw_esp/esp-idf/components/asio/asio' failed
Failed to clone 'components/asio/asio'. Retry scheduled
Cloning into '/home/cyn/linuxprj/Iot_fw_esp/esp-idf/components/bt/host/nimble/nimble'...
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/espressif/esp-nimble.git' into submodule path '/home/cyn/linuxprj/Iot_fw_esp/esp-idf/components/bt/host/nimble/nimble' failed
Failed to clone 'components/bt/host/nimble/nimble'. Retry scheduled
Cloning into '/home/cyn/linuxprj/Iot_fw_esp/esp-idf/components/cbor/tinycbor'...
cyn@ubuntu:~/linuxprj/Iot_fw_esp/esp-idf$ git submodule update --init --recursive
Cloning into '/home/cyn/linuxprj/Iot_fw_esp/esp-idf/components/asio/asio'...
fatal: unable to access 'https://github.com/espressif/asio.git/': GnuTLS recv error (-54): Error in the pull function.
fatal: clone of 'https://github.com/espressif/asio.git' into submodule path '/home/cyn/linuxprj/Iot_fw_esp/esp-idf/components/asio/asio' failed
Failed to clone 'components/asio/asio'. Retry scheduled
Cloning into '/home/cyn/linuxprj/Iot_fw_esp/esp-idf/components/bt/host/nimble/nimble'...
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/espressif/esp-nimble.git' into submodule path '/home/cyn/linuxprj/Iot_fw_esp/esp-idf/components/bt/host/nimble/nimble' failed
Failed to clone 'components/bt/host/nimble/nimble'. Retry scheduled
Cloning into '/home/cyn/linuxprj/Iot_fw_esp/esp-idf/components/cbor/tinycbor'...