Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 74382 - Connection lost while attempting to install feature using Install/Update manager
Summary: Connection lost while attempting to install feature using Install/Update manager
Status: RESOLVED DUPLICATE of bug 101575
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal with 3 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-Update-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-20 19:20 EDT by Yaniv Inbar CLA
Modified: 2006-05-25 12:09 EDT (History)
3 users (show)

See Also:


Attachments
Screen sniplet showing ping going into timeout during update (30.89 KB, image/gif)
2004-09-26 02:47 EDT, Tom Eugelink CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yaniv Inbar CLA 2004-09-20 19:20:11 EDT
In both Eclipse 3.0.0 and 3.0.1, midway along attempting to install any 
feature from the network using the Install/Update manager, the network 
connection on my Window XP machine goes down, I get a message "Unable to 
retrieve remote reference ...", and the install is stopped.  Before the 
connection goes down, I observe a severe slowdown in download speed from 
Eclipse.

The same feature installed in Eclipse 2.1.3 in the same machine setup is 
installed successfully with no network connection slowdown or stopping.

We have observed this behavior on most of our new powerful Windows XP 
machines.  However, this problem is not observed on our older Windows XP 
machines.

Please let me know of any additional information you may need about my system.
Comment 1 Dorian Birsan CLA 2004-09-20 20:40:25 EDT
Would it be possible for you to debug this problem?
I can provide some simple steps to so:

1. set up feature based self hosting, as described at the begining of this 
topic (the URL may wrap)
http://help.eclipse.org/help30/index.jsp?
topic=/org.eclipse.pde.doc.user/tips/pde_tips.htm

2. in the Java perspective, from menu Navigate > Open Type, open this class:
FeatureContentProvider

