Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse network problems - debian amd64
Eclipse network problems - debian amd64 [message #505053] Fri, 25 December 2009 19:51 Go to next message
Eclipse User
Originally posted by: gunnar.stahl.gunnarstahl.org

Hello,
I have a strange problem. I've installed the amd64 version of debian and downloaded and installed the 64bit version of eclipse. I can use eclipse, but the update manager has problems connecting to the internet.

The internet connection itself is working. In eclipse I can open a webbrowser and browse the internet. But as soon as I go to "help -> install new software" I get lots of error messages like:

org.eclipse.equinox.internal.provisional.p2.core.ProvisionEx ception: Unable to read repository at http://download.eclipse.org/tools/mylyn/update/e3.4/content. xml
at org.eclipse.equinox.internal.p2.metadata.repository.CacheMan ager.createCache(CacheManager.java:179)
at org.eclipse.equinox.internal.provisional.spi.p2.metadata.rep ository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleM etadataRepositoryFactory.java:60)
at org.eclipse.equinox.internal.provisional.spi.p2.metadata.rep ository.SimpleMetadataRepositoryFactory.validateAndLoad(Simp leMetadataRepositoryFactory.java:99)
at org.eclipse.equinox.internal.provisional.spi.p2.metadata.rep ository.SimpleMetadataRepositoryFactory.load(SimpleMetadataR epositoryFactory.java:87)
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.factoryLoad(MetadataRepositoryManager.java :54)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractR epositoryManager.loadRepository(AbstractRepositoryManager.ja va:669)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractR epositoryManager.loadRepository(AbstractRepositoryManager.ja va:617)
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:92)
at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:88)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningUtil.loadMetadataRepository(ProvisioningUtil.java: 88)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableMeta dataRepositoryManager.doLoadRepository(QueryableMetadataRepo sitoryManager.java:55)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepo sitoryManager.loadRepository(QueryableRepositoryManager.java :195)
at org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepo sitoryManager.loadAll(QueryableRepositoryManager.java:108)
at org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryH andler$2.run(PreloadingRepositoryHandler.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.net.NoRouteToHostException: Das Netzwerk ist nicht erreichbar
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSock etImpl.java:310)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPl ainSocketImpl.java:176)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocket Impl.java:163)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
at java.net.Socket.connect(Socket.java:542)
at org.eclipse.ecf.provider.filetransfer.events.socket.SocketEv entCreateUtil.createSocket(SocketEventCreateUtil.java:43)
at org.eclipse.ecf.internal.provider.filetransfer.httpclient.EC FHttpClientProtocolSocketFactory.createSocket(ECFHttpClientP rotocolSocketFactory.java:81)
at org.eclipse.ecf.internal.provider.filetransfer.httpclient.EC FHttpClientProtocolSocketFactory.createSocket(ECFHttpClientP rotocolSocketFactory.java:73)
at org.eclipse.ecf.internal.provider.filetransfer.httpclient.EC FHttpClientProtocolSocketFactory.createSocket(ECFHttpClientP rotocolSocketFactory.java:65)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnec tion.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionMan ager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionM anager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWith Retry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMeth od(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpC lient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpC lient.java:346)
at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientF ileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java :204)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSys temBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:7 1)
... 1 more


The system is:

eclipse.buildId=M20090917-0800
java.version=1.6.0_0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product



Does anybody have an idea?

Yt,

Gunnar
(solved) Re: Eclipse network problems - debian amd64 [message #505058 is a reply to message #505053] Fri, 25 December 2009 17:46 Go to previous messageGo to next message
Eclipse User
Originally posted by: gunnar.stahl.gunnarstahl.org

The problem was caused by a pretty unbelievable thing introduced in debian. Found out that java was no longer able to do any sort of network connections anymore. Even connections to localhost failed...

Someone decided to introduce a ipv6-only switch in netbase via /etc/sysctl.d/bindv6only.conf. While this may or may not be a usefull default behaviour for the general the result is that java is no longer able to do networking at all.

So to solve it you have to edit /etc/sysctl.d/bindv6only.conf and change the value of net.ipv6.bindv6only from "1" to "0". Then do a "sudo invoke-rc.d procps restart". After that, java has networking again.

Found that solution on "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560056".

Yt,

Gunnar

Gunnar Stahl schrieb:
> Hello,
> I have a strange problem. I've installed the amd64 version of debian and
> downloaded and installed the 64bit version of eclipse. I can use
> eclipse, but the update manager has problems connecting to the internet.
>
> The internet connection itself is working. In eclipse I can open a
> webbrowser and browse the internet. But as soon as I go to "help ->
> install new software" I get lots of error messages like:
>
> org.eclipse.equinox.internal.provisional.p2.core.ProvisionEx ception:
> Unable to read repository at
> http://download.eclipse.org/tools/mylyn/update/e3.4/content. xml
> at
> org.eclipse.equinox.internal.p2.metadata.repository.CacheMan ager.createCache(CacheManager.java:179)
>
> at
> org.eclipse.equinox.internal.provisional.spi.p2.metadata.rep ository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleM etadataRepositoryFactory.java:60)
>
> at
> org.eclipse.equinox.internal.provisional.spi.p2.metadata.rep ository.SimpleMetadataRepositoryFactory.validateAndLoad(Simp leMetadataRepositoryFactory.java:99)
>
> at
> org.eclipse.equinox.internal.provisional.spi.p2.metadata.rep ository.SimpleMetadataRepositoryFactory.load(SimpleMetadataR epositoryFactory.java:87)
>
> at
> org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.factoryLoad(MetadataRepositoryManager.java :54)
>
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractR epositoryManager.loadRepository(AbstractRepositoryManager.ja va:669)
>
> at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractR epositoryManager.loadRepository(AbstractRepositoryManager.ja va:617)
>
> at
> org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:92)
>
> at
> org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:88)
>
> at
> org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningUtil.loadMetadataRepository(ProvisioningUtil.java: 88)
>
> at
> org.eclipse.equinox.internal.provisional.p2.ui.QueryableMeta dataRepositoryManager.doLoadRepository(QueryableMetadataRepo sitoryManager.java:55)
>
> at
> org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepo sitoryManager.loadRepository(QueryableRepositoryManager.java :195)
>
> at
> org.eclipse.equinox.internal.provisional.p2.ui.QueryableRepo sitoryManager.loadAll(QueryableRepositoryManager.java:108)
>
> at
> org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryH andler$2.run(PreloadingRepositoryHandler.java:71)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: java.net.NoRouteToHostException: Das Netzwerk ist nicht
> erreichbar
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSock etImpl.java:310)
>
> at
> java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPl ainSocketImpl.java:176)
>
> at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocket Impl.java:163)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
> at java.net.Socket.connect(Socket.java:542)
> at
> org.eclipse.ecf.provider.filetransfer.events.socket.SocketEv entCreateUtil.createSocket(SocketEventCreateUtil.java:43)
>
> at
> org.eclipse.ecf.internal.provider.filetransfer.httpclient.EC FHttpClientProtocolSocketFactory.createSocket(ECFHttpClientP rotocolSocketFactory.java:81)
>
> at
> org.eclipse.ecf.internal.provider.filetransfer.httpclient.EC FHttpClientProtocolSocketFactory.createSocket(ECFHttpClientP rotocolSocketFactory.java:73)
>
> at
> org.eclipse.ecf.internal.provider.filetransfer.httpclient.EC FHttpClientProtocolSocketFactory.createSocket(ECFHttpClientP rotocolSocketFactory.java:65)
>
> at
> org.apache.commons.httpclient.HttpConnection.open(HttpConnec tion.java:707)
> at
> org.apache.commons.httpclient.MultiThreadedHttpConnectionMan ager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionM anager.java:1361)
>
> at
> org.apache.commons.httpclient.HttpMethodDirector.executeWith Retry(HttpMethodDirector.java:387)
>
> at
> org.apache.commons.httpclient.HttpMethodDirector.executeMeth od(HttpMethodDirector.java:171)
>
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpC lient.java:397)
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpC lient.java:346)
> at
> org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientF ileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java :204)
>
> at
> org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSys temBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:7 1)
>
> ... 1 more
>
>
> The system is:
>
> eclipse.buildId=M20090917-0800
> java.version=1.6.0_0
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
> Framework arguments: -product org.eclipse.epp.package.java.product
> Command-line arguments: -os linux -ws gtk -arch x86_64 -product
> org.eclipse.epp.package.java.product
>
>
>
> Does anybody have an idea?
>
> Yt,
>
> Gunnar
Re: (solved) Re: Eclipse network problems - debian amd64 [message #505165 is a reply to message #505058] Mon, 28 December 2009 05:13 Go to previous message
patrick Deflandre is currently offline patrick Deflandre
Messages: 1
Registered: December 2009
Junior Member
Hello Gunnar,

I want to thanks you for reporting about this problem. I have some unexpected CVS connection problem since the last update of debian testing, and it was the same problem.

Your report give me the solution for a 2 days nightmare...

Thanks again.
Patrick
Previous Topic:Which Eclipse for doing PyDev debugging
Next Topic:ctl-space in scrapbook
Goto Forum:
  


Current Time: Fri Oct 31 09:15:02 GMT 2014

Powered by FUDForum. Page generated in 0.02552 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software