Unable to connect IDE to server

Please provide

  • Operating system: Windows 11 Home (Build 22631.5039)
  • SonarQube for IntelliJ plugin version: 10.19.0.80823
  • IntelliJ version: 2024.3.4.1 (Build #IU-243.25659.59)
  • Programming language you’re coding in: Kotlin
  • Is connected mode used:
    • SonarQube Community (Tried to)
  • Build? (if one of the latter two, which version?): 25.3.0.104237

And a thorough description of the problem / question:

When trying to create a new server connection in the IDE plugin, i get a “java.lang.AssertionError” when I enter a token manually. If I try to autogenerate a token via the button on the right, I get redirected to my server instance, click allow and then get an error that the minimum expirationDate needs to be at least tomorrow.

Hey, @Yinain, thank you for reaching out to us about this.

Unfortunately, SonarQube Community Build version 25.3 has an issue with token generation for SonarQube for IDE. A fix has been made and will be included in the next monthly release.

For now, I suggest manually creating a connection in SonarQube for IDE. To do so, you should generate a user token on the Security page, accessible within your profile account, and proceed to the connection setup; you can get more information via our documentation.

Sorry for the inconvenience.

1 Like

Thanks for your quick reply! Unfortunately manually adding a token is not working either as I get a java.lang.AssertionError whilst trying

Could please share with us your SonarQube for IDE logs? Thanks!

I’d love to, but after having the problem for hours, adding the token manually just started working again.

Thanks for letting us know. Such an error can happen for many reasons, but most of the time, it’s due to a networking issue. For instance, the server was unreachable due to a proxy issue, server down, etc.

If it ever happens again, do not hesitate to share the logs!

1 Like