Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328329 - File transfer timeout
Summary: File transfer timeout
Status: RESOLVED WORKSFORME
Alias: None
Product: ECF
Classification: RT
Component: ecf.filetransfer (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: ecf.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 05:44 EDT by Walid Al-Yousef CLA
Modified: 2010-11-05 09:22 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walid Al-Yousef CLA 2010-10-21 05:44:08 EDT
What steps will reproduce the problem?
1. check for updates 
2. confirmed updates
3. agreed


-- Error Details --
Date: Thu Oct 21 13:38:18 GST 2010
Message: Transfer Exception
Severity: Error
Product: Eclipse 1.2.1.20090812-1036 (org.eclipse.epp.package.php.product)
Plugin: org.eclipse.ecf.provider.filetransfer
Session Data:
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.php.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.php.product


Exception Stack Trace:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170)
at java.io.FilterInputStream.read(Unknown Source)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108)
at java.io.FilterInputStream.read(Unknown Source)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127)
at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer$1.performFileTransfer(AbstractRetrieveFileTransfer.java:140)
at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:73)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 1 Kentarou Fukuda CLA 2010-11-03 01:55:00 EDT
Does this relate to ECF?
Comment 2 Scott Lewis CLA 2010-11-03 10:18:40 EDT
(In reply to comment #1)
> Does this relate to ECF?

It sounds likely that in this environment the filetransfer read is blocking for long enough to timeout. 

It's possible to set the read and connect timeouts for the httpclient provider via system properties...i.e. make them longer for a slow connection.  Here's a page describing the relevant properties:

http://wiki.eclipse.org/Equinox/p2/TransportDebugging

If there is more to this bug that I'm not getting then please provide more information about the network environment context, reproducibility, etc...as this timeout does not occur/is not reproducible in testing, or for other users.
Comment 3 Scott Lewis CLA 2010-11-05 09:22:37 EDT
I'm resolving this as worksforme, since 

a) I cannot duplicate this timeout in any environments that I/others have access to, and 

b) I believe the use of the system properties given in comment 2 will solve the issue WRT the environment for the original bug poster.