Skip to main content
Question

Gitlab 17.8 - Get repositories failed for organization [] with error [].

  • May 23, 2025
  • 1 reply
  • 46 views

Forum|alt.badge.img+1

Hello,

I configured a Gitlab client (devops app). I entered the url (https) and the token.

Commcell : 11.36.41

Jobs return this error.

Error code: [6:1206]

Description: Get repositories failed for organization [] with error [].
Source: "ClientName", Process: GitBackup

Log extract

2465835 25a02b 05/23 07:12:16 1049365 CVLibCurl::CVLibCurlSendHttpReqInternal() - failed to send http request
2465835 25a02b 05/23 07:12:16 1049365 CVLibCurl::CVLibCurlSendHttpReqInternal() - curl-err:[SSL peer certificate or SSH remote key was not OK] http-resp:[0] url:[https://apr1gitlab.domain.local/api/v4/groups?top_level_only=true] server-resp:[_null_] resp-size:[0]
2465835 25a02b 05/23 07:12:16 1049365 DistributedIDA::CMaster::handleEventError(1189) - 0x8007065B:{DistributedIDA::CMaster::initialize(513)} + {CVGit::GitBackupCoordinator::initialize(134)} + {CVGit::GitBackupCoordinator::initializeInternal(256)} + {CVGit::GitBackupCoordinator::GetRepoDetailsFromSubClientForGitLab(513)/Get list of repositories failed. HTTP error code [0], message [].} + {CGitLabInfo::GetAllGroupRepositories(38)} + {CGitLabOperations::GetAllGroupRepositories(1453)} + {CGitLabOperations::GetListOfGroups(440)/W32.1627.(Function failed during execution. (ERROR_FUNCTION_FAILED.1627))-GitLab API failed. Error code [0], response []}
...
2465835 25a02b 05/23 07:12:16 1049365 main(182) - 0x8007065B:{DistributedIDA::CMaster::initialize(513)} + {CVGit::GitBackupCoordinator::initialize(134)} + {CVGit::GitBackupCoordinator::initializeInternal(256)} + {CVGit::GitBackupCoordinator::GetRepoDetailsFromSubClientForGitLab(513)/Get list of repositories failed. HTTP error code [0], message [].} + {CGitLabInfo::GetAllGroupRepositories(38)} + {CGitLabOperations::GetAllGroupRepositories(1453)} + {CGitLabOperations::GetListOfGroups(440)/W32.1627.(Function failed during execution. (ERROR_FUNCTION_FAILED.1627))-GitLab API failed. Error code [0], response []}

I think error is

curl-err:[SSL peer certificate or SSH remote key was not OK] http-resp:[0] url:[https://apr1gitlab.domain.local/api/v4/groups?top_level_only=true] server-resp:[_null_] resp-size:[0]

I have tried several tokens that have administrative privileges on my gitlab.

The necessary certificates have been added to Commserv and Media Agent.

Thank you for your help.

 

1 reply

Forum|alt.badge.img+5
  • Vaulter
  • May 26, 2025

Hi ​@MiKL_Cvlt 

Good day!

-- Addressing this the jobs failed with authentication issues. 

-- Looks like the access node doesn’t have connectivity to the Gitlab instance, network issues connecting to the Gitlab infrastructure from the access node 

-- From Access node please try connecting to Gitlab URL from any browser or by running Tracert command from the Command Prompt
Start-cmd-tracert <URL>
-- Please correct permissions and roles needed for the user account specified. 


Refer

Please revalidate the following regarding permission and port. 
https://documentation.commvault.com/v11/essential/port_requirements_for_gitlab.html

https://documentation.commvault.com/2024/essential/personal_access_token_permissions_for_gitlab.html