Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317869

Summary: reported download size is greater than reported download file size
Product: [Eclipse Project] Equinox Reporter: Nick Boldt <nboldt>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk, curtis.windatt.public, felipec.delamico, pascal
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Nick Boldt CLA 2010-06-24 14:11:01 EDT
Trying to resolve a target platform, I got this:

http://twitpic.com/1zkjkc/full

Is this file is being over-downloaded? Or is its size being incorrectly reported?
Comment 1 Curtis Windatt CLA 2010-06-24 14:16:37 EDT
Moving to p2.  PDE is calling out to p2 to do the collection phase.
Comment 2 Henrik Lindberg CLA 2010-06-24 17:48:49 EDT
The size comes from the http response, and p2 transport counts the bytes read from the stream. Most probable cause is that the server is sending the wrong size. Any info which file? 
Could be a bad mirror, or a caching proxy causing problem.
Are you seeing this for all files?
Comment 3 Pascal Rapicault CLA 2010-06-24 21:36:25 EDT
This seems to be fetching the download.php.
Comment 4 Felipe Amico CLA 2018-09-08 22:45:16 EDT
Preparing to install archives
Downloading Google APIs Intel x86 Atom System Image, Android API 15, revision 5
Download finished with wrong size. Expected 163102902 bytes, got 162935691 bytes.
Done. Nothing was installed.
Preparing to install archives
Downloading Google APIs Intel x86 Atom System Image, Android API 15, revision 5
Download finished with wrong size. Expected 163102902 bytes, got 162935691 bytes.
Done. Nothing was installed.