Sonar Eclipse Plugin - “Test connection”

时光毁灭记忆、已成空白 提交于 2019-12-22 18:52:09

问题


I use Sonar 2.4.1, Maven 2, Eclipse SDK 3.5. Sonar is up and running at http://127.0.0.1:9000.

I've installed Sonar Eclipse Plugin and when i try to add a sonar server and i click "Test connetion" button (http://localhost:9000 with or without user and password) i don't get "Connected successfully".

Waiting for your answers.


回答1:


For the Sonar Eclipse Plugin, make sure there is no side effect with the Eclipse proxy setting.
As illustrated in this bug report:

Connection via proxy works fine - tested in real life, but looks like "Test connection" button doesn't work.

So the connection might work fine, but I don't see that correction in that latest release notes.

The OP Rayouma reports:

Eclipse - > Window-> Preferences-> Network Connections.

Put Active Provider to "Manual".
For the schema "HTTP" make Edit and put in host: "127.0.0.1" and in port 9000.
Re-test the creation of the server Sonar under Eclipse and that works!



来源:https://stackoverflow.com/questions/4596105/sonar-eclipse-plugin-test-connection

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