I am having trouble connecting the SonarLint plugin in IntelliJ IDEA to our SonarQube server. The connection process consistently times out after about a minute, even though the server is accessible and the token is valid.
Environment Details:
IDE: IntelliJ IDEA 2025.2 (Community Edition) Build 252.23892.409
SonarQube for IDE (SonarLint) Plugin Version: 10.29.0.81960
Operating System: macOS Sequoia 15.6
Programming language: Java
Is connected mode used: Yes, this is what I am trying to configure.
SonarQube Server: version 2025.1 LTS
Network: No proxy is being used.
Problem Description:
In IntelliJ, I go to SonarQube for IDE and try to add a new server connection.
I enter the correct SonarQube server URL and click Next.
I provide a valid user token (which I have confirmed works elsewhere) and click Next.
The connection dialog appears and hangs for approximately one minute.
It then fails with the error message: Failed to connect to the server. Please check the configuration.
What Iāve Verified:
Server Accessibility: The SonarQube server URL is reachable from my machine.
Token Validity: I have successfully used the exact same token to make API calls to the SonarQube instance from my browser, Postman, and curl in the terminal. The connection is successful and immediate with these tools.
Network: I am not using any kind of proxy that would interfere with the connection.
The issue seems to be specific to the SonarQube for IDE pluginās ability to establish a connection from within IntelliJ.
Error Log
The SonarQube for IDE log in IntelliJ shows a clear TimeoutException. Here is the relevant part of the stack trace:
Validate Connection Task task expired
java.util.concurrent.TimeoutException
at org.sonarlint.intellij.util.FutureUtils.waitForFutureWithTimeout(FutureUtils.java:112)
at org.sonarlint.intellij.util.FutureUtils.waitForTaskWithoutCatching(FutureUtils.java:72)
at org.sonarlint.intellij.util.ThreadUtilsKt.computeOnPooledThreadWithoutCatching(ThreadUtils.kt:65)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:40)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:31)
at com.intellij.openapi.progress.Task$WithResult.run(Task.java:380)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:498)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:119)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressSynchronously$10(CoreProgressManager.java:588)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:88)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:229)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:44)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:681)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:756)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:712)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:680)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:209)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:252)
at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:515)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:480)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:173)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:167)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:476)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
Connection test failed
java.util.concurrent.TimeoutException
at org.sonarlint.intellij.util.FutureUtils.waitForFutureWithTimeout(FutureUtils.java:112)
at org.sonarlint.intellij.util.FutureUtils.waitForTaskWithoutCatching(FutureUtils.java:72)
at org.sonarlint.intellij.util.ThreadUtilsKt.computeOnPooledThreadWithoutCatching(ThreadUtils.kt:65)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:40)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:31)
at com.intellij.openapi.progress.Task$WithResult.run(Task.java:380)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:498)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:119)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressSynchronously$10(CoreProgressManager.java:588)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:88)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:229)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:44)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:681)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:756)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:712)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:680)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:209)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:252)
at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:515)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:480)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:173)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:167)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:476)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
Has anyone else experienced this on macOS or with this specific IntelliJ/SonarQube for IDE version? Are there any known issues or specific network/security settings on macOS that might be interfering with the pluginās connection, even when other tools work correctly?
Any help or suggestions would be greatly appreciated.
Besides that, these are complete logs after trying to connect to the SonarQube with the token, as well as generating new one by clicking the button:
Generate User Token Task task expired
java.util.concurrent.TimeoutException
at org.sonarlint.intellij.util.FutureUtils.waitForFutureWithTimeout(FutureUtils.java:112)
at org.sonarlint.intellij.util.FutureUtils.waitForTask(FutureUtils.java:42)
at org.sonarlint.intellij.util.ThreadUtilsKt.computeOnPooledThread(ThreadUtils.kt:71)
at org.sonarlint.intellij.config.global.wizard.AuthStep.lambda$openTokenCreationPage$3(AuthStep.java:266)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:229)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:44)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:681)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:756)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:712)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:680)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:209)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:252)
at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:515)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:480)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:173)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:167)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:476)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
Validate Connection Task task expired
java.util.concurrent.TimeoutException
at org.sonarlint.intellij.util.FutureUtils.waitForFutureWithTimeout(FutureUtils.java:112)
at org.sonarlint.intellij.util.FutureUtils.waitForTaskWithoutCatching(FutureUtils.java:72)
at org.sonarlint.intellij.util.ThreadUtilsKt.computeOnPooledThreadWithoutCatching(ThreadUtils.kt:65)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:40)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:31)
at com.intellij.openapi.progress.Task$WithResult.run(Task.java:380)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:498)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:119)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressSynchronously$10(CoreProgressManager.java:588)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:88)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:229)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:44)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:681)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:756)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:712)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:680)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:209)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:252)
at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:515)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:480)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:173)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:167)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:476)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
Connection test failed
java.util.concurrent.TimeoutException
at org.sonarlint.intellij.util.FutureUtils.waitForFutureWithTimeout(FutureUtils.java:112)
at org.sonarlint.intellij.util.FutureUtils.waitForTaskWithoutCatching(FutureUtils.java:72)
at org.sonarlint.intellij.util.ThreadUtilsKt.computeOnPooledThreadWithoutCatching(ThreadUtils.kt:65)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:40)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:31)
at com.intellij.openapi.progress.Task$WithResult.run(Task.java:380)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:498)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:119)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressSynchronously$10(CoreProgressManager.java:588)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:88)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:229)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:44)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:681)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:756)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:712)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:680)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:209)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:252)
at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:515)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:480)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:173)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:167)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:476)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
Validate Connection Task task expired
java.util.concurrent.TimeoutException
at org.sonarlint.intellij.util.FutureUtils.waitForFutureWithTimeout(FutureUtils.java:112)
at org.sonarlint.intellij.util.FutureUtils.waitForTaskWithoutCatching(FutureUtils.java:72)
at org.sonarlint.intellij.util.ThreadUtilsKt.computeOnPooledThreadWithoutCatching(ThreadUtils.kt:65)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:40)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:31)
at com.intellij.openapi.progress.Task$WithResult.run(Task.java:380)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:498)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:119)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressSynchronously$10(CoreProgressManager.java:588)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:88)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:229)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:44)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:681)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:756)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:712)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:680)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:209)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:252)
at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:515)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:480)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:173)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:167)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:476)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
Connection test failed
java.util.concurrent.TimeoutException
at org.sonarlint.intellij.util.FutureUtils.waitForFutureWithTimeout(FutureUtils.java:112)
at org.sonarlint.intellij.util.FutureUtils.waitForTaskWithoutCatching(FutureUtils.java:72)
at org.sonarlint.intellij.util.ThreadUtilsKt.computeOnPooledThreadWithoutCatching(ThreadUtils.kt:65)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:40)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:31)
at com.intellij.openapi.progress.Task$WithResult.run(Task.java:380)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:498)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:119)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressSynchronously$10(CoreProgressManager.java:588)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:88)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:229)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:44)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:681)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:756)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:712)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:680)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:209)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:252)
at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:515)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:480)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:173)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:167)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:476)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
Hey @marko_domic, these kinds of issues can be tricky to troubleshoot, as theyāre often specific to each userās environment.
Has anyone else experienced this on macOS or with this specific IntelliJ/SonarQube for IDE version? Are there any known issues or specific network/security settings on macOS that might be interfering with the pluginās connection, even when other tools work correctly?
Weāve seen similar cases in the past - not only on macOS. Based on what weāve learned from resolving them, here are some steps you could try:
Check your token type - Make sure the token youāre using is of type USER, as this is the only type supported in SQ:IDE.
Generate the token via the wizard - Instead of pasting it manually, try generating the token using the button in the connection wizard.
Restart IntelliJ and reconnect VPN - One user reported that restarting IntelliJ and then reconnecting to their VPN resolved the issue (but as I understand, you may not have a VPN).
Invalidate caches and restart IDE - Clearing caches and indices, then restarting the IDE, has also helped in some cases.
Let us know how it goes, weāre happy to investigate further.
Hey @nicolas.quinquenel , thanks for getting back to me. Here are the answers to your questions:
Token is valid, as the same token works for other colleague with the same setup as mine.
That doesnāt work either. When I click on that button, it doesnāt open browser window as it should do. Once again, for colleague of mine, this works just fine. In the logs which I provided in previous reply, you can see that it times out for that action as well.
We donāt use VPN at all, and I tried to restart IntelliJ multiple times, with removing all data and cached values from it. Also, reinstalled the plugin multiple times didnāt solve the issue either. The only thing which I havenāt tried is to reinstall the IntelliJ.
Answer from 3. question.
As this SonarQube instance is deployed in our GCP cluster, I was able to track the traffic to it. It turns out that those requests from IntelliJ donāt end up to our instance at all which is strange. Itās like something is blocking them inside the plugin or intellij. Is it possible that some exception occurred in the plugin which doesnāt proceed to connecting with SonarQube instance?
Iām also validating the token and the user using this request:
When I execute this command in Terminal, it validates token successfully. Also, I ran this request in Postman, as well as in Java code to see if itās going to work, and in all cases, it works. I can open from browser this SonarQube instance just fine. All of these indicates that itās not a network problem.
Do you have any updates on this? Iām starting to suspect there might be an issue with our SonarQube instance, as Iām running out of ideas on what else could be causing the problem. Iāve also noticed that more and more colleagues are experiencing the same issue.
By looking at the stacktrace which Iāve provided to you, Iām curious about the implementations of:
org.sonarlint.intellij.tasks.ConnectionTestTask
org.sonarlint.intellij.util.ThreadUtilsKt
org.sonarlint.intellij.util.FutureUtils
Could you explain how authentication to SonarQube is implemented in the IDE plugin? Specifically, what are the exact address, port, and protocol used for establishing the connection to the SonarQube server?
Hey @marko_domic, thanks for your patience, we havenāt forgotten you! Iām still investigating potential reasons why this timeout is happening. As you mentioned, it does seem very specific to your company environment.
SonarQube for IntelliJ uses the JDK embedded in your IntelliJ instance. It also relies on IntelliJās configured HTTP proxy settings for all HTTP requests. Could you double-check that IntelliJās proxy settings look normal?
Furthermore, SonarQube for IDE manages its own truststore in addition to the OS and Java truststores. We have documentation on how to add your SonarQube serverās certificate to the truststore in case thatās relevant.
Lastly, SonarQube for IntelliJās connection timeout is set to 1 minute. You can override this by adding VM options to IntelliJ.
Regarding the implementation details, your error relates to the validation of the connection, in which we do two calls:
api/system/status
api/authentication/validate
If the curl command you did worked, then Iād expect SQ:IntelliJ to work as well. Perhaps something related to your company firewall & IntelliJ? A good idea is also to check via WireShark (or any other tool) what request is sent and what is happening.
It would also be helpful if you could provide us with the SonarQube for IntelliJ logs with Verbose Output enabled.
Thanks for getting back to me and for the detailed suggestions.
To simplify troubleshooting and eliminate all external network factors (firewalls, proxies, SSL certificates), I have now replicated the exact same issue with a local SonarQube instance running on http://localhost:9000.
Unfortunately, the connection still times out, but only from the plugin. Most importantly, I used Wireshark to monitor all local network traffic. Here is a summary of my tests against this local instance:
Browser: The SonarQube UI at http://localhost:9000 works perfectly.
Terminal (curl): The following command succeeds instantly and returns {"valid":true}:
Java Code inside IntelliJ: Crucially, I wrote a simple Java main class (using HttpURLConnection) to perform the same validation request. When I run this code from within IntelliJ, it also succeeds instantly.
This confirms that the JDK runtime used by my project in IntelliJ has no issue connecting to localhost:9000. The problem is isolated specifically to the āCreate Connectionā action within the SonarQube for IDE plugin itself.
I can also confirm:
IntelliJ is set to āNo proxyā.
Since the test is on plain http, this rules out any SSL/truststore issues.
With verbose logging enabled, the only output I receive after the one-minute timeout is the same stack trace as before:
Validate Connection Task task expired
java.util.concurrent.TimeoutException
at org.sonarlint.intellij.util.FutureUtils.waitForFutureWithTimeout(FutureUtils.java:112)
at org.sonarlint.intellij.util.FutureUtils.waitForTaskWithoutCatching(FutureUtils.java:72)
at org.sonarlint.intellij.util.ThreadUtilsKt.computeOnPooledThreadWithoutCatching(ThreadUtils.kt:65)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:40)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:31)
at com.intellij.openapi.progress.Task$WithResult.run(Task.java:380)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:498)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:119)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressSynchronously$10(CoreProgressManager.java:588)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:88)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:229)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:44)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:681)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:756)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:712)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:680)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:209)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:252)
at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:515)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:480)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:173)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:167)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:476)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
Connection test failed
java.util.concurrent.TimeoutException
at org.sonarlint.intellij.util.FutureUtils.waitForFutureWithTimeout(FutureUtils.java:112)
at org.sonarlint.intellij.util.FutureUtils.waitForTaskWithoutCatching(FutureUtils.java:72)
at org.sonarlint.intellij.util.ThreadUtilsKt.computeOnPooledThreadWithoutCatching(ThreadUtils.kt:65)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:40)
at org.sonarlint.intellij.tasks.ConnectionTestTask.compute(ConnectionTestTask.kt:31)
at com.intellij.openapi.progress.Task$WithResult.run(Task.java:380)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:498)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:119)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressSynchronously$10(CoreProgressManager.java:588)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:88)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:252)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:229)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:44)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:681)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:756)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:712)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:680)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:209)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:252)
at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:515)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:480)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:173)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:167)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$19(ProgressRunner.java:476)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
Given that every other connection method from my machine works - including from a standard Java program running inside the same IDE - it seems there must be something specific about how the plugin initiates its network connection that is causing it to hang until the timeout is reached.
Are there any other internal plugin diagnostics I could enable? Iām happy to help debug this further.
Hey @marko_domic, many thanks for the detailed information youāve provided, and my apologies for the delayed response - this has been a tricky case to investigate.
Weāve recently introduced a new feature called Flight Recorder mode, which allows enhanced monitoring during your session. It helps us capture detailed logs, errors, and system properties for your SonarQube for IDE instance - all of which are extremely useful for diagnosing issues like the one youāre experiencing.
You can enable Flight Recorder mode by opening the SonarQube for IDE tool window ā Help & Feedback tab ā Start Flight Recorder.
This will restart the extension and automatically send diagnostic data to us. When the mode is activated, a session UUID is generated - please share this ID with us so we can locate your session in our system. (Without it, the logs remain fully anonymized.)
While Flight Recorder is running, please also generate a thread dump when the timeout occurs, using the corresponding button in the interface. This will generate a thread dump from our SonarQube for IDE process, and will be automatically sent to us. If possible, also manually generate a thread dump of the IDE process, you can follow our documentation here (for this dump, youāll have to manually share it with us).
When youāre done, you can either stop Flight Recorder manually or simply close your IDE - the feature will automatically be disabled on restart.
We suspect there might be another underlying issue preventing the HTTP request from being sent, and these logs should help us confirm that.
Thanks so much for this new debugging feature. This is great.
I have enabled Flight Recorder mode and reproduced the timeout error multiple times (only for the remote server connection).
Here is the session UUID you requested: 9d66537c-2b28-46ed-8814-7be369c20c97.
I also clicked the āgenerate a thread dumpā button from the pluginās interface right after the timeout occurred, so that should have been sent to you automatically.
Regarding the manual IDE thread dump, I am unable to share the full file as it contains project-specific information. However, Iāve extracted the stack traces for all threads that seem directly related to SonarLint, which Iāve included below.
"Thread-14388" prio=0 tid=0x0 nid=0x0 runnable
java.lang.Thread.State: RUNNABLE
(in native)
at java.base@21.0.8/java.io.FileInputStream.readBytes(Native Method)
at java.base@21.0.8/java.io.FileInputStream.implRead(FileInputStream.java:379)
at java.base@21.0.8/java.io.FileInputStream.read(FileInputStream.java:371)
at java.base@21.0.8/java.io.BufferedInputStream.read1(BufferedInputStream.java:345)
at java.base@21.0.8/java.io.BufferedInputStream.implRead(BufferedInputStream.java:420)
at java.base@21.0.8/java.io.BufferedInputStream.read(BufferedInputStream.java:405)
at java.base@21.0.8/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:350)
at java.base@21.0.8/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:393)
at java.base@21.0.8/sun.nio.cs.StreamDecoder.lockedRead(StreamDecoder.java:217)
at java.base@21.0.8/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:171)
at java.base@21.0.8/java.io.InputStreamReader.read(InputStreamReader.java:188)
at java.base@21.0.8/java.io.BufferedReader.fill(BufferedReader.java:160)
at java.base@21.0.8/java.io.BufferedReader.implReadLine(BufferedReader.java:370)
at java.base@21.0.8/java.io.BufferedReader.readLine(BufferedReader.java:347)
at java.base@21.0.8/java.io.BufferedReader.readLine(BufferedReader.java:436)
at java.base@21.0.8/java.io.BufferedReader$1.hasNext(BufferedReader.java:681)
at java.base@21.0.8/java.util.Iterator.forEachRemaining(Iterator.java:132)
at java.base@21.0.8/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
at java.base@21.0.8/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at org.sonarsource.sonarlint.core.rpc.client.SloopLauncher$StreamGobbler.run(SloopLauncher.java:166)
-----
"Client message writer" prio=0 tid=0x0 nid=0x0 waiting on condition
java.lang.Thread.State: WAITING
on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@266c26f
at java.base@21.0.8/jdk.internal.misc.Unsafe.park(Native Method)
at java.base@21.0.8/java.util.concurrent.locks.LockSupport.park(LockSupport.java:371)
at java.base@21.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:519)
at java.base@21.0.8/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:4013)
at java.base@21.0.8/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3961)
at java.base@21.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1712)
at java.base@21.0.8/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435)
at org.sonarsource.sonarlint.core.rpc.protocol.SingleThreadedMessageConsumer.lambda$new$0(SingleThreadedMessageConsumer.java:43)
at org.sonarsource.sonarlint.core.rpc.protocol.SingleThreadedMessageConsumer$$Lambda/0x000000c00347e708.run(Unknown Source)
at java.base@21.0.8/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base@21.0.8/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base@21.0.8/java.lang.Thread.runWith(Thread.java:1596)
at java.base@21.0.8/java.lang.Thread.run(Thread.java:1583)
------
"sonarlint-auto-trigger-editor-changes" prio=0 tid=0x0 nid=0x0 waiting on condition
java.lang.Thread.State: WAITING
on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@6b524178
at java.base@21.0.8/jdk.internal.misc.Unsafe.park(Native Method)
at java.base@21.0.8/java.util.concurrent.locks.LockSupport.park(LockSupport.java:371)
at java.base@21.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:519)
at java.base@21.0.8/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:4013)
at java.base@21.0.8/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3961)
at java.base@21.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1170)
at java.base@21.0.8/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
at java.base@21.0.8/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1070)
at java.base@21.0.8/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1130)
at java.base@21.0.8/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:642)
at java.base@21.0.8/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:1596)
at java.base@21.0.8/java.lang.Thread.runWith(Thread.java:1583)
at java.base@21.0.8/java.lang.Thread.run(Thread.java:1583)
------
"SonarLint Client RPC sequential executor" prio=0 tid=0x0 nid=0x0 waiting on condition
java.lang.Thread.State: WAITING
on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@3a9639b0
at java.base@21.0.8/jdk.internal.misc.Unsafe.park(Native Method)
at java.base@21.0.8/java.util.concurrent.locks.LockSupport.park(LockSupport.java:371)
at java.base@21.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:519)
at java.base@21.0.8/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:4013)
at java.base@21.0.8/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3961)
at java.base@21.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1712)
at java.base@21.0.8/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:435)
at java.base@21.0.8/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070)
at java.base@21.0.8/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base@21.0.8/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base@21.0.8/java.lang.Thread.runWith(Thread.java:1596)
at java.base@21.0.8/java.lang.Thread.run(Thread.java:1583)
I hope this information, combined with the Flight Recorder logs, helps you pinpoint the issue. Please let me know if thereās anything else I can provide.
Thank you for your quick response and for your cooperation!
Unfortunately, we only received about 2 seconds of logs (just a few lines), and we didnāt get your thread dump either. It really seems there might be something unusual going on with your network
Apologies again for the back-and-forth, but could you please share the full SonarQube for IDE verbose logs, starting from the very beginning and continuing up to the point where you experience the timeout?
I really hope we can sort this out. Could it be that your network is frequently turning on and off?
Also, if possible, could you try setting up SonarQube for IDE on VS Code and see if the same issue occurs? It should be very quick to install and could help us narrow down whether this is environment-specific.
Thanks again for your help, and looking forward to your reply.
Iām experiencing the same issue that was reported by Marko DomiÄ, and it has been happening for a couple of weeks now.
Even without configuring the server manually, Iām unable to run the Sonar analysis. Iāve encountered this issue both on macOS 15.6 (Intel architecture) and macOS 15.6 (ARM architecture, M4).
I tested the same setup using VS Code, as suggested, and Sonar worked correctly there, which indicates that the issue seems specific to IntelliJ.
I also tested the analysis on a Linux system with IntelliJ (same network), and it worked properly in that environment.
My Current Environment Details:
IDE: IntelliJ IDEA 2025.4 (Community Edition) Build #IC-252.27397.103
SonarQube for IDE (SonarLint) Plugin Version: 11.4.0.82618
Operating System: macOS Sequoia 15.6.1
Programming language: Java
Is connected mode used: Yes, this is what I am trying to configure.
Just to keep you in the loop, weāve managed to reproduce the issue internally (also on macOS). Weāre still looking into the root cause and will share updates as soon as we have them.
Unfortunately, weāre still unable to identify the root cause of the issue. So far, weāve heard from three people experiencing the same problem. The common pattern seems to be that all of you are using macOS and the latest version of IntelliJ Community Edition, though it doesnāt affect everyone systematically.
Could you please try downgrading IntelliJ CE to a previous major version and let us know if the issue persists?
Additionally, any extra details you can share would be very helpful. For example, did you perform any specific actions right before the issue started occurring?
I have a very important new finding. While I havenāt downgraded my IntelliJ version yet, I did manage to get the connection working temporarily.
The workaround for me is to run File > Invalidate Caches... (with all options checked) and restart the IDE.
For me: Immediately after the restart, the SonarQube plugin connects successfully (to both my local and remote instances) and works perfectly. However, after some time - perhaps a few hours or the next day - the issue returns, and I get the exact same connection timeout. Repeating the āInvalidate Caches and Restartā process fixes it again. This strongly suggests the problem is related to some internal state or cache that gets corrupted over time.
For my colleague: This is the most confusing part. He has the identical setup and problem, but when he tries the āInvalidate Caches and Restartā workaround, it does not work for him. He is still completely unable to connect, even after a full cache invalidation.
So, to summarize:
The problem is intermittent for me and can be temporarily fixed by invalidating caches.
The problem is permanent for my colleague, and the same fix does not work.
This behaviour seems to confirm that the issue is not a simple network or config block (like a firewall or proxy) but rather a complex state-related bug within the IDE or plugin environment.
To keep you updated, I still donāt have an understanding of why this issue happens, and we are not able to reproduce anymore internallyā¦
As I mentioned in my previous message, if you be helpful if you could try downgrading IntelliJ CE to a previous major version and let us know if the issue persists.
Also, does a full re-installation of the IDE solves the issue?
I have also checked the latest changes on the IntelliJ platform, and I couldnāt see an obvious update that could led to this.
Sorry again for how long and tedious this issue has been. This is definitely an unusual case, and I really appreciate your patience and responsiveness throughout.