Fatal: the remote end hung up unexpectedly

I am following the steps from this page https://docs.getindico.io/en/v2.1.10/installation/development/
and when I try to clone our gitlab repo I get an error “fatal: the remote end hung up unexpectedly”

The command I use to clone is this “git clone --recursive -b 2.1.9-geant-omar gitlab@gitlab.geant.net:live-projects/indico.git src”

Can someone please help and let me know the reason this is happening and how to fix it?

Thank you

Looks like git failed to connect to your gitlab instance for some reason…

try ssh -v gitlab@gitlab.geant.net to see if connection to your repo via ssh works at all.

PS: This question would be much better suited in some place related to git…

Thanks @ThiefMaster
I got this "debug1: Authentication succeeded (publickey).
Authenticated to gitlab.geant.net "

OK, in that case it must be something related to the gitlab repo… maybe the user you are using has no access to it?

This is now sorted by changing the branch name to feature/2.1.9-geant-omar instead of just 2.1.9-geant-omar

However, some modules can’t be cloned as below:

Cloning into 'ext_modules/angular'...
fatal: unable to connect to github.com:
github.com[0:]: errno=Connection timed out

Clone of 'git://github.com/indico/angular.js.git' into submodule path 'ext_modules/angular' failed