Hi,
I'm trying to use SonarLint with SonarQube (cloud edition) to see if it works fine but I'm not able to setup the connection to the sonarqube cloud server.
After installing SonarLint on VS2015 on the connect screen popup I'm adding:
- SonarQube Server:
https://sonarqube.com or
https://sonarcloud.io- Username/token: "I'm adding the token generated on the sonarcloud web site"
- Password: "blank"
Then it popups an dialog window "Select the organisation" and I type my user name and the autocomplete finds it and when I hit ok the connection fails.
Looking at the "SonarLint" output window the following error appears:
Connecting to SonarQube server:
https://sonarcloud.io/Connecting to SonarQube server: Validating credentials
Connecting to SonarQube server: Retrieving organizations
Connecting to SonarQube server: Detecting server plugins
Discovered a supported plugin: Language: 'C#', Minimum version: '5.0'
Discovered a supported plugin: Language: '
VB.NET', Minimum version: '3.0'
Connecting to SonarQube server: Retrieving projects
SonarQube request failed: Response status code does not indicate success: 400 ().
Connecting to SonarQube server: Failed
What can I do to fix this?
Looking forward,
Nuno