Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Indigo is unable to read repository (update sites)

First of all this question has been asked at least twice.

I tried several approaches with no effect.

Here's the problem:

When I try to download/update plugins like EclEmma, Eclipse starts to communicate with the repository and that takes about 5 minutes. After that I get an error:

"An error occured while collecting items to be installed session context was:(...)

Unable to read repository at http: (...) Read time out

(... for every *.jar)"

What I was trying to fix the problem was running eclipse as an admin (got vista x86 running) and changing the connection properties from native to direct and back. I also tried deleting saved repositories and adding again. No effect at all.

I have no proxy configured and don't need one.

This is getting kind of personal between me and my IDE :D

So I hope you guys can help me out.

like image 832
Stefan Antal Avatar asked Jan 20 '12 21:01

Stefan Antal


4 Answers

Thanks Zoltán (köszi :D), but i found the error last night.

Resolution

After hours of debugging I figured out that AVG Anti-Virus Software blocks the request. After deactivating it for temporarily, Eclipse installed the new software.

like image 112
Stefan Antal Avatar answered Nov 12 '22 14:11

Stefan Antal


In my case timeout was caused by definition of SOCKS proxy... we have proxy.company.com:80 and I incorrectly provided that proxy to all three (HTTP, HTTPS and SOCKS) connection schemas. Removal of proxy from SOCKS resolved the problem

like image 32
Tono Wiedermann Avatar answered Nov 12 '22 14:11

Tono Wiedermann


Try to open the internal web browser of Eclipse (Window menu/Show view/Other...), and navigate to the 1) update site url, and 2) to any webpage.

If the latter one is not working, then Eclipse does not have connection to the internet, and you should try to open a new workspace, and try installing from there (possibly something wrong in the workspace settings).

If the second one works, but the first one does not, that suggests that the update site is not working. In this case report to the developers.

like image 2
Zoltán Ujhelyi Avatar answered Nov 12 '22 14:11

Zoltán Ujhelyi


I also had this problem (my system: Win7, jdk7, Eclipse Indigo).

I installed jre6, changed my JAVA_HOME, ran eclipse with the following:

eclipse -debug -consolelog -vm 'c:\Program Files\Java\jre6\bin\java.exe'

Install the plugins/updates, then switch back to using jdk7.

Worked for me!

like image 2
Katherine Avatar answered Nov 12 '22 15:11

Katherine