Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Eclipse can't download update
Eclipse can't download update [message #1775378] Sat, 28 October 2017 19:23 Go to next message
Horacio Anton Quiles is currently offline Horacio Anton QuilesFriend
Messages: 12
Registered: June 2016
Junior Member
Hi,

My Eclipse Oxygen.1a is telling me to update EGit, but it times out with this message:

Unable to read repository at http://download.eclipse.org/egit/updates/features/org.eclipse.jgit.source_4.9.0.201710071750-r.jar.


Interestingly, I can download that same URL with Firefox.
This has been going on for about 8 hours, so I figured I'd mention it here...


Full event details:

eclipse.buildId=4.7.1.M20171009-0410
java.version=1.8.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_AU
Framework arguments:  -product org.eclipse.epp.package.cpp.product -product org.eclipse.epp.package.cpp.product -product org.eclipse.epp.package.cpp.product -product org.eclipse.epp.package.cpp.product -keyring /Users/mija/.eclipse_keyring
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.cpp.product -product org.eclipse.epp.package.cpp.product -product org.eclipse.epp.package.cpp.product -data file:/Users/mija/programming/Eclipse_workspace_Oxygenized/ -product org.eclipse.epp.package.cpp.product -keyring /Users/mija/.eclipse_keyring

org.eclipse.equinox.p2.transport.ecf
Error
Sat Oct 28 21:09:13 CEST 2017
Unable to read repository at http://download.eclipse.org/egit/updates/plugins/org.eclipse.jgit.archive_4.9.0.201710071750-r.jar.

org.apache.http.NoHttpResponseException: download.eclipse.org:80 failed to respond
	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143)
	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
	at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
	at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281)
	at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:259)
	at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:232)
	at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
	at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:686)
	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:488)
	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
	at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1084)
	at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:1075)
	at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:1071)
	at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:74)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

Re: Eclipse can't download update [message #1775391 is a reply to message #1775378] Sun, 29 October 2017 09:36 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
the file exists on the download server, I can download it using curl:

$ curl -O http://download.eclipse.org/egit/updates/features/org.eclipse.jgit.source_4.9.0.201710071750-r.jar

Check proxy settings in eclipse, maybe they are wrong ?
Re: Eclipse can't download update [message #1775392 is a reply to message #1775391] Sun, 29 October 2017 09:40 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
If this also doesn't work you can download the p2 repository from
http://www.eclipse.org/downloads/download.php?file=/egit/updates/org.eclipse.egit.repository-4.9.0.201710071750-r.zip
and update EGit from this downloaded p2 repository ("Help > Install Software > Add... > Archive...", select the downloaded zip file)
Re: Eclipse can't download update [message #1775393 is a reply to message #1775392] Sun, 29 October 2017 10:41 Go to previous messageGo to next message
Horacio Anton Quiles is currently offline Horacio Anton QuilesFriend
Messages: 12
Registered: June 2016
Junior Member
I am sure that the file does exist, as I said I could download it with Firefox.
I don't think it can be a proxy problem, since I have never used one, and the rest of the Eclipse CDT/Pydev updates from Oxygen to Oxygen.1A downloaded and installed correctly. Only JGit/EGit failed (and more concretely, timed out).

Anyway, thank you for the repository tip. That worked.
Re: Eclipse can't download update [message #1775394 is a reply to message #1775393] Sun, 29 October 2017 10:55 Go to previous messageGo to next message
Horacio Anton Quiles is currently offline Horacio Anton QuilesFriend
Messages: 12
Registered: June 2016
Junior Member
Actually, I have to qualify that: even the downloaded repository behaves strangely. It started installing, but then stalled for a long time, and the error log shows 3 warnings like this:

eclipse.buildId=4.7.1.M20171009-0410
java.version=1.8.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_AU
Framework arguments:  -product org.eclipse.epp.package.cpp.product -product org.eclipse.epp.package.cpp.product -product org.eclipse.epp.package.cpp.product -product org.eclipse.epp.package.cpp.product -keyring /Users/mija/.eclipse_keyring
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.cpp.product -product org.eclipse.epp.package.cpp.product -product org.eclipse.epp.package.cpp.product -data file:/Users/mija/programming/Eclipse_workspace_Oxygenized/ -product org.eclipse.epp.package.cpp.product -keyring /Users/mija/.eclipse_keyring

org.eclipse.equinox.p2.transport.ecf
Warning
Sun Oct 29 11:42:49 CET 2017
Connection to http://download.eclipse.org/egit/updates/plugins/org.eclipse.jgit.archive_4.9.0.201710071750-r.jar failed on download.eclipse.org:80 failed to respond. Retry attempt 0 started

org.apache.http.NoHttpResponseException: download.eclipse.org:80 failed to respond
	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143)
	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
	at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
	at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281)
	at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:259)
	at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:232)
	at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
	at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:686)
	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:488)
	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
	at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1084)
	at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:1075)
	at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:1071)
	at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:74)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)



The 3 events appear simultaneously and all of them say "retry 0" (I would expect them to appear each some time after the previous one, and with a different retry count)

Still, the install did finish without an error, and Eclipse no longer reports available updates.
Re: Eclipse can't download update [message #1775994 is a reply to message #1775394] Wed, 08 November 2017 23:23 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
I think such errors can occur if other software sites (Preferences > Install/Update > Available Software Sites) are enabled but not reachable due to some network issue
Re: Eclipse can't download update [message #1777850 is a reply to message #1775994] Tue, 05 December 2017 10:01 Go to previous message
Horacio Anton Quiles is currently offline Horacio Anton QuilesFriend
Messages: 12
Registered: June 2016
Junior Member
Just in case it helps in the future: I kept having this problem, today Eclipse notified me of a JGit/EGit update but failed to install it (server timeout).

The interesting thing is that I switched ISP (from cable to cell) and it downloaded correctly.

This is weird, I can't think of anything else in my computer showing this kind of problem. There are no proxies or firewalls involved, at least in my side of the ISPs.

[Updated on: Tue, 05 December 2017 10:02]

Report message to a moderator

Previous Topic:auto-annotate file on open
Next Topic:How to integrate EGit into a mixed e3/e4 RCP application
Goto Forum:
  


Current Time: Wed Apr 24 18:43:37 GMT 2024

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

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

Back to the top