Sonar Runner 404 localhost

前端 未结 2 1591
无人及你
无人及你 2021-01-28 20:30

I\'m trying to get Sonar working locally on an OS X box to do some proof of concept work, I\'ve downloaded the following:

Sonar Qube: 4.5.6

相关标签:
2条回答
  • 2021-01-28 21:05

    So it turned out my problem was that the JVM wasn't using the proxy settings of my machine, I had to add the following to the Sonar runner script.

    SONAR_RUNNER_OPTS="-Dhttp.proxyHost=myproxy -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=my.local.host"  
    
    0 讨论(0)
  • 2021-01-28 21:19

    It's possible that HTTP queries from sonar-runner are routed based on system proxy settings, while your browsers may use their own proxy settings.

    Go check the system-wide setting:

    System Preferences/Network/Advanced/Proxies/Bypass proxy settings for these Hosts & Domains

    And make sure that localhost/127.0.0.1 is in there.

    0 讨论(0)
提交回复
热议问题