Closed
Description
When Sourcebot syncs my repositories (around 480), a few of them (8) are failing with the following error:
[backend] | 2025-04-23T15:51:19.622Z error: [RepoManager] Failed to sync repository 447, attempt 2/3. Sleeping for 10s... Error: Error: Failed to clone repository
My conf looks like:
{
"$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/refs/heads/main/schemas/v3/index.json",
"connections": {
"some-connection1": {
"type": "github",
"repos": ["myorga/repo"],
"revisions": {
"branches": [
"main",
"stable_v1",
"stable_v2"
]
}
},
"some-connection2": {
"type": "github",
"repos": ["Behat/Gherkin"]
},
"some-connection3": {
"type": "gitlab",
"token": {
"env": "GITLAB_TOKEN"
},
"groups": [
"plugins"
],
"url": "https://my-self-hosted-instance.tld"
}
}
}
I first thought it's because of the API limit in Gitlab or because one or two projects are archived, but I figured out that it also fails to sync sometimes "some-connection1" and "some-connection2" and furthermore, the 8 repositories are always other repos - not the same. Any ideas why the indexing fails?
I'm using v3.0.4 of Sourcebot