"Failed to connect to the server" error importing cert

Please provide

  • Operating system: Ubuntu Linux 24.04
  • SonarQube for IntelliJ plugin version: 11.7.0.83838
  • IntelliJ version: CLion 2025.3
  • Programming language you’re coding in: C++
  • Is connected mode used:
    • SonarQube Cloud

My team is using Linux development environment for C++ development. We are using Jetbrains CLion IDE. Most (if not all) of my coworkers have installed the SonarQube plugin in CLion without issue. Whatever the issue, somehow it seems directly tied to me. I had this exact same issue on a previous computer where my coworker next to me had no issues on his new laptop. I have since switched and have the exact same laptop as he does and I’m still getting the same issue I had before.

The issue is when trying to import the authentication token. I can log in to SonarCloud website, login using Bitbucket and create a token just fine. I was able to install the SonarQube for IDE plugin on CLion without any issues. The problem only happens when I try to “add connection” to SonarQube. Using SonarQube Cloud and pasting my token that was just created. When I click next after that, it always failed with a popup that states:
”Error
Failed to connect to the server. Please check the configuration.”

As I said, most, if not all of my coworkers followed the same instructions and had no issues, so is this somehow tied directly to me? What can I even check to try to fix this?

After all that…having had problems with this over two computers about a dozen times, I found another post that talked about logs. I found out where the logs were, enabled verbose logs so I could try to get some information about the issue and when I went back to try again, it FINALLY worked all of a sudden.

I’m not sure if this is the “solution”, but I guess I’ll have to mark it as so as it seemed to suddenly work now. Quite frustrating as the above issue happened probably a dozen different attempts over two different computers.

1 Like

Hey @Chris_C, thank you for sharing this!

If you ever reproduce this issue, please reach out again with the full verbose logs from SQ:IDE :folded_hands:

1 Like

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