3. put a breakpoint at line 250 (which is 	
    throw Utilities.newCoreException(
4. run a runtime workbench in debug mode

5. when the debugger hits this line, see what the IOException e values are 
(particularly the message)

Thanks!
Comment 2 Yaniv Inbar CLA 2004-09-21 14:00:05 EDT
I followed your instructions and detailMessage is:
Connection timed out: connect
Comment 3 Dorian Birsan CLA 2004-09-21 14:07:49 EDT
These days the connection to eclipse.org is very slow, so what you're seeing 
is probably not a factor of how fast the XP machine is, but of network 
problems.
Do you ever get prompted to restart the download?
Comment 4 Yaniv Inbar CLA 2004-09-21 15:06:56 EDT
This happens also when installing a feature on our local network (internal 
builds of our Eclipse-based Parasoft product Jtest).  In Eclipse 2.1.3, the 
install of the same product is very fast.  In Eclipse 3.0.1 it stops midway.

I do not get prompted to restart the download.

BTW, the JRE is j2sdk1.4.2_05.  Also, the exception above is a 
java.net.ConnectException.
Comment 5 Dorian Birsan CLA 2004-09-21 15:27:31 EDT
Thanks.
It looks like a server problem, but it could be created by a bad client.
Have you tried other jdk's ?
Comment 6 Yaniv Inbar CLA 2004-09-21 16:10:15 EDT
Interesting!  The problem does not occur when running Eclipse 3.0.1 with JDK 
5.0 RC.  The install is fast and successful.  Thus, this issue does appear to 
depend on the JRE used.

Note however that I am running Eclipse 2.1.3 under the same JRE as Eclipse 
3.0.1 (j2sdk1.4.2_05).
Comment 7 Dorian Birsan CLA 2004-09-21 16:36:38 EDT
I've been using 1.4.2_03 and never noticed the problem you describe.
While this may be a jdk issue, I am still not convinced this is 100% the case, 
but I also don't see where the problem in eclipse could be (this is the first 
time the behavior has been reported).
Comment 8 Yaniv Inbar CLA 2004-09-24 17:58:20 EDT
Correction: the lost network connection does appear to happen when running 
under JDK 5.0 RC, though not as consistently as when running under JDK 1.4.2.
Note that the problem also occurs in Eclipse 3.1.
Comment 9 Tom Eugelink CLA 2004-09-26 02:46:00 EDT
+1

Sme problem here, but I can add a little detail. Update of the visual editor 
goes correctly until it hits plugins/com.ibm.etools.emf.event_3.0.0.1.jar, the 
update stalls, but that is not all! The continuos ping I had running along side 
suddenly also goes into timeout, and does this until I click away the error 
popup box in Eclipse, then it resumes.

So I have to assume that the update totally blocks my internet connection. 

I have Eclipse 3.0 updating to the visual editor (with all the required 
updates).
Comment 10 Tom Eugelink CLA 2004-09-26 02:47:57 EDT
Created attachment 14784 [details]
Screen sniplet showing ping going into timeout during update

When updating Eclipse 3.0 with the Visual Editor 1.0.1 half way my total
internet connection seems to get blocked.
Comment 11 Dorian Birsan CLA 2004-11-29 14:45:39 EST
A related bug: bug 79212.
It looks the update server os and the server software can affect this:
- linux server running apache http server does not create problems for windows 
update clients
- windows 2k/xp server running apache can lead to connection dropping
Comment 12 David Watkins CLA 2005-02-24 13:19:37 EST
I can confirm that switching from hosting the plugin on a W2K/Apache 2.0 combo
to hosting it over a network share has solved a similar problem for me.  

I haven't done too much analysis on it but it does seem to happen frequently
when retrieving plugins which are already installed but which also contain
additional jars.  Quite why this would be related to the choice of hosting
platform eludes me!

Also, moving between 3.0 clients and 3.1 clients made no difference.
Comment 13 Nicolas Laplante CLA 2005-11-20 13:02:13 EST
I get the same problem with Eclipse SDK 3.1.1 trying to install almost all of the additional projects (VE, WTP, etc..). 

I'm using jdk-1.5.0_05. I had the same behavior with j2sdk-1.4.2_10.

I tried several mirrors, but all of them drop the connection.

Windows XP SP2.

When I get the error message, I note the URL of the file and paste it into IE and the file can download without problems.
Comment 14 Russ CLA 2006-03-24 19:59:13 EST
I'm using: Eclipse Version: 3.1.2 Build id: M20060118-1600
On: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
On: Windows XP Professional with Service Pack 2 and all hotfixes, etc.

And I cannot install any of the plugins I've been trying to get - what's more, at a predictable point in each installation, every network connection other software has made is interrupted.

For example, when grabbing Ruby Development Tools 0.7.0.512282200RC1 from rdt.rubypeople.org, it downloads the files, the "Feature Verification" window appears, and when I accept that, it starts "Verifying:" the various .jar files that it downloaded (ping running in the background indicates that the Internet cuts out somewhere during this phase). After verifying serveral files, the following error comes up:

Unable to complete action for feature "Ruby Development Tools" due to errors.
  Unable to retrieve remote reference "http://updatesite.rubypeople.org/integration/plugins/org.rubypeople.rdt.debug.ui_0.7.0.512282200RC1.jar". [Connection timed out: connect]
  Unable to retrieve remote reference "http://updatesite.rubypeople.org/integration/plugins/org.rubypeople.rdt.debug.ui_0.7.0.512282200RC1.jar". [Connection timed out: connect]

The Internet does not come back up until Eclipse is closed.
Comment 15 KP CLA 2006-04-14 08:10:08 EDT
(In reply to comment #14)
> I'm using: Eclipse Version: 3.1.2 Build id: M20060118-1600
> On: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> On: Windows XP Professional with Service Pack 2 and all hotfixes, etc.
> 
> And I cannot install any of the plugins I've been trying to get - what's more,
> at a predictable point in each installation, every network connection other
> software has made is interrupted.
> 
> For example, when grabbing Ruby Development Tools 0.7.0.512282200RC1 from
> rdt.rubypeople.org, it downloads the files, the "Feature Verification" window
> appears, and when I accept that, it starts "Verifying:" the various .jar files
> that it downloaded (ping running in the background indicates that the Internet
> cuts out somewhere during this phase). After verifying serveral files, the
> following error comes up:
> 
> Unable to complete action for feature "Ruby Development Tools" due to errors.
>   Unable to retrieve remote reference
> "http://updatesite.rubypeople.org/integration/plugins/org.rubypeople.rdt.debug.ui_0.7.0.512282200RC1.jar".
> [Connection timed out: connect]
>   Unable to retrieve remote reference
> "http://updatesite.rubypeople.org/integration/plugins/org.rubypeople.rdt.debug.ui_0.7.0.512282200RC1.jar".
> [Connection timed out: connect]
> 
> The Internet does not come back up until Eclipse is closed.
> 


I have exactly the same problem

Eclipse Version: 3.1.2
Build id: M20060118-1600

on Windows XP

on Linux it worked however. The connection is last at some predictable point (during verification of some RAR for some updates, and during download for another). It does the same thing on different servers at the same moment.
Comment 16 Russ CLA 2006-04-15 00:31:04 EDT
From "Big download in software update 'freezes' network stack"  https://bugs.eclipse.org/bugs/show_bug.cgi?id=101575

It appears to be related to the Marvell drivers.

"increase the number of Recieve & Transmit in the adapter properties, I
increased to 200"

When I did this, the problem was resolved. Hope that helps.
Comment 17 Branko Tripkovic CLA 2006-05-25 12:09:58 EDT

*** This bug has been marked as a duplicate of 101575 ***