@caleberg,
I’m using Ubuntu 18.04. I successfully downloaded the following:
~/courseRoot/apm$ git clone -b Copter-4.0.3 https://github.com/ardupilot/ardupilot
However, when I type “~/courseRoot/apm/ardupilot$ git submodule update --init --recursive”, I get the following errors:
“Cloning into ‘/home/alex/courseRoot/apm/ardupilot/modules/ChibiOS’…
fatal: unable to connect to github.com:
github.com[0: 140.82.112.3]: errno=Connection timed out
fatal: clone of ‘git://github.com/ArduPilot/ChibiOS.git’ into submodule path ‘/home/alex/courseRoot/apm/ardupilot/modules/ChibiOS’ failed
Failed to clone ‘modules/ChibiOS’. Retry scheduled
Cloning into ‘/home/alex/courseRoot/apm/ardupilot/modules/gbenchmark’…
fatal: unable to connect to github.com:
github.com[0: 140.82.112.4]: errno=Connection timed out
fatal: clone of ‘git://github.com/google/benchmark.git’ into submodule path ‘/home/alex/courseRoot/apm/ardupilot/modules/gbenchmark’ failed
Failed to clone ‘modules/gbenchmark’. Retry scheduled
Cloning into ‘/home/alex/courseRoot/apm/ardupilot/modules/gtest’…”
I have an internet connection. @caleberg, I then took your advice and tried “git submodule init” followed by “git submodule update --recursive”, but it didn’t help. I saw that @dronedojopadawan provided this link explaining github updated their security:
https://github.blog/2021-09-01-improving-git-protocol-security-github/
However, I don’t know how to change the “git://github.com/ArduPilot/ChibiOS.git” to “https://github.com/ArduPilot/ChibiOS.git” like the article states to do. How do I do this for the ChibiOS, benchmark, gtest, libcanard, mavlink, uavcan, etc.? Thanks