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

主宰稳场 提交于 2019-12-12 13:22:01

问题


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?


回答1:


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.




回答2:


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'




回答3:


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

Another similar post which may help maybe ...



来源:https://stackoverflow.com/questions/4202592/how-to-increase-download-timeout-setting-in-eclipse-3-6-helios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!