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

Bug 103776

Summary: Eclipse 3.1: Update manager freezes network connection
Product: [Eclipse Project] Platform Reporter: mr. burns <mr._burns>
Component: Update (deprecated - use Eclipse>Equinox>p2)Assignee: Platform-Update-Inbox <platform-update-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: greg
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Screenshot showing eclipse freezing ping
none
screenshot of chart result without mysql-connector.x.x.x.jar in birt/plugins/org.eclipse.birt.report.data.oda.jdbc/drivers
none
screenshot of chart result without mysql-connector.x.x.x.jar in birt/plugins/org.eclipse.birt.report.data.oda.jdbc/drivers none

Description mr. burns CLA 2005-07-14 03:57:31 EDT
Hello,

If I use the Help->Software Updates->Find and Install... and try to install any 
new plugin/update the download starts but then after a short time the network 
connection freezes. A ping with option -t which I run parallel also stops 
with 'exceeded timelimit'. If I deactivate the network connection and activate 
it again the installation continues but after next few seconds the problem 
occurs again. So I can try to finish the installation by 
deactivating/activating the network connection again and again.
But sometimes then an error message in a new window appears:

Problem Occured

Update operation has failed

and I am only able to click OK and then the complete installation failed.

After closing Eclipse, the network connection comes back.

This bug happens always on using the update manager so it is no occasional 
problem. It happens also independently of the update filesize, so it doesn't 
matter if the update is big or small.
I have two network adaptors in my PC, one is an ADSL connection from German T-
Online the other one is a LAN connection to a proxy server which is connected 
to the internet by a 1 MBit SDSL line. On both the described problem occurs.

I use WindowsXP Professional and

Eclipse Version: 3.1.0, Build id: I20050627-1435
Comment 1 mr. burns CLA 2005-07-14 04:06:01 EDT
I forgot to mention that I use:

Java version 1.5.0_04
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)

Comment 2 greg CLA 2005-07-15 12:53:56 EDT
I'd like to add that I have this problem as well.

Has occurred with both Windows XP SP1, as well as SP2.  I have also used both
the JDK mentioned above, as well as the latest 1.4 JDK.  Happens in every
combination.

I might also add that when this happens, I observe that the memory usage of the
javaw process starts to climb until it is killed.  Once killed, the network
connection comes right back up.
Comment 3 mr. burns CLA 2005-07-15 13:22:11 EDT
Created attachment 24850 [details]
Screenshot showing eclipse freezing ping
Comment 4 Peter K. CLA 2005-07-29 05:09:36 EDT
I'm also seeing the same issue on Windows XP Professional with SP 2 installed. 
I have a Penium 4 1.70 GHz machine with 1 GB of RAM.  I have a US Robotics
router, and during the "verification" of the jar files downloaded, even the
connection to the router gets lost.  (i.e. Pinging the local router times out.)
 As soon as I stop Eclipse, things are back to normal (connection works again!).

I tried turning off the Windows firewall and shutting down the antivirus
software (avast) and Microsoft anti-spyware tool.  It didn't help at all.

This may be a more widespread issue than it initially seemed.
Comment 5 Peter K. CLA 2005-07-29 05:11:40 EDT
Forgot to add one comment.
I'm not 100% sure about this, but 105415 may be a duplicate of this bug or at
least related.
Comment 6 Peter K. CLA 2005-07-29 13:12:47 EDT
Some more information.

I tried using -consolelog -debug option when running Eclipse.  I didn't really 
know the format of .options file very well, so I took the example from the 
Running with Tracing help section.  My .options file entry looks like this:

org.eclipse.update.core_3.1.0/debug = true
org.eclipse.update.core_3.1.0/debug/flag = true
org.eclipse.update.core_3.1.0/debug/filter = *

My settings are as follows:
==========================================================================
eclipse.buildId=I20050627-1435
java.version=1.4.2_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ko_KR
Command-line arguments:  -os win32 -ws win32 -arch x86 -consolelog -debug
==========================================================================

When trying to install Eclipse Modeling Framework (EMF) 2.1.0, Eclipse throws 
the following exception (NOTE: There's absolutely NO connection issue other 
than when I try to use the update manager.):
==========================================================================
!MESSAGE Unable to retrieve remote 
reference "http://update.eclipse.org/updates/
3.0/plugins/org.eclipse.emf.codegen.ecore.ui_2.1.0.jar". [Connection timed out:
connect]
!STACK 0
java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:452)
        at java.net.Socket.connect(Socket.java:402)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
        at sun.net.www.http.HttpClient.New(HttpClient.java:339)
        at sun.net.www.http.HttpClient.New(HttpClient.java:320)
        at sun.net.www.http.HttpClient.New(HttpClient.java:315)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect
(HttpURLConne
ction.java:521)
        at sun.net.www.protocol.http.HttpURLConnection.connect
(HttpURLConnection
.java:498)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream
(HttpURLCon
nection.java:626)
        at org.eclipse.update.internal.core.HttpResponse.getInputStream
(HttpResp
onse.java:126)
        at org.eclipse.update.core.ContentReference.getInputStream
(ContentRefere
nce.java:146)
        at org.eclipse.update.core.FeatureContentProvider.asLocalReference
(Featu
reContentProvider.java:250)
        at 
org.eclipse.update.internal.core.FeaturePackagedContentProvider.getPl
uginEntryArchiveReferences(FeaturePackagedContentProvider.java:165)
        at 
org.eclipse.update.internal.operations.UpdateUtils.downloadFeatureCon
tent(UpdateUtils.java:627)
        at org.eclipse.update.internal.ui.wizards.InstallWizard2.download
(Instal
lWizard2.java:405)
        at org.eclipse.update.internal.ui.wizards.InstallWizard2.access$3
(Instal
lWizard2.java:394)
        at org.eclipse.update.internal.ui.wizards.InstallWizard2$4.run
(InstallWi
zard2.java:350)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
==========================================================================
Comment 7 Michael Uhlenberg CLA 2005-08-23 06:14:17 EDT
Had the same problem, and the culprit was definitely the firewall, F-Secure in
my case. After deinstalling F-Secure, the problem was gone.
Comment 8 Donley P'Simer CLA 2005-09-01 23:35:11 EDT
I believe this is a dup of 101575 (https://bugs.eclipse.org/bugs/show_bug.cgi?
id=101575). In that bug a lot of people have indicated they are using the 
Marvell Yukon GigE network interface card or chipset (including me).

Donley
Comment 9 mr. burns CLA 2005-09-02 02:14:13 EDT
(In reply to comment #8)
> I believe this is a dup of 101575 (https://bugs.eclipse.org/bugs/show_bug.cgi?
> id=101575). In that bug a lot of people have indicated they are using the 
> Marvell Yukon GigE network interface card or chipset (including me).
> Donley

It could be, because I use the same one! I will change it and see if that 
solves the problem!
Comment 10 mr. burns CLA 2006-03-22 09:29:16 EST
Created attachment 36741 [details]
screenshot of chart result without mysql-connector.x.x.x.jar in birt/plugins/org.eclipse.birt.report.data.oda.jdbc/drivers
Comment 11 mr. burns CLA 2006-03-22 09:31:56 EST
Created attachment 36742 [details]
screenshot of chart result without mysql-connector.x.x.x.jar in birt/plugins/org.eclipse.birt.report.data.oda.jdbc/drivers
Comment 12 Kim Sullivan CLA 2006-05-29 19:58:49 EDT
I am sure that this is a duplicate of 101575.
Comment 13 Branko Tripkovic CLA 2006-05-29 23:06:27 EDT
as per last comments a mark this as a duplicate

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