How to increase download timeout setting in Eclipse 3.6 (Helios)
-
25-09-2019 - |
Question
I'm having trouble downloading the Google App Engine plugin for Eclipse. Specifically, it times out when it reaches this file:
com.google.gwt.eclipse.sdkbundle.2.1.0_2.1.0.v201010280102.jar
I'm able to download it manually, but downloading pauses for a very long time right before finishing (???) I figure if I can increase the download timeout, I can get the installation to work, but how do I do this?
Solution
I believe all URLConnection
-based provider are managed by system properties, which are listed in:
In particular, the property sun.net.client.defaultReadTimeout
(set by default to 30 seconds) can be changed and increased in an eclipse.ini
.
You can also try with sun.net.client.defaultConnectTimeout
. See this SO answer for instance.
OTHER TIPS
Eclipse p2(the provisioning manager) uses ECF to download the content from remote site. There are some system property to set the timeout value of ECF.
Those options should be since Eclipse 3.6, the default transfer should be httpclient implementation.
If you are adding these options to a commandline, they need to follow the argument '-vmargs'