Cannot open Eclipse Marketplace. Cannot set up remote market places: Cannot resolve host.

I am using the eclipse version of Kepler and trying to install the Sonar plugin from the Eclipse market. But I get below the error

Cannot open the Eclipse Marketplace. Unable to establish remote market. location: host cannot be resolved

This is most often related to the problem of connecting to the Internet. Check your internet connection and try again. Unknown host: http://marketplace.eclipse.org/catalogs/api/p marketplace.eclipse.org Unable to resolve the host

This is most often related to the problem of connecting to the Internet. Check your internet connection and try again. marketplace.eclipse.org

I tried to do something in accordance with the solution proposed by some people.

  • Go to window-> Settings β†’ General β†’ Network Connection. Also change the settings below Active Provider-> Manual-> and check ---> HTTP, HTTPS and SOCS. After restarting the eclipse, the problem still persisted.
  • I tried connecting to google.com from Eclipse Internet Explorer and was able to see the google homepage
  • Added line in the file eclipse.ini -vmargs -Djava.net.preferIPv4Stack = true But the same problem

I really got rid of this problem and found no help anywhere. If someone has encountered this problem and has an effective solution, please help.

The following is information about proxy files enter image description here

+9
source share
13 answers

Decision:

  • Go to-Window-> Settings-> General-> Network Connections

  • Select Active Provider for Direct

  • then click apply and then ok.

He will begin the discovery.

+5
source

Try adding the host like this: marketplace.eclipse.org/catalogs/api* to the proxy proxy.

enter image description here

+4
source
  • Open a command prompt (Windows start button, type cmd in the search)
  • Click the top left of the command line, click properties, enable quick edit mode
  • Copy: setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack = true
  • Right click on command line, paste
  • Click. It is easy!
+4
source

Eclipse Oxygen version: Window-> Preferences-> network connections-> default apply will reset the settings. restart eclipse and it should work

+2
source

Do you work for an NTLM proxy? If so, you can find help in this thread.

A slightly hacked workaround would be to manually download the plugins and add it through the β€œAdd Local Update Site”.

0
source

I had the same problem. I solved this with the following steps:

  • Window β†’ Settings β†’ Secure Store
  • Tab - Contents
  • Delete [Default Safe Store]
  • Restart Eclipse

Do not worry - the repository will be automatically recreated.

0
source

I tried all the suggestions but did not succeed for Eclipse Mars, Neo and Oxygen. Finally, it worked for Eclipse Oxygen when I added the following line to the eclipse.ini file

 -Djava.net.preferIPv4Stack=true 
0
source

I tried all the possible suggestions above, but finally got the answer to this question: this may not be the correct way to install the plugin, but it worked for me, and it served my purpose

Open the following URL: http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=252148

Open eclipse and drag the plugin from the above URL to eclipse [at the top of the header]

It will start the download and eclipse will restart after a successful installation.

0
source
  • Go to: Window-> Settings β†’ General-> Network Connections
  • Select Active Provider for Native
  • Click Apply, then OK.

NOTE: I took advantage of all the features - marketplace.eclipse.org/catalogs/api* (does not work) - change the "active provider" to "manual" / "direct" (does not work) - disable proxy / bypass entries (does not work)

0
source

I tried all the suggestions but did not succeed for Eclipse Neon and Oxygen. Finally, it worked for Eclipse Neon when I added the line below in the configuration settings to the eclipse folder.

-Djava.net.preferIPv4Stack = true

Change the configuration settings in the eclipse folder and add the following line and save it. This will work.

0
source

I tried all of the above with Eclipse Photon. No one worked. Finally, a market emerged by setting Eclipse on a path without spaces.

0
source

For me, I solved the problem with these steps:

  1. Use the CNTLM proxy server, which you can install and run by running this Readme GitHub file .

  2. Go to window β†’ Preferences-> General β†’ Network Connections

  3. Click on an empty line and add the host and the same port that you configured in CNTLM

Eclipse CNTLM Proxy

0
source

from: https://www.eclipse.org/forums/index.php/t/783720/

he says: I saw somewhere that you have to clear the SOCKS record in network connections and be in the manual Active Provider. Then restart Eclipse to apply the changes. It worked for me.

0
source

Source: https://habr.com/ru/post/1262994/


All Articles