Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326847

Summary: Downloads are not working (non-nightlies)
Product: [Technology] EGit Reporter: Jared Farrish <farrishj>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: farrishj, matthias.sohn, stefan.lay
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Blank egit/eclipse license acceptance
none
license agreement egit stable (0.9.3)
none
p2 agent showing that http://downloads.eclipse.org/egit/updates is ok none

Description Jared Farrish CLA 2010-10-02 17:29:02 EDT
Hello,

When I go to add the JGit plugin, I get 'repository not found' errors. If I go to the nightlies, it installs correctly. 

This is the error:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.jgit,0.9.3
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit,0.9.3
No repository found containing: osgi.bundle,org.eclipse.jgit.source,0.9.3
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit.source,0.9.3

Using Eclipse IDE for Java Developers

Version: Helios Release
Build id: 20100617-1415

Thanks!
Jared
Comment 1 Jared Farrish CLA 2010-10-02 17:30:15 EDT
Also, this is the link that is not working:

http://download.eclipse.org/egit/updates

And it appears that Eclipse Git Team Provider is also not downloading.
Comment 2 Matthias Sohn CLA 2010-10-12 09:40:30 EDT
please retry this, I just tried and I could successfully install 0.9.3 from http://download.eclipse.org/egit/updates
Comment 3 Jared Farrish CLA 2010-10-17 15:41:49 EDT
Yes, I am still having the same problem; also see here:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=321194

This is the same problem I am having. I can get the nightlies to install:

http://download.eclipse.org/egit/updates-nightly

But not the regular install from here:

http://download.eclipse.org/egit/updates

So why would one work, but not another, but work ok for you? One difference I do notice is that if I use a browser to access the updates-nightlies link, it puts me on an error page on the egit site, but when I try the updates link, it sends an XHMTL page that doesn't display anything.

I doubt this is important, but right now that's the only difference I can see.

Thanks!
Jared
Comment 4 Stefan Lay CLA 2010-10-22 08:22:00 EDT
The webmaster has fixed the redirect rules on the webserver.

Please try again.
Comment 5 Jared Farrish CLA 2010-10-22 21:10:39 EDT
(In reply to comment #4)
> The webmaster has fixed the redirect rules on the webserver.
> 
> Please try again.

This is really frustrating; I appreciate your effort, Stefan. Another thing I have noticed is that the Eclipse Foundation Software User Agreement is not downloading.

It's still not working for me; is there another diagnostic step I can take to test this particular download?

How else can I test this to see if I might have a firewall rule blocking the site or whatnot?

Here is the latest error I receive after accepting the blank agreement (see the attached screenshot):

An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.egit,0.9.3
No repository found containing: osgi.bundle,org.eclipse.egit.core,0.9.3
No repository found containing: osgi.bundle,org.eclipse.egit.core.source,0.9.3
No repository found containing: osgi.bundle,org.eclipse.egit.doc,0.9.3
No repository found containing: org.eclipse.update.feature,org.eclipse.egit,0.9.3
No repository found containing: org.eclipse.update.feature,org.eclipse.egit.source,0.9.3
No repository found containing: osgi.bundle,org.eclipse.egit.ui,0.9.3
No repository found containing: osgi.bundle,org.eclipse.egit.ui.source,0.9.3
No repository found containing: osgi.bundle,org.eclipse.jgit,0.9.3
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit,0.9.3
No repository found containing: osgi.bundle,org.eclipse.jgit.source,0.9.3
No repository found containing: org.eclipse.update.feature,org.eclipse.jgit.source,0.9.3
Comment 6 Jared Farrish CLA 2010-10-22 21:12:45 EDT
Created attachment 181566 [details]
Blank egit/eclipse license acceptance

When attempting to download the eGit plugin from the following address:

http://download.eclipse.org/egit/updates

The license agreement does not download. See the screenshot for what I am seeing.
Comment 7 Matthias Sohn CLA 2010-10-23 04:17:12 EDT
Created attachment 181576 [details]
license agreement egit stable (0.9.3)

works for me
Comment 8 Matthias Sohn CLA 2010-10-23 04:19:38 EDT
I just tried again and this works for me, hence reducing importance.

Do you connect through a http proxy ? If yes, try restarting Eclipse after setting the proxy preferences and then retry the installation.
Comment 9 Jared Farrish CLA 2010-10-23 07:43:48 EDT
(In reply to comment #8)
> I just tried again and this works for me, hence reducing importance.
> 
> Do you connect through a http proxy ? If yes, try restarting Eclipse after
> setting the proxy preferences and then retry the installation.

Thanks Martin; I had never even seen what that agreement looks like...

I'm not doing anything unusual: FiOS router, no proxy. I can get to the nightlies in eclipse, so why would the regular one not work?

I was trying to think if there were a way to ping that location from my computer. Is there a way you can think of that I can use to test the setup outside of eclipse?

I'll probably try next uninstalling eclipse and reinstall.

Thanks!
Jared
Comment 10 Matthias Sohn CLA 2010-10-23 09:22:18 EDT
I use the p2 agent to check p2 repositories, see [1].
- install the agent
- add the repository you want to inspect
- if the repo is fine you will be able to see the IUs inside, double clicking them will show details about their content

[1] http://wiki.eclipse.org/Equinox_p2_Getting_Started_Admin_UI
Comment 11 Matthias Sohn CLA 2010-10-23 09:23:54 EDT
Created attachment 181577 [details]
p2 agent showing that http://downloads.eclipse.org/egit/updates is ok
Comment 12 Jared Farrish CLA 2010-10-23 10:11:04 EDT
(In reply to comment #11)
> Created an attachment (id=181577) [details]
> p2 agent showing that http://downloads.eclipse.org/egit/updates is ok

Great, I'll give that a shot. It downloaded and installed correctly on my work computer, so this must be a configuration issue on my machine.

I'll let you know what happens with the P2 test.

Thanks!
Jared
Comment 13 Matthias Sohn CLA 2011-08-03 18:41:43 EDT
this should be solved as many users install successfully