Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Unable to connect to updates repositories(Problem with connecting to updates repositories (Indigo, Linux Ubuntu 64 bit) )
Unable to connect to updates repositories [message #771545] Tue, 27 December 2011 10:19 Go to next message
Shaul Yermol is currently offline Shaul Yermol
Messages: 2
Registered: December 2011
Junior Member
Hi all,

I have problems connecting to updates repositories from eclipse (Linux Ubuntu 11.10 64 bit, Eclipse 3.7.1, Java 1.6.0).

Trying to connect to http:/ /download.eclipse.org/releases/indigo gives this log:

Quote:

Unable to read repository at http:/ /download.eclipse.org/releases/indigo/content.xml.
Unable to read repository at http:/ /download.eclipse.org/releases/indigo/content.xml.
Connection reset


Connecting to http:/ /download.eclipse.org/eclipse/updates/3.7, 3.6, etc. gives similar results. (The "space" in links is on purpose, I can't post here links)
But connection to projects repositories like Mylin or ADT works fine.

I tried several solutions, none soleved my problem:
- Switched to official Sun JDK (1.6.0_25)
- Downloaded eclipse instead of using Ubuntu repository
- Defined in ini file "-Djava.net.preferIPv4Stack=true" flag
- deleted cache folder
- Do not use proxy
- It's not a transport/firewall/antivirus problem

From what I see in "wireshark", eclipse tries to retrieve "content.xml" from the update repositories, this file isn't there and it gives up. For some strange reason it does not try to download the right file - compositeContent.jar.
I found a similar bug occurred only on 64 bit systems, but it was almost a year ago and it appears fixed.

Please help!


Eclipse version:
Version: 3.7.1
Build id: M20110909-1335

Java version:

java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)

OS Version:

Ubuntu 11.10 - 64 bit
Re: Unable to connect to updates repositories [message #772180 is a reply to message #771545] Thu, 29 December 2011 02:28 Go to previous messageGo to next message
Ruhr Dev is currently offline Ruhr Dev
Messages: 2
Registered: December 2011
Junior Member
Hi @all,

I have the same problems like Shaul. I can't connect to update repositories from eclipse (Windows 7 32 Bit, Eclipse Indigo, Java 1.7.2) since last Week.

The Error-Log:
Quote:

!SESSION 2011-12-28 21:37:45.057 -----------------------------------------------
eclipse.buildId=M20110909-1335
java.version=1.7.0_02
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2011-12-28 22:01:47.219
!MESSAGE Connection to ...webtools/repository/indigo/p2.index failed on Connection timed out: connect. Retry attempt 0 started
!STACK 0
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
...
at org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler$2.runModal(PreloadingRepositoryHandler.java:82)
at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.p2.core 4 0 2011-12-28 22:05:59.730
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository ....eclipse.org/webtools/repository/indigo/content.xml
at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:189)
...
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
... 1 more
!SUBENTRY 1 org.eclipse.equinox.p2.transport.ecf 4 1002 2011-12-28 22:05:59.733
!MESSAGE Unable to connect to repository ....eclipse.org/webtools/repository/indigo/content.xml
!STACK 0
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
...
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.p2.ui 4 0 2011-12-28 22:06:03.351
!MESSAGE Unable to connect to repository ....tigris.org/update_1.8.x/content.xml
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository ....tigris.org/update_1.8.x/content.xml
at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:189)
...
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
... 1 more
!SUBENTRY 1 org.eclipse.equinox.p2.transport.ecf 4 1002 2011-12-28 22:06:03.353
!MESSAGE Unable to connect to repository ....tigris.org/update_1.8.x/content.xml
!STACK 0
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
...
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2011-12-28 22:07:23.849
!MESSAGE Connection to ....eclipse.org/eclipse/updates/3.7/p2.index failed on Connection timed out: connect. Retry attempt 0 started
!STACK 0
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
...
at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2011-12-28 22:07:27.416
!MESSAGE Connection to ....tigris.org/update_1.8.x/p2.index failed on Connection timed out: connect. Retry attempt 0 started
!STACK 0
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
...
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.p2.core 4 0 2011-12-28 22:11:36.828
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository ....eclipse.org/eclipse/updates/3.7/content.xml
at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:189)
...
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
... 1 more
!SUBENTRY 1 org.eclipse.equinox.p2.transport.ecf 4 1002 2011-12-28 22:11:36.847
!MESSAGE Unable to connect to repository ....eclipse.org/eclipse/updates/3.7/content.xml
!STACK 0
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
...
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.p2.ui 4 0 2011-12-28 22:11:39.820
!MESSAGE Unable to connect to repository ...tigris.org/update_1.8.x/content.xml
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository ...tigris.org/update_1.8.x/content.xml
at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:189)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
... 1 more
!SUBENTRY 1 org.eclipse.equinox.p2.transport.ecf 4 1002 2011-12-28 22:11:39.843
!MESSAGE Unable to connect to repository ....tigris.org/update_1.8.x/content.xml
!STACK 0
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
...
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2011-12-28 22:13:01.012
!MESSAGE Connection to ....eclipse.org/mylyn/releases/indigo/p2.index failed on Connection timed out: connect. Retry attempt 0 started
!STACK 0
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
...
org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2011-12-28 22:13:45.052
!MESSAGE Connection to ....eclipse.org/webtools/repository/indigo/p2.index failed on Connection timed out: connect. Retry attempt 0 started
!STACK 0
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
...
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.p2.core 4 0 2011-12-28 22:17:13.382
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository ...eclipse.org/mylyn/releases/indigo/content.xml
at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:189)
... org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
... 1 more
!SUBENTRY 1 org.eclipse.equinox.p2.transport.ecf 4 1002 2011-12-28 22:17:13.383
!MESSAGE Unable to connect to repository ...eclipse.org/mylyn/releases/indigo/content.xml
!STACK 0
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
...
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.p2.ui 4 0 2011-12-28 22:17:57.453
!MESSAGE Unable to connect to repository ...eclipse.org/webtools/repository/indigo/content.xml
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository ...eclipse.org/webtools/repository/indigo/content.xml
at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:189) ...
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
... 1 more
!SUBENTRY 1 org.eclipse.equinox.p2.transport.ecf 4 1002 2011-12-28 22:17:57.454
!MESSAGE Unable to connect to repository ...eclipse.org/webtools/repository/indigo/content.xml
!STACK 0
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
...
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2011-12-28 22:18:37.571
!MESSAGE Connection to h...eclipse.org/releases/indigo/p2.index failed on Connection timed out: connect. Retry attempt 0 started
!STACK 0
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
...
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2011-12-28 22:19:21.511
!MESSAGE Connection to ...eclipse.org/webtools/repository/indigo/p2.index failed on Connection timed out: connect. Retry attempt 0 started
!STACK 0
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
...
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


