I am using eclipse Kepler version and trying to install Sonar plugin from Eclipse marketplace. But I am getting below error
Cannot open Eclipse Marketplace Cannot install remote marketplace locations: Cannot resolve host
This is most often caused by a problem with your internet connection. Please check your internet connection and retry. Unknown Host: http://marketplace.eclipse.org/catalogs/api/p marketplace.eclipse.org Cannot resolve host
This is most often caused by a problem with your internet connection. Please check your internet connection and retry. marketplace.eclipse.org
I tried below things as per solution suggested by some people.
I am really frustated by this issue and couldn't find any help anywhere. If anyone has faced this issue and has an effective resolution, please assist.
Below is the snap of Proxy details
In recent versions of MyEclipse, the Eclipse Marketplace may not be accessible. Once done, restart the IDE to apply the changes. You should now see the Eclipse Marketplace entry in the Help > Install from Catalog dialog. This is caused due to the fact that the Eclipse Marketplace API now requires HTTPS.
To access the Eclipse Marketplace Client from the Eclipse IDE: Click Cltr + 3 (Windows) or Command + 3 (Mac) - this will launch the Quick Access search bar. Start typing “Eclipse Marketplace”; it will auto-complete before you finish typing. Click Enter.
Open the Available Software Sites preference page. Enable the Latest Eclipse release https://download.eclipse.org/releases/latest repository by ticking the checkbox. Apply and Close. Check for updates.
The solution is:
Go to-Window->Preferences->General->Network Connections
Choose "Active Provider" To "Direct"
then click "apply" and then "ok".
It will Start Opening.
I tried all the suggestions but no success for Eclipse Mars, Neo and Oxygen At last it worked for Eclipse Oxygen when I added following line to eclipse.ini file
-Djava.net.preferIPv4Stack=true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With