【问题标题】:Connecting sonarlint with eclipse and sonarqube error将 sonarlint 与 eclipse 和 sonarqube 错误连接
【发布时间】:2017-04-19 21:34:48
【问题描述】:

当我尝试将 sonarlint 与 sonarqube 连接时,我收到以下错误消息:

"Unable to update data from server 'sonar'
Fail to request https://dev.myserver.com/sonar/api/system/status

但是,当我访问该特定 URL 时,它可以正常工作。我正在运行 SonarLint 2.3.1、SonarQube 5.6.1、java 1.8 和 eclipse neon。

SonarLint 在 2.3 更新之前为我工作,没有任何问题。

编辑:我的 sonarqube 服务器只能通过公司内部连接或 VPN 访问。这应该不是问题,因为之前已连接 sonarlint?

【问题讨论】:

  • 请发布错误的完整堆栈跟踪。您可以在 SonarLint 控制台或错误日志中进行检查。
  • 因为 URL 使用的是 https,所以我敢打赌证书问题。但我不记得 2.3 和 2.3.1 之间这方面的任何变化。
  • Stacktrace: pastebin.com/NYbXz2uk 好像是证书问题?

标签: eclipse sonarqube sonarlint


【解决方案1】:

这是一个证书问题。将公司证书导入我的 cacerts 解决了我的问题,如下所述:How to solve javax.net.ssl.SSLHandshakeException Error?

【讨论】:

    猜你喜欢
    • 2018-10-15
    • 2018-11-18
    • 1970-01-01
    • 2018-01-31
    • 2018-03-26
    • 2017-04-20
    • 2016-10-10
    • 2018-03-29
    • 2017-10-18
    相关资源
    最近更新 更多