SonarQube升级至6.7后SonarLint与IntelliJ连接失败求助
After upgrading our SonarQube instance from 6.6 to 6.7, I’ve hit a roadblock with SonarLint in IntelliJ IDEA—it can no longer connect to the SonarQube server.
A bit of context on our setup: we use an enterprise proxy, which worked flawlessly with SonarQube 6.6. Back then, clicking the "Test Connection" button in SonarLint’s server configuration would return a successful status without any issues.
Now, when trying to configure the server in SonarLint, I get this error message:
Failed to connect to the server. Please check the configuration. Error: Fail to request https://mysonardomain/sonar/api/system/status
Oddly enough, accessing that exact API endpoint directly through a browser returns a valid, healthy JSON response:
{ "id": "xxxxxxxxxxxxxxx", "version": "6.7.0.33306", "status": "UP" }
Looking at the error logs, the root cause is a java.net.ConnectException: Connection refused: connect.
We’re using a self-signed SSL certificate for SonarQube, which I’ve already added to the JVM’s certificate store. IntelliJ recognizes it correctly—there’s no SSLHandshakeException being thrown, so SSL doesn’t appear to be the culprit here.
For reference, here are the versions we’re running:
- IntelliJ IDEA 2017.3.2 (Ultimate Edition)
- SonarQube 6.7
- SonarLint 3.1.0.2244
Has anyone encountered this exact issue after upgrading to SonarQube 6.7? What troubleshooting steps should I try next? Did I overlook any critical details that could help diagnose this problem? Thanks so much for any input!
内容的提问来源于stack exchange,提问作者Christoph Forster

