2

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.

Rayouma
  • 152
  • 2
  • 9

1 Answers1

2

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!

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • 1
    When i try to connect to "http://nemo.sonarsource.org" it displays "Successfully connected!" so i think that the problem doesn't come from proxy configuration! – Rayouma Jan 05 '11 at 09:55
  • My server is Up and when i login (admin/admin) from the navigator it works. – Rayouma Jan 05 '11 at 09:56
  • It's seems that is a proxy problem. – Rayouma Jan 05 '11 at 17:33
  • 1
    In fact you should go to 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! – Rayouma Jan 06 '11 at 07:51
  • @Rayouma: excellent, I have edited the answer to include your solution. – VonC Jan 06 '11 at 08:22