Unable to Finish connecting to SonarQube server

Gary O' Donoghue picture Gary O' Donoghue · Sep 21, 2017 · Viewed 8.5k times · Source

This is going to sound like a ridiculous question, but using the SonarLint Eclipse plugin (v3.2.0) on the latest Eclipse (Oxygen), I am unable to add a new SonarQube server connection.

I am working behind a company firewall, but that doesnt appear to be an issue. I am following the steps here and am able to successfully connect to our internal SonarQube instance, provide my credentials, but it is just on the final step, that the 'Finish' button does not seem to do anything, see screen below:

enter image description here

I appreciate there is probably some background processes need to run in order for this Finish to actually finish :) But this doesnt appear to be doing anything...Anyone else experience this issue?

Any before people ask, I've restarted Eclipse/laptop, uninstalled and reinstalled SonarLint plugin etc.

Thanks in advance!

Answer

Trias Alvyn picture Trias Alvyn · Sep 29, 2017

SonarLint in Eclipse are storing credentials in Eclipse secure storage that itself is protected by a master password. So you must reset it or delete it to add a new SonarQube server connection. You can try this step :

  1. In your Eclipse Go to Window > Preferences, filter and find Secure Storage.
  2. In the Tab Contents find and highlight org.sonarlint.eclipse.core, click Delete > Apply > OK. After deletion process is finished, Eclipse will ask if you want to restart the IDE. It is strongly recommended that you restart the IDE and try again to adding SonarQube server in Eclipse.

Thanks.