Doc Davluz
Doc Davluz

Reputation: 4250

Unable to connect Sonar Eclipse Plugin to Sonar Server

I have installed the latest version on the Sonar Eclipse Plugin on an Eclipse Juno 3.8. I am desperatly trying to connect the plugin to our running instance of Sonar. I'm behind a NTLM v2 Proxy. Hereunder, details of my configuration and my attempts.

Versions of products :

Trying to access with the following proxy configurations with an without http_proxy variable in the configuration:

I systematically got org.apache.http.conn.ConnectTimeoutException in the logs (trying to access http://source01:9000/api/authentication/validate which work in a browser).

No more idea on what to test.

Upvotes: 5

Views: 11414

Answers (1)

Doc Davluz
Doc Davluz

Reputation: 4250

I have finally found the problem seeking for a different one (Tomcat WST server started but Eclipse was unable to connect to it and timed out).

The problem comes from a strange and unpredictable behavior of the SOCKS proxy parameter.

When SOCKS proxy is defined, in some undefined cases, both starting a WST server or connecting to a SonarQube server through the plugin fail, whereas other functions like plugin installs work like a charm.

The solution came from https://stackoverflow.com/a/6459816/256561 and is to clear SOCKS proxy settings.

Upvotes: 5

Related Questions