Can't bind VS 2022 extension to SonarQube on localhost

Server version: Community Build v24.12.0.100206
Visual Studio extension version: v8.7.0.11108

Hi, I’m trying out SonarQube. I installed the community build server using Docker. I also installed the SonarQube for Visual Studio 2022 extension.
I was able to make the connection but when I select the project to bind, and then click the Bind-button I get this message: Binding could not be established. Please check the SonarQube for Visual Studio logs for more details.

The logs:

Connecting to 'http://localhost:9000/'.
Connected to SonarQube '24.12.0.100206'.
[ConnectedMode/QualityProfiles] Updating quality profiles...
[ConnectedMode/QualityProfiles] Number of out of date Quality Profiles: 6
[ConnectedMode/QualityProfiles]    Successfully downloaded quality profile. Name: 'Sonar way', Key: 'b197c17a-503e-4b5e-bbc7-c0e79566d805', Language: 'C#'
[ConnectedMode/QualityProfiles]    Successfully downloaded quality profile. Name: 'Sonar way', Key: 'fe9b9d06-61eb-425e-8610-7311354365b6', Language: 'CSS'
[ConnectedMode/QualityProfiles]    Successfully downloaded quality profile. Name: 'Sonar way', Key: 'd1687a00-130a-44c9-9f04-19eaeb52a365', Language: 'JavaScript'
[ConnectedMode/QualityProfiles]    Successfully downloaded quality profile. Name: 'Sonar way', Key: '1fbb9cca-6987-466f-a66f-70f1422b09a5', Language: 'Secrets'
[ConnectedMode/QualityProfiles]    Successfully downloaded quality profile. Name: 'Sonar way', Key: '4ee5d4f4-7fba-47e0-b5db-67e737a47002', Language: 'TypeScript'
[ConnectedMode/QualityProfiles]    Successfully downloaded quality profile. Name: 'Sonar way', Key: '2b292317-9337-4a00-90c0-3fbfe3d59708', Language: 'VB.NET'
[Hotspots] Fetching all hotspots...
[Suppressions] Fetching all suppressions...
[ConnectedMode/BranchMapping] Matching Sonar server branch: develop
[ConnectedMode/BranchMapping] Closest Sonar server branch: develop
[ConnectedMode/BranchMapping] Closest Sonar server branch: develop
[ConnectedMode/BranchMapping] Closest Sonar server branch: develop
[Hotpots] Fetch operation failed: Response status code does not indicate success: 403 ().
[ServerIssueStore] Raising change event...
[Suppressions] Finished fetching all suppressions

Server logs at the time of the bind:

2024-12-06 15:25:44 2024.12.06 14:25:44 WARN  web[e7b623b0-43ee-404d-9268-484a01c01221] /api/issues/search Parameter 'statuses' is deprecated since 10.4 and will be removed in a future version.
2024-12-06 15:25:44 2024.12.06 14:25:44 WARN  web[3d015c4e-f5cf-475c-ad0d-58e98be3c137] /api/issues/search Parameter 'statuses' is deprecated since 10.4 and will be removed in a future version.

I’m using a token for the connection, but I have the same issue when I use credentials.
What am I doing wrong?

Hey there.

Are you using a user token (as opposed to a project or global analysis token)? (docs)

User tokens are required when setting up connected mode between SonarQube Server and SonarQube for Visual Studio. Note that binding will not function properly if SonarQube Server project tokens or global tokens are used during the setup process.