I tried several solutions, none solved my problem:
- Downloaded and Install eclipse new
- Defined in ini file "-Djava.net.preferIPv4Stack=true" flag
- Deleted cache folder
- Do not use any proxy
- Shutdown Firewall/AntiVirus

I hope somebody can help me.
Thanks a lot.
Re: Unable to connect to updates repositories [message #772384 is a reply to message #772180] Thu, 29 December 2011 11:43 Go to previous messageGo to next message
Ruhr Dev is currently offline Ruhr Dev
Messages: 2
Registered: December 2011
Junior Member
Starting Eclipse with -vmargs -Djava.net.preferIPv4Stack=true works for me.

With best regards.
ruhrdev.
Re: Unable to connect to updates repositories [message #773819 is a reply to message #772384] Mon, 02 January 2012 11:14 Go to previous messageGo to next message
Paul Montague is currently offline Paul Montague
Messages: 3
Registered: January 2012
Junior Member
I'm having a similar problem as Shaul - "Unable to connect to repository....", except the error message ends "Connection refused" instead of reset....

I've downloaded Eclipse 4.1.1, now trying to do Help > Install New Software, and get that error for all the locations.

Note - this is following instructions that have worked fine in the past, latest time being in early December 2011.

I'm on Linux. I do have a proxy set up (and that should be working; our IT staff isn't around today to verify that, but I don't know of any reason why it should not be working Smile ).

Regards,
Paul


Regards,
Paul
Re: Unable to connect to updates repositories [message #773828 is a reply to message #771545] Mon, 02 January 2012 11:53 Go to previous messageGo to next message
Shaul Yermol is currently offline Shaul Yermol
Messages: 2
Registered: December 2011
Junior Member
After a long investigation it do appears to be some very strange transport (more accurate to say IT security of our LAN) problem, that appears only on Linux 64bit. Fixed.
Re: Unable to connect to updates repositories [message #773841 is a reply to message #773828] Mon, 02 January 2012 12:36 Go to previous messageGo to next message
Paul Montague is currently offline Paul Montague
Messages: 3
Registered: January 2012
Junior Member
Thanks, Shaul. I'm using 32-bit so that wouldn't apply....

Also, I should add that I've read and tried everything in this thread so far, with no success.

UPDATE: Problem solved here as well. It was also a setup issue on my end, specifically needed to use Port 80. (Not sure how 25 got in the mix.... doh!)

Paul


Regards,
Paul

[Updated on: Tue, 03 January 2012 08:57]

Report message to a moderator

Re: Unable to connect to updates repositories [message #904505 is a reply to message #772180] Tue, 28 August 2012 10:55 Go to previous messageGo to next message
Yannick DIDIERJEAN is currently offline Yannick DIDIERJEAN
Messages: 1
Registered: August 2012
Junior Member
Starting Eclipse with -vmargs -Djava.net.preferIPv4Stack=true works for me too, nevertheless this problem happen for me whereae i did not modify anything in Eclipse options.Thanks a lot for the solution.
Best regards
Yannick
Re: Unable to connect to updates repositories [message #1012216 is a reply to message #771545] Thu, 21 February 2013 00:33 Go to previous messageGo to next message
Oleg Moroz is currently offline Oleg Moroz
Messages: 2
Registered: December 2010
Junior Member
niiice!! -vmargs -Djava.net.preferIPv4Stack=true works for me. Thank you.
Re: Unable to connect to updates repositories [message #1014772 is a reply to message #1012216] Tue, 26 February 2013 07:46 Go to previous messageGo to next message
Daniel Larsen is currently offline Daniel Larsen
Messages: 1
Registered: February 2013
Junior Member
Adding -Djava.net.preferIPv4Stack=true to the end of the eclipse.ini file worked great Smile
The -vmargs parameter was already there.
Thanks!!!
Re: Unable to connect to updates repositories [message #1066010 is a reply to message #773841] Fri, 28 June 2013 16:42 Go to previous messageGo to next message
Cameron Johnston is currently offline Cameron Johnston
Messages: 1
Registered: June 2013
Junior Member
Hi Paul,
I know it's been over a year since this post but I think I'm having the same problem as you. I'm getting 'Connection refused' rather than 'Connection reset' in my error log. If you can remember this far back, are you able to expand on how you fixed this?

Cheers,
Cameron
Re: Unable to connect to updates repositories [message #1066178 is a reply to message #1066010] Mon, 01 July 2013 08:29 Go to previous messageGo to next message
Paul Montague is currently offline Paul Montague
Messages: 3
Registered: January 2012
Junior Member
Hi, Cameron,

Yes, the key in my case was checking the port and proxy settings under Window / Preferences / General / Network Connections. I had to correct from a wrong port (25; still don't know how that got entered to begin with) to a usable port (80). Specifically, you need to make sure that whatever outgoing port(s) your organization allows, you're using one of those, and enter the settings for any proxy your organization requires.

Regards,
Paul


Regards,
Paul

[Updated on: Mon, 01 July 2013 08:29]

Report message to a moderator

Re: Unable to connect to updates repositories [message #1076147 is a reply to message #772384] Tue, 30 July 2013 16:05 Go to previous messageGo to next message
Andreas Schäfer is currently offline Andreas Schäfer
Messages: 1
Registered: July 2013
Junior Member
Hi,

mutch thanks for that Smile now installing of new Software works.

Greetings

Quote:
Ruhr Dev
Starting Eclipse with -vmargs -Djava.net.preferIPv4Stack=true works for me.

With best regards.
ruhrdev.
Re: Unable to connect to updates repositories [message #1232910 is a reply to message #771545] Fri, 17 January 2014 21:51 Go to previous message
Harischandra Matara Kankanange is currently offline Harischandra Matara Kankanange
Messages: 1
Registered: January 2014
Junior Member
Try http://download.eclipse.org/technology/m2e/releases/1.4/1.4.0.20130601-0317
it worked for me on Juno.
Previous Topic:Can't set break point in Eclipse
Next Topic:Eclipse Error, Launcher was unable to locate library
Goto Forum:
  


Current Time: Sun Apr 20 23:07:37 EDT 2014

Powered by FUDForum. Page generated in 0.02907 seconds