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?

Was it helpful?

Solution

I believe all URLConnection-based provider are managed by system properties, which are listed in:

Networking Properties

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.

ECF timeout setting

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'

Using a dropins folder may work if you haven't installed it yet this way.

Another similar post which may help maybe ...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top