How to change value of 'Read timeout' of Eclipse's Update Manager?

后端 未结 5 1180
既然无缘
既然无缘 2021-02-08 00:37

How to change value of \'Read timeout\' of Eclipse\'s Update Manager?

I have slow internet connection and I cannot install any plugin, because Eclipse\'s Update manager

相关标签:
5条回答
  • 2021-02-08 01:09

    I believe that you were getting these timeout problems during the rollout of 3.5.1. Eclipse.org had several server and mirroring issues during this time, and this caused manhy people to experience timeouts when trying to update.

    In the future, when you see problems like this, you can try installing from a specific mirror. I find that installing from here tends to work well even when Eclipse.org is not:

    http://eclipse.unixheads.org/

    0 讨论(0)
  • 2021-02-08 01:10

    As Frank mentioned you can set the timeout options in the eclipse.ini, here's the documentation.

    "use -DpropName=propValue as a VM argument to the Java VM, set the desired property in the config.ini file in the appropriate configuration area"

    I set the following to get round my timeout issue:

    -Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=3000
    -Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=3000
    
    0 讨论(0)
  • 2021-02-08 01:11

    I got the error a lot with version 3.6, but adding the following line to the eclipse.ini helped me a lot:

    -Dsun.net.client.defaultReadTimeout=30000
    

    Add it right after the line with -vmargs

    0 讨论(0)
  • 2021-02-08 01:13

    The easiest way to get around this would be to download the .jar file of the plug-in you're trying to install and perform an offline installation.

    Edit: I tried to find a link to a how-to, but eclipse.org kept timing out on me.

    0 讨论(0)
  • The timeout is not the cause, it's just the symptom, there might be "zombie" entries in the update sites.

    Like:

    After removing those with empty "name" column it should work (faster).

    0 讨论(0)
提交回复
热议问题