Why can't I download any plugins through Install New Software? - eclipse

I am unable to download any plugins for Eclipse through Install New Software, or via Marketplace. The specific plugin I am after is Run-Jetty-Run, but after some testing, I noticed I couldn't download anything, even from the Eclipse update sources.
I'm running the latest version of Indigo, and am using Win7 64-bit. My machine is behind a router and running AVG Free.
Things I have already tried:
Forwarding port 4000
Running Eclipse as Administrator
Adding exception for Eclipse in Windows Firewall
When trying to download the sources for RJR, I get a "Provisioning exception" in the error log, but no pop-up message. The trace is huge, will post if necessary. Eventually I get to the screen where I accept the license agreement, and the download starts but hangs at a step labeled Fetching [repository URL]. After a time, I get this pop-up error:
An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://run-jetty-run.googlecode.com/svn/trunk/updatesite/plugins/runjettyrun_1.3.3.201203161919.jar.
Read timed out
Unable to read repository at http://run-jetty-run.googlecode.com/svn/trunk/updatesite/plugins/runjettyrun.jetty7_1.3.3.201203161919.jar.
Read timed out
[The last three lines are repeated again, but my reputation is too low to post another link]
I know this is not the repository itself that is failing - every plugin I have tried to load has failed in an analogous way with the same sort of error message, and I can download the jars just fine through my browser.

This is exactly the problem that one gets when there is some kind of firewall or if your proxies are not set up properly. Have you gone to Preferences -> General -> Network Settings and set up your proxy configuration there?
If this doesn't work, then some projects have archived update sites that you can download. Try looking for one of them, downloading and installing from the local update site.

Related

Eclipse connecting errors

I'm new to using Eclipse and my experiance with it so far has been shocking. It wouldnt even install from the Exe provided on the site... Every time it tries to connect for an update or a plugin I want to install it just throws an error saying it can't connect to the site or theres an error authenticating or theres an error reading signed content. Is there something ive missed while searching the internet to resolve these issues...
I have already tried disabling firewall, disabling antivirus, setting 'Active Provider' under network connections to Manual and the default of Native, Deleting the artifacts.xml file, deleting cache.
Just as an example of the error I have included an error I've just made it create by reloading Oxygen in Available Software Sites of the settings:
Unable to read repository at http://download.eclipse.org/releases/oxygen.
Unable to read repository at http://download.eclipse.org/releases/oxygen.
Unable to read repository at http://download.eclipse.org/releases/oxygen/201712201001.
Input is not in the XZ format
Also when Installing WindowBuilder from this URL http://download.eclipse.org/windowbuilder/WB/integration/4.7/ which is clearly working:
Unknown Host: http://http/download.eclipse.org/windowbuilder/WB/integration/4.7/content.xml
Unknown Host: http://http/download.eclipse.org/windowbuilder/WB/integration/4.7/content.xml
http

How to clear Eclipse p2 repository cache

