I tried to install the sonarlint eclipse plugin both via command line (eclipse -nosplash -application org.eclipse.equinox.p2.director … ) and from inside eclipse with the Help > Install new software.
Both the approaches failed
Since your installation works, I now think this could be a proxy problem.
Anyway, you can see the error log I receive at the bottom:
java.net.UnknownHostException: eclipse-uc.sonarlint.org
at java.net.InetAddress.getAllByName0(InetAddress.java:1281)
at java.net.InetAddress.getAllByName(InetAddress.java:1193)
at java.net.InetAddress.getAllByName(InetAddress.java:1127)
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:262)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:161)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:328)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:612)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:263)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
It looks like the DNS resolution is not working, so something looks broken on your network or the proxy is refusing to connect to eclipse-uc.sonarlint.org
Hi All, I realized that I encountered an issue with my System proxy settings. For my problem, you can close the issue. Sorry for the noise.
For those having similar issues on setting proxies, I was on linux and to solve my issue I had to configure my proxies from Window > Preferences > search Proxy; make sure that the http and https proxies were configured, and ensure SOCKS proxies were cleared (CLEAR button).
I have a corporate proxy problem that I can’t solve for security reasons.
I’m going to get the binary directly from the plugins.
Thank you for your help.