choiks
(kisoo choi)
July 30, 2020, 6:59am
1
Template for a good bug report, formatted with Markdown :
Version: Eclipse 2020.06, SonarLint: 5.3.0, SonarQube 8.4.1
error observed (wrap logs/code around triple quote ``` for proper formatting)
SonarLint not connect to SonarQube Server
steps to reproduce
Eclipse SonarLint Plugin install
SonarLint binding Setting
Server URL, account/password input - success
test connection - success
connection name input - success
Finish not worked.
and SonarQube Server log is
[30/Jul/2020:15:04:14 +0900] "GET /api/developers/search_events?projects=&from= HTTP/1.1" 404 66 "-" "SonarLint Eclipse 5.3.0.19940" "AXOUMZw8KWOlYH7xAD24"
potential workaround
None
P.S.: use the #bug:fault sub-category if you’re hitting a specific crash/error , or the #bug:fp sub-category for rules-related behaviour
Hi @choiks
choiks:
Finish not worked.
What make you think something is not working? Can you please be more specific.
The 404 you see in SonarQube logs is expected if you have a community edition of SonarQube, because developer notifications are only available starting from the developer edition.
choiks
(kisoo choi)
July 30, 2020, 11:47pm
3
Yes, I’m using Community Edition 8.4.1.
Doesn’t SonarLint support SonarCube Community Edition?
What is the function of Sonarlint supported by SonarQube Community Edition?
It does.
All features of connected mode are available with a community edition of SonarQube, except developer notifications:
synchronization of rules
synchronization of settings (file exclusions/inclusions, issue exclusions, …)
extended rule descriptions
suppressing issues marked as false positive or won’t fix on the server
Developer notifications is about sending notifications directly inside IDE when a quality gate status failed.
choiks
(kisoo choi)
July 31, 2020, 8:12am
5
In Project context menu, “Bind to SonarQube or SonarCloud…”
SonarLint binding Setting
Server URL, account/password input - success
test connection - success
connection name input - success
Configuration completed - Fail, Finish not worked
and no binding.
Finish not worked is
when i clicked “Finish” Button, no screen changed. still Configuration completed screen
and SonarQube log is
10.10.31.193 - - [31/Jul/2020:17:03:22 +0900] "GET /api/system/status HTTP/1.1" 200 76 "-" "SonarLint Eclipse 5.3.0.19940" "AXOUMZw8KWOlYH7xAEZq"
10.10.31.193 - - [31/Jul/2020:17:03:23 +0900] "GET /api/authentication/validate?format=json HTTP/1.1" 200 14 "-" "SonarLint Eclipse 5.3.0.19940" "AXOUMZw8KWOlYH7xAEZr"
10.10.31.193 - - [31/Jul/2020:17:03:50 +0900] "GET /api/developers/search_events?projects=&from= HTTP/1.1" 404 66 "-" "SonarLint Eclipse 5.3.0.19940" "AXOUMZw8KWOlYH7xAEZs"
tsteam@sonarqube-dev:/opt/sonarqube/logs$
Can you please have a look at the SonarLint console, and Eclipse error log, for any relevant message or stacktrace?
choiks
(kisoo choi)
July 31, 2020, 8:58am
7
Thank you. I find the problem in Eclipse log.
I find the message about Secure storage.
Eclipse Secure Storage use Windows Integration in Eclipse Settings.
I unchecked Windows Integration, then binding is success.
Any idea why Windows Integration is not working? Is it something specific to your setup? From experience this is annoying to have the UI prompt asking for the master password every time you launch Eclipse…
choiks
(kisoo choi)
August 3, 2020, 12:22am
9
Sorry. I don’t know why.
I think our company recently applied Windows AD(Active Directory), and I think it might be related to it.
system
(system)
Closed
September 1, 2020, 6:56am
10
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.