Eclipse update error timeout while reading input stream

I ran in to this when installing Amazon Web Services SDK in Eclipse 3.6.

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://dy6h6xivkaprj.cloudfront.net/plugins/com.amazonaws.eclipse.sdk_1.1.1.v201012031352.jar.

Timeout while reading input stream. The following system properties can be used to adjust the readTimeout, retryAttempts, and closeTimeout

org.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=<default:1000>

org.eclipse.ecf.provider.filetransfer.retrieve.retryAttempts=<default:30>

org.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=<default:1000>

Pretty good error message it tells you what to change 🙂

If you haven’t made changes to the eclipse system properties here’s how. Edit the Eclispe.ini and add the readTimeout and closeTimeout settings after -vmargs

-vmargs

-Dosgi.requiredJavaVersion=1.5

-Xms40m

-Xmx512m

-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=3000

-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=3000

Restart Eclipse, attempt update. Problem solved!

  • Anthos

    Thanks. Saved 20 mins of my life !!

  • Cheers, solved my problem caused by a very slow corporate firewall slowing things down