Sonar Eclipse Plugin - “Test connection”

2019-05-27 22:05发布

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条回答
Deceive 欺骗
2楼-- · 2019-05-27 22:25

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!

查看更多
登录 后发表回答