Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to Finish connecting to SonarQube server

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!

like image 578
Gary O' Donoghue Avatar asked Sep 21 '17 09:09

Gary O' Donoghue


People also ask

Why is SonarQube not working?

it might be that the sonarqube installation got corrupt due to a sync issue with one drive. it is in general a bad idea to sync application data and even worse if this application data contains a database as it is in your case.

How do I restart my SonarQube server?

Restarting SonarQube can be done manually from the command line by running sonar.sh restart . In SonarQube Community Edition, you can also restart from the UI, in the Update Center. When you have Pending Changes, the restart button will be displayed in the yellow banner (see Pending Operations).

How do I turn off SonarQube server?

Running SonarQube as a Service on Windows Note: > %SONAR_HOME%\bin\windows-x86-64\SonarService. bat stop does a graceful shutdown where no new analysis report processing can start, but the tasks in progress are allowed to finish. The time a stop will take depends on the processing time of the tasks in progress.


1 Answers

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.

like image 193
Trias Alvyn Avatar answered Sep 27 '22 21:09

Trias Alvyn