Can't connect to gitlab

Can’t connect sonnar and gitlab


  • docker image from official docker repo;
  • try to set up the gitlab integration

Steps to reproduce


  • run docker image:
$ docker run -d --name sonar -e SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true -p 9000:9000 sonarqube:latest


after that, sonar asks for access token once again but it returns:
Could not get projects from GitLab instance

From docker logs I can see:

I’ve tried to GET same url from postman, and it returns error 500

the stranger thing on this is, if i remove one parameter (any one) on postman, gitlab response normally…

could i change the request in sonar?
is there any other possible solution?

any help will be appreciated!


Hi, you are facing this bug. We reported the issue to Gitlab and they are working on a fix.

Ok, thank you Pierre!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

hey @paulogil2010 , FYI this bug has been fixed in 9.0.1 and in 8.9.2. version of SonarQube.
GitLab is in progress to fix the bug on its side so it should soon work again other versions of SonarQube :wink: