Bug 149718 - Error recovery from unexpected response type
Summary: Error recovery from unexpected response type
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Update-Inbox CLA
QA Contact:
URL:
Whiteboard: obsolete
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-05 14:07 EDT by David Williams CLA
Modified: 2012-07-24 10:15 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2006-07-05 14:07:56 EDT
There's several other bugs open about how Update Manager should be able to "recover" (in some form) from errors received while retrieving files. For example, if a mirror is "temporarily unavailable" or a "file not found" then Update Manager could (as suggested solutions) "retry" at users choice, or, preferably, simply go back to the "home" server to attempt to satisfy the request. 

There's another "error" condition though that has not been captured in a "recover" bug. That is the type of error seen in bug 149366. There are some common configurations of servers that will return HTML instead of a binary jar, seen so far for jars with "map" in their name. In these cases, Update Manager can, I believe, see from the HTTP header that its getting HTML instead of a Jar, and even though response code would be "ok", it should fall back and get the jar from another server (presumably, the "home" server).
Comment 1 Aaron Digulla CLA 2006-07-05 14:25:34 EDT
I'd prefer if the update code would allow to specify two or three update mirrors to try before it should go to the home site.

Some way to gather these errors (so they can be fixed quickly) would be nice (like permission denied, etc). If the update code would "call home" with the health of the mirrors, that would help to improve the situation.

I'm a bit unsure about the "legal" side of this, though that is how users will like the idea :-/
Comment 2 John Arthorne CLA 2012-07-24 10:15:16 EDT
The Eclipse Update component is no longer under development, and no longer exists in the Eclipse Platform 4.x stream. If this problem still occurs in Eclipse Platform 4.2 or later, please enter a new bug report against Equinox p2.