Search code examples
eclipsegoogle-app-engineeclipse-plugingae-eclipse-plugin

How to increase download timeout setting in Eclipse 3.6 (Helios)


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:

    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.