Eclipse updates not working

泄露秘密 提交于 2019-12-04 00:16:23

问题


I have installed Eclipse 3,6 on 64 bit Windows platform. When I try to connect to update sites by going to Help->install new software it gives following error:

Unable to connect to repository 
http://download.eclipse.org/releases/galileo/content.xml
Connection refused: connect

I have tried all available sites - they all give me the same error. Dialog box shows: Provision exception.

Any idea what's happening?


回答1:


  1. In Eclipse (go to Window > Preferences > General > Network connections).
  2. Select "Active Provider" as "Manual".
  3. Select HTTP and click edit.
  4. Enter the host and port
  5. Select "Requires Authentication" and enter the username and password.
  6. Repeat Step 1 to 5 for Https.

  7. In "proxy bypass" section click "Add host"

  8. Enter http://download.eclipse.org/releases/galileo/content.xml and OK

After spending an entire week with the issue, this solution finally worked for me




回答2:


Maybe you're behind a firewall, and need to access the web through a proxy. Have you set a proxy in your web browser? If so, you need to set the same proxy in Eclipse (go to Preferences > General > Network connections).




回答3:


Well, try to enter this website: http://subclipse.tigris.org/update_1.6.x

If that link works, then it's not your fault. I've tried your link, and it doesn't work for me either.

If the link I gave you doesn't work either, then the problem is on your side and you need to check your network settings.




回答4:


If you are behind a firewall, have set the proxy settings in the preferences correctly and it's still not working, Try setting -Dsun.net.client.defaultReadTimeout=<"amount in ms, e.g. 30000"> in the eclipse.ini worked well for me. It looks like Eclipse has a quick timeout on that updatesite search. Some proxys can slow the process down by a few seconds and you get a timeout before the updatesite is loaded completely



来源:https://stackoverflow.com/questions/4598167/eclipse-updates-not-working

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