Build fails in github submodule

Hello, I need your help.

I am trying to create two private repositories on github and publish them as a web service on koyeb.

I have two repositories, one for main and one for submodules.
The main repository is linked to the submodules by .gitmodules.
I can select two repositories in the repository selection screen on koyeb, so I can refer to the repositories from koyeb.
The two repositories can also be referenced in the github applications koyeb on github.

When I try to build and deploy with the main repository specified, I get an error when trying to get submodules.

I think koyeb supports recursive acquisition of github submodules, but it doesn’t work.

Build ready to start ▶️
>> Cloning github.com/xxxxxxx/test_main sha zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz into /workspace
Initialized empty Git repository in /workspace/.git/
From https://github.com/xxxxxx/test_main
 * branch zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz -> FETCH_HEAD
HEAD is now at zzzzzzzzzzzzzz Modification 1
Submodule 'sub_definition' (https://github.com/xxxxxxxx/test_sub.git) registered for path 'sub_definition'
Cloning into '/workspace/sub_definition'...
fatal: could not read Username for 'https://github.com':: No such device or address No such device or address
fatal: clone of 'https://github.com/zzzzz/test_sub.git' into submodule path '/workspace/sub_definition' failed
Failed to clone 'sub_definition'. Retry scheduled
Cloning into '/workspace/sub_definition'...
fatal: could not read Username for 'https://github.com': No such device or address No such device or address
fatal: clone of 'https://github.com/zzzzzz/test_sub.git' into submodule path '/workspace/sub_definition' failed
Failed to clone 'sub_definition' a second time, aborting
exit status 5

@ter.itou This was probably some temporal issue sorry for inconvenience

1 Like