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

Bug 519878

Summary: 503 (Service Temporarily Unavailable) entity body interferes with HTTP range request
Product: Community Reporter: Andreas Sewe <sewe>
Component: WebsiteAssignee: phoenix.ui <phoenix.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: denis.roy
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Andreas Sewe CLA 2017-07-19 06:53:41 EDT
A user of Code Recommenders just found something strange: The HTML entity body sent by download.eclipse.org on a 519877
Comment 1 Andreas Sewe CLA 2017-07-19 06:58:06 EDT
(In reply to Andreas Sewe from comment #0)

Hit Enter accidentally. :-(

A user of Code Recommenders just found something strange: The HTML entity
body sent by download.eclipse.org on a 503 can apparently interfere with HTTP range request. See 519862 comment 4, where the HTML entity body got *prepended* to a partially downloaded ZIP (starting with a "PK" header).

00000000  3c 50 3e 55 6e 61 62 6c  65 20 74 6f 20 63 6f 6e  |<P>Unable to con|
00000010  6e 65 63 74 20 74 6f 20  74 68 65 20 64 61 74 61  |nect to the data|
00000020  62 61 73 65 20 73 65 72  76 65 72 20 61 74 20 74  |base server at t|
00000030  68 69 73 20 74 69 6d 65  2e 3c 2f 50 3e 50 4b 03  |his time.</P>PK.|
00000040  04 14 00 08 08 08 00 3b  a8 de 48 00 00 00 00 00  |.......;..H.....|
00000050  00 00 00 00 00 00 00 06  00 00 00 5f 30 2e 70 72  |..........._0.pr|
00000060  78 ed bd 09 96 24 bb ad  6c 4b b0 99 ff 94 15 d8  |x....$..lK......|
00000070  db e8 59 9a 81 b4 16 f9  df d7 3d 55 95 19 e1 4e  |..Y.......=U...N|
00000080  a2 31 18 1a 8e f1 d6 5b  6f bd f5 d6 5b 6f bd f5  |.1.....[o...[o..|
00000090  d6 5b 6f bd f5 d6 5b 6f  bd f5 d6 5b 6f bd f5 d6  |.[o...[o...[o...|

Does anyone know how this can happen? Are some HTTP response headers missing from the response which should have been sent? Or maybe its a bug in the HtppComponents-based client...

Any theories as to why this happens are greatly appreciated.
Comment 2 Denis Roy CLA 2017-07-25 13:47:40 EDT
We had a transient database issue, which has since been resolved.