Cannot clone esp idf repository

johnabel
Posts: 46
Joined: Sun Mar 26, 2017 5:06 pm

Cannot clone esp idf repository

Postby johnabel » Thu Dec 24, 2020 10:40 am

On ubuntu 20.04, git clone fails:

Cloning into 'esp'...
remote: Enumerating objects: 728, done.
remote: Counting objects: 100% (728/728), done.
remote: Compressing objects: 100% (363/363), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: the remote end hung up unexpectedly.
fatal: early EOF
fatal: index-pack failed

I tried yesterday and today just in case it was a network issue. Same.
Googling for that error I found some recipes, like increasing the buffer size or the compression mode, none of them worked for me.

I could clone a bare repository with depth 1 and only the branch for the release tag I want, but then I needed (?) to run
git submodule update --init --recursive and it always fails here:

Cloning into '/home/john/esp/components/esp_wifi/lib'...
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet
fatal: the remote end hung up unexpectedly.
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/espressif/esp32-wifi-lib.git' into submodule path '/home/john/esp/components/esp_wifi/lib' failed
Failed to clone 'components/esp_wifi/lib'. Retry scheduled
Cloning into '/home/john/esp/components/esp_wifi/lib'...
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet
fatal: the remote end hung up unexpectedly.
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/espressif/esp32-wifi-lib.git' into submodule path '/home/john/esp/components/esp_wifi/lib' failed
Failed to clone 'components/esp_wifi/lib' a second time, aborting

Is anything broken in the repository? I tried the tag v4.2

Who is online

Users browsing this forum: No registered users and 130 guests