I am facing the puzzling fact that the information of update sites fail to be updated despite my forcing a reload in Preferences > Install/Updates > Available Software Sites.
I have a local update site (file:/ protocol, on Windows) and an online update site (https://) that I use as staging/test update sites for an open source project that I am maintaining.
I build the update site using an update site project that is stored locally and wiped clean each time I build it. When I have tested the new release in a different Eclipse instance and I have validated my changes, I then upload the entire update site to my server. Then, just to simulate what a user would do, I update the plugin in another Eclipse instance that runs on a different physical machine.
I have (yesterday) built another version, 2.2.0.201702052007 and uploaded it to my server. The previous version was 2.2.0.201702042059.
The problem that I have is that the Eclipse instances (Mars.2 and Neon) on my development machine keep reporting the previous to last version, despite my reloading the update site information. However, the other machine sees the new version without a problem.
This is what I've tried:
Reloading the information of the update site: each time, I get a confirmation message saying "information for [...] has been reloaded from the server" but it turns out that it hasn't been reloaded: I see the older feature version.
Accessing the update site from a different Eclipse instance on a different machine: I see the new version.
Loading the update site's site.xml file from a browser: I see the new version.
Using FileZilla to download the entire update site to a local folder and unzipping content.jar and artifacts.jar so that I can read the XML files embedded in those JAR files: I see no trace of the older version.
Removing the update site, restarting Eclipse and adding the update site again: the problem was still there.
As a last resort, I removed all files of the update site from the server: Eclipse still reported successfully reloading the information from the server.
I shut down the httpd service on the VPS. Eclipse reported success until I restarted it and it then failed. But once the web server was again online, it failed to actually send a request to the web server as it kept saying there was no update site! As a consequence, the online update site now appears empty and restarting Eclipse does not change that.
[EDIT] Even more incomprehensible, the Reload button reports success even when there's no network connection to the update site (network interface disabled).[/EDIT]
There seems to be in the provisioning framework a cache somewhere between the UI and my server that reports an outdated information and feature version in spite of the explicit requests to reload that very information.
Is there any file or folder that I can delete to have the provisioning framework reset itself? If possible, I would altogether disable its cache.
I've found out that Oomph apparently has an action on the update site information retrieval process.
Anyway, I could recover normal operation (for now) and have the information properly reloaded by first deleting the appropriate files in C:\Users\...\.eclipse\org.eclipse.oomph.p2\cache.
By “the appropriate files”, I am referring to the fact that files in that folder are named after the URLs of repositories known to your Eclipse instances.

Cannot install IBM Eclipse tools for Bluemix due to network issue

I'm trying to install IBM Eclipse tools for Bluemix but getting this error:
An error occurred while collecting items to be installed session
context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=). Unable to read repository at
http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/updates/wdt/kepler/plugins/com.ibm.ws.st.common.core_1.0.100.v20150220_1740.jar.
Connection reset
I tried to use solution from this dW Answers post Downloading Bluemix plugin for Eclipse... Is it even possible??? but it didn't help.
When I went and tried to manually download file by using this link : http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/updates/wdt/kepler/plugins/com.ibm.ws.st.common.core_1.0.100.v20150220_1740.jar I get an error:
This webpage is not available
But when I changed link to use https as following, it works:
https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/updates/wdt/kepler/plugins/com.ibm.ws.st.common.core_1.0.100.v20150220_1740.jar
So, my question is how can I redirect all "problematic" links to correct web site? In other words, is it possible to one url to another url?
Thank you.
UPDATE:
Tried to install this plugin at home and everything worked. I suspect that something wrong with a network on a work, will ask our admins to try to investigate the issue and post it back if we'll discover something interesting.
UPDATE 2
Confirmed by admins. It was a temporary network issue.
here is the last updated guide for Eclipse Bluemix tool plugin, which should be always used to install this plugin for the first time, in order to be sure on using the right version
https://www.ng.bluemix.net/docs/#manageapps/eclipsetools/eclipsetools.html#eclipsetools
At the following url a shorted version with Eclipse installation link:
https://www.ng.bluemix.net/docs/starters/deploy_eclipsetools.html
Your issue could be related to an obsolete reference updated with a new release version for the plugin.

unable to read repository when installing google plugin for eclipse

when I tried to install Google plugin for eclipse, the installation was always failed with the following error messages.
the first ones:
Unable to connect to repository h**ps://dl.google.com/eclipse/plugin/4.2/content.xml
Unable to connect to repository h**ps://dl.google.com/eclipse/plugin/4.2/content.xml
Connection timed out: connect
I clicked the OK button, after a few minutes, the second ones popped up as follows.
Unable to read repository at h**ps://dl.google.com/eclipse/plugin/4.2/content.xml.
Unable to read repository at h**ps://dl.google.com/eclipse/plugin/4.2/content.xml.
Software caused connection abort: recv failed
Then I clicked the OK button again, the installation stopped and failed.
I totally follow the instruction on Google's official website https://developers.google.com/eclipse/docs/getting_started. The version of Eclipse I used is
Eclipse 3.8/4.2 (Juno), and the direct link of the plugin for Eclipse 3.8/4.2 (Juno) is https://dl.google.com/eclipse/plugin/4.2.
BTW, the goagent was running during I did all the above searching and installation, would this be a problem of the connection failure? Hope it's not, because I need to run goagent otherwise I cannot access to Google's websites...
Could anyone tell me have to fix the problem? Thanks in advance!
PS. ** stands for tt. I made such changes because the body of my question now cannot contain more than two links...

Eclipse unable to connect to TFS Server

I am using eclipse with Microsoft Visual Studio Team Explorer Everywhere 2010. I was able to successfully import my Project, but every time I open eclipse, The progress window gets stuck at 60% while trying to "Refresh TFS Server Information for http://my.server".
Eventually I will get an error from eclipse:
An internal error occured during:"refreshing server item information for project MyProject".
com.ctc.wstc.exc.WstxIOException: Connection reset.
Also I get this messagewhen trying to refresh manually:
An internal error occured during:"Refreshing TFS Server information for http://my.server".
[com.ctc.wstx.exc.Wstx.LazyException] Connection reset.
Any help is greatly appreciated!
The "Connection reset" is coming from TEE's network communication layer and message points to a network problem. Can you use any TFS features from the plug-in (is "Refresh Server Item Information" the only thing that fails)? If you can't use any TFS features from the plug-in, check that Eclipse's HTTP proxy configuration is correct.
If you can use some TFS features, but the server item information refresh feature is failing, check that you don't have an HTTP proxy, firewall, or NAT device between your client and TFS that is dropping TCP sockets after a short time. Refreshing information for a large number of files, or from a heavily loaded server, may take a while (perhaps minutes). A network device that "drops" the active TCP socket without notifying the client would cause this behavior.
First, install TEE SP1 if you didn't already.
If the error persists, it might be a potential bug so post it on connect or on the TEE forum.
I ended up uninstalling and re-installing eclipse and TEE plug-in. After that everything connects and works as far as TFS is concerned.