Cloud Agents in Gitlab self hosted

Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

Describe the Bug

I am trying to configure my Team’s self hosted Gitlab, but after i configured the application ID and secret, it is not working correctly.

When I open cursor IDE, when I try to run a agent in the cloud, it finishes in 0.2 seconds. (Image 1)

When I try to open agents in the web, sometimes gitlab is not found, and sometimes it is, but I can’t select the branch of the repo. (Images 2 and 3)

Steps to Reproduce

Configure Gitlab Self hosted.

Try to use it.

Expected Behavior

Expected to run an agent.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version 2.1.46 and web

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. Cloud Agents for self-hosted GitLab: the agent terminates in 0.2 seconds, branches aren’t visible in the web.

Recently, GitLab for Cloud Agents started working, but there’s a bug with group projects: personal ones work, group ones don’t (error ERROR_GITHUB_NO_USER_CREDENTIALS). Similar: Gitlab cloud agent - #8 by favll

Could you please share:

  • Is this a personal project in GitLab or a group one (under organization/group)?
  • Do you have a Teams or Enterprise plan? Are you a team admin?
  • Help > Toggle Developer Tools > Console > Network when selecting the repo
  • Screenshots of GitLab OAuth/App settings (Application ID/Scopes/Redirect URI), and where the error appears
  • Disable GitLab integration in Dashboard, in GitLab itself “Revoke” the app, then reconnect
  • In the web interface, open DevTools > Network and send the response of the problematic request (often /api/background-composer/get-repository-branches) - status/code, JSON

If it’s a group project: try creating a test personal project in GitLab, connect it and say if branches appear.

If it’s confirmed that it reproduces on self-hosted and/or group projects, I’ll pass it to the team. Report the test results with the personal project and logs

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I can setup cloud agents in the web with self hosted gitlab but can’t get the environments setup using the cursor IDE

Steps to Reproduce

Connect Gitlab Self hosted,
attempt to configure the cloud agent, it will say no github connection so go fix it :slight_smile:

Expected Behavior

According to the documentation, Cloud Agents support both GitHub and GitLab repositories. The IDE’s Cloud Agent setup flow should allow me to select and configure GitLab repositories, just like the web interface does.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.47 (Universal)
VSCode Version: 1.105.1
Commit: 2d3ce3499c15efd55b6b8538ea255eb7ba4266b0
Date: 2025-12-04T02:31:50.567Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

We only use group projects.
I have Teams plan. Yes I am admin

Network tab empty.

In web: error in https://cursor.com/api/dashboard/get-base-team-admin-settings
{
“error”: {
“message”: “Error”,
“details”: [
{
“error”: “ERROR_BAD_REQUEST”,
“details”: {
“title”: “Bad request.”,
“detail”: “Team model access control feature is not enabled for this team”,
“isRetryable”: false,
“additionalInfo”: {},
“buttons”: ,
“planChoices”:
},
“isExpected”: true
}
]
}
}