Please provide
- Operating system: Windows 11
- SonarQube for IntelliJ plugin version: SonarQube for IDE 11.2.0.82481
- IntelliJ version: IntelliJ IDEA 2025.2 (Ultimate Edition), Build #IU-252.23892.409, built on August 1, 2025
- Programming language you’re coding in: Java
- Is connected mode used: SonarQube Server 9.9.2.77730
- SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?):
And a thorough description of the problem / question:
When I go to Settings → Tools → SonarQube for IDE and select “Add a New Connection”
- I choose SonarQube server
- I enter our SonarQube address which looks like https://sonarqube.example.com/sonar
- I enter a user token I created by logging into https://sonarqube.example.com and going to the /sonar/account/security page
- I get the error
Failed to connect to the server. Please check the configuration. Cause: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 12 path $
I read the issues at
- Error when trying to add SonarQube connection
and - Failed to authenticate to sonarqube server using Proxy and Token. IntelliJ plugin - #3 by Damien_Urruty
Here is the output of https://sonarqube.example.com/sonar/api/system/status
{“id”:“6XXXXXXX-XXXXXXXXXXXXXXXX”,“version”:“9.9.2.77730”,“status”:“UP”}
Also of note:
I tried finding and disabling any proxies that I could in IntelliJ and Windows and I don’t appear to be using any.
Can you give me some more things to try? It might help to get a more complete error message/server response. I checked the intellij logs and didn’t see an error.