Cannot connect to SonarQube Enterprise due Invalid Protocol Version

We have upgraded our SonarQube from community to enterprise edition. Now I wanted to switch to the new URL and created a new connection. At the end of the login step I get:

Error: Invalid protocol version.

Versions used:

  • SonarQube Enterprise Edition Version 8.9.2 (build 46101)

IntelliJ IDEA 2021.2.3 (Ultimate Edition)
Build #IU-212.5457.46, built on October 12, 2021
Runtime version: 11.0.12+7-b1504.40 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry: ide.intellij.laf.enable.animation=true, debugger.watches.in.variables=false, debugger.valueTooltipAutoShowOnSelection=true, ide.balloon.shadow.size=0
Non-Bundled Plugins: com.samdark.intellij-visual-studio-code-dark-plus (2.5), org.sonarlint.idea (6.1.0.38326), com.github.b3er.idea.plugins.arc.browser (0.23), GrepConsole (12.0.211.6086.4), com.intellij.kubernetes (212.5457.4), MavenRunHelper (4.17.212.000.0), com.intellij.jboss.arquillian (212.5457.20), Karma (212.4746.57), org.jetbrains.kotlin (212-1.5.31-release-546-IJ4638.7), izhangzhihao.rainbow.brackets (6.21), com.haulmont.jpab (5.7-212)
Kotlin: 212-1.5.31-release-546-IJ4638.7

Hello @kreake,

Has something changed during the upgrade, a different HTTPS certificate, introduction of a proxy ?

We very recently fixed a similar problem on SonarLint for VSCode and we also plan to port the fix to SonarLint for IntelliJ. This could help in your case. Here is the corresponding ticket

Hi @Damien_Urruty ,

No nothing has changed in the infrastructure. Just new version of SonarQube and SonarLint plugin.

Can you guess when the fix will be available for the plugin?

Cheers

We will probably work on it in the next days or next week

@Damien_Urruty JIRA says the fix is done. Any idea when it might become available in the Marketplace? Currently 6.1.0.38326 is available (for Webstorm, at least) which I believe pre-dates this fix?

Hello, FYI version 6.2.0.39326 which includes the aforementioned fix just got published to the JetBrains plugin repository.

Thank you for the fix. It’s working now.

1 Like

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