Sonar Runner 404 localhost

∥☆過路亽.° 提交于 2019-12-02 11:00:47
user3617723

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"  

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!