Problems get the ArduPilot repository (submodule)

Hello, I have problems cloning the ArduPilot repository.
(Using Ubuntu 16.04, git-version 2.7.4)

“git clone …” works fine.
But “git submodule update…” results to “fatal: unable to connect to…”.

What can I do?
Thank you in advance!!

1 Like

you have cloned with the wrong command, I guess. Following are the right commands. Notice the first command ends with .git which creates a git directory in which you can run the third command.

git clone git://
cd ardupilot
git submodule update --init --recursive

Hope that helps.

By the way, I think you posted your question in the wrong place. You should have posted it in here for example.

1 Like

I guess you’re behind a proxy that blocks git protocol. Try running this command in shell and then trying again:

git config --global url."https://".insteadOf git://


… that’s it! Thanks a lot!

1 Like