Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » P2 - "Install New Software" behind company proxy
P2 - "Install New Software" behind company proxy [message #336597] Wed, 24 June 2009 17:33 Go to next message
Ivan is currently offline IvanFriend
Messages: 4
Registered: July 2009
Junior Member
Hello,

First let me congratulate you for the galileo release.. one love...

Today we ( 14 developers of a german car manufactory ) run into a very
strange problem with the p2 update manager. We can not connect to a
eclipse update site
- even not a to galileos own.
Every attempt ends with something like this :

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)

Caused by: java.net.SocketException: Socket is closed
at java.net.Socket.setTcpNoDelay(Socket.java:825)
at
org.eclipse.ecf.provider.filetransfer.events.socket.Abstract SocketWrapper.setTcpNoDelay(AbstractSocketWrapper.java:187)
at
org.apache.commons.httpclient.HttpConnection.open(HttpConnec tion.java:721)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionMan ager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionM anager.java:1361)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWith Retry(HttpMethodDirector.java:387)

the think is that we sit behind several proxies when at work.
Even when the proxy settings are set correctly - we could connect to our
bugzilla repository and even when trying galileos Test Connection feature
it shows that the requested URL is available.

Some month ago we had a "similar" problem with ivy RC1 when trying to
resolve jars from ibiblio. We found out that it was a http HEAD request
that that was causing the trouble. For some reason the proxies couldn't
handle it correctly so the ivy guys added a configurable option to always
use a GET request.
Before we start looking into it deeper it would be great to know if
somebody has a explanation for this behaviour.

Now from my home machines everything works fantastic like always.

Regards
Ivan
Re: P2 - "Install New Software" behind company proxy [message #336677 is a reply to message #336597] Fri, 26 June 2009 17:46 Go to previous messageGo to next message
Jose Otavio Carlomagno Filho is currently offline Jose Otavio Carlomagno FilhoFriend
Messages: 1
Registered: July 2009
Junior Member
I'm having the same problem, this is the stack trace the error log gives
me:

org.eclipse.equinox.internal.provisional.p2.core.ProvisionEx ception:
Unable to read repository at
http://download.eclipse.org/eclipse/updates/3.5/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.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at
org.apache.commons.httpclient.HttpParser.readRawLine(HttpPar ser.java:78)
at org.apache.commons.httpclient.HttpParser.readLine(HttpParser .java:106)
at
org.apache.commons.httpclient.HttpConnection.readLine(HttpCo nnection.java:1116)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionMan ager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnect ionManager.java:1413)
at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine( HttpMethodBase.java:1973)
at
org.apache.commons.httpclient.HttpMethodBase.readResponse(Ht tpMethodBase.java:1735)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMet hodBase.java:1098)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWith Retry(HttpMethodDirector.java:398)
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 :188)
at
org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSys temBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:7 1)
... 1 more


I tried changing the proxy settings but it still doesn't work, but when I
use Eclipse 3.4 it accesses the update sites correctly (including
Galileo's site).
Re: P2 - "Install New Software" behind company proxy [message #336683 is a reply to message #336677] Fri, 26 June 2009 18:47 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=281472

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Re: P2 - "Install New Software" behind company proxy [message #629187 is a reply to message #336683] Mon, 27 September 2010 12:58 Go to previous message
Suganya Devi is currently offline Suganya DeviFriend
Messages: 21
Registered: July 2009
Junior Member
I'm facing some problems with our application, not sure if its something todo with the Proxy.

I'm getting Nullpointer exception at RepositoryTransport.download(RepositoryTransport.java:75) if I point to a remote repository. It works fine with local repository in the build directory. I have created the following bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=323149. Please let me know if anyone has a solution for this.
Previous Topic:Job not guaranteed to be scheduled ? eg @startup
Next Topic:Disable automatic proxy detection
Goto Forum:
  


Current Time: Thu Nov 14 09:02:42 GMT 2024

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

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

Back to the top