Open AAK350 opened 2 years ago
The same problem has occurred on my system. Did you fix it?
I am having the same problem but with different submodule.
Submodule path 'modules/mavlink/pymavlink': checked out '57a6ab0e64468f214c1bfc8ed36fe0e2a900b2e7' From https://github.com/DroneCAN/libuavcan
I guess, https://github.com/UAVCAN/dsdl this module doesnt exist anymore . How can I update my submodule reference to the new URI? Which I think this one: https://github.com/UAVCAN/public_regulated_data_types, or do I need to build https://github.com/DroneCAN/libuavcan, (the one printed in the terminal) this module independently?
I fixed it, here is the solution : https://github.com/ArduPilot/ardupilot/issues/19523
Use this command to change the url of an existing remote repository: git remote set-url origin https://github.com/UAVCAN/public_regulated_data_types.git
Notice all the ones it was unable to fetch start with "git" rather than "https"
You can use that set-url command above to change each submodule to https, or you can use
git config --global url."https://github.com/".insteadOf git@github.com:
git config --global url."https://".insteadOf git://
to set a global config to rewrite the url with "https" instead of "git"
As I follow the installation for Ubunto 20.04 , I get the below messages after i run ( $ git submodule update --init --recursive )
Cloning into '/home/aak/ardupilot/modules/libcanard'... fatal: read error: Connection reset by peer fatal: clone of 'git://github.com/ArduPilot/libcanard.git' into submodule path '/home/aak/ardupilot/modules/libcanard' failed Failed to clone 'modules/libcanard'. Retry scheduled Cloning into '/home/aak/ardupilot/modules/libcanard'... fatal: read error: Connection reset by peer fatal: clone of 'git://github.com/ArduPilot/libcanard.git' into submodule path '/home/aak/ardupilot/modules/libcanard' failed Failed to clone 'modules/libcanard' a second time, aborting