-
Notifications
You must be signed in to change notification settings - Fork 112
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
If a GitLab group is configured but inaccessible (not public or token doesn't give access to it I guess), Sourcebot stops indexing even if other groups are accessible.
Error:
[backend] | GitbeakerRequestError: Not Found
[backend] | at throwFailedRequestError (file:///app/node_modules/@gitbeaker/rest/dist/index.mjs:41:9)
[backend] | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[backend] | at async defaultRequestHandler (file:///app/node_modules/@gitbeaker/rest/dist/index.mjs:73:48)
[backend] | at async file:///app/node_modules/@gitbeaker/core/dist/index.mjs:99:22
[backend] | at async measure (file:///app/packages/backend/dist/utils.js:5:18)
[backend] | at async file:///app/packages/backend/dist/gitlab.js:36:42
[backend] | at async Promise.all (index 1)
[backend] | at async getGitLabReposFromConfig (file:///app/packages/backend/dist/gitlab.js:34:28)
[backend] | at async syncConfig (file:///app/packages/backend/dist/main.js:184:37)
[backend] | at async measure (file:///app/packages/backend/dist/utils.js:5:18) {
[backend] | cause: {
[backend] | description: '404 Group Not Found',
[backend] | request: Request {
[backend] | method: 'GET',
[backend] | url: 'http://gitlab.mycompany.net/api/v4/groups/my-group/projects?per_page=100&include_subgroups=true',
[backend] | headers: Headers {},
[backend] | destination: '',
[backend] | referrer: 'about:client',
[backend] | referrerPolicy: '',
[backend] | mode: 'cors',
[backend] | credentials: 'same-origin',
[backend] | cache: 'default',
[backend] | redirect: 'follow',
[backend] | integrity: '',
[backend] | keepalive: false,
[backend] | isReloadNavigation: false,
[backend] | isHistoryNavigation: false,
[backend] | signal: AbortSignal { aborted: false }
[backend] | },
[backend] | response: Response {
[backend] | status: 404,
[backend] | statusText: 'Not Found',
[backend] | headers: Headers {
[backend] | server: 'nginx',
[backend] | date: 'Wed, 18 Dec 2024 12:41:00 GMT',
[backend] | 'content-type': 'application/json',
[backend] | 'content-length': '33',
[backend] | connection: 'keep-alive',
[backend] | 'cache-control': 'no-cache',
[backend] | vary: 'Origin',
[backend] | 'x-content-type-options': 'nosniff',
[backend] | 'x-frame-options': 'SAMEORIGIN',
[backend] | 'x-gitlab-meta': '{"correlation_id":"01JFCWJATPMQKECGNJ6VD1D5P3","version":"1"}',
[backend] | 'x-request-id': '01JFCWJATPMQKECGNJ6VD1D5P3',
[backend] | 'x-runtime': '0.161815'
[backend] | },
[backend] | body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
[backend] | bodyUsed: true,
[backend] | ok: false,
[backend] | redirected: false,
[backend] | type: 'basic',
[backend] | url: 'http://gitlab.mycompany.net/api/v4/groups/my-group/projects?per_page=100&include_subgroups=true'
[backend] | }
[backend] | }
[backend] | }
Version: 2.6.2
brendan-kellam
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working