Eclipse updates not working

2019-01-26 06:39发布

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?

4条回答
戒情不戒烟
2楼-- · 2019-01-26 06:47

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.

查看更多
迷人小祖宗
3楼-- · 2019-01-26 06:53

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).

查看更多
兄弟一词,经得起流年.
4楼-- · 2019-01-26 06:56

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

查看更多
该账号已被封号
5楼-- · 2019-01-26 06:57
  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

查看更多
登录 后发表回答