New issue
Advanced search Search tips

Issue 649511 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 610126
Owner: ----
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

"Failed - Network Error" when downloading a file on Windows, but file downloads on Mac & in IE

Project Member Reported by melodychu@chromium.org, Sep 22 2016

Issue description

Version: 53.116
OS: Windows 8

What steps will reproduce the problem?
(1) Go to http://www.domitalia.it/it/Contract/10181/Joy/
(2) Press Download PDF (https://screenshot.googleplex.com/MtjnrFFNgha)
(3) In a user report, a user indicated that they are seeing a "Failed - Network Error" error. I was able to reproduce this issue, but a teammate on a Mac device downloaded the .pdf successfully. The .pdf file also downloaded on Internet Explorer...

What is the expected output?
the pdf download should not be blocked

What do you see instead?
"Failed - Network Error" error on Chrome which links to the HC article: https://support.google.com/chrome/answer/2898334?p=ui_download_errors


Please use labels and text to provide additional information.

 
networkfailed_downloaderror.JPG
100 KB View Download
Components: UI>Browser>Downloads
Can you try again and upload logs from chrome://net-internals while download fails ?

Steps to get logs would be
1. Visit chrome://net-internals/#export
2. Visit the page to download the page
3. Return back to chrome://net-internals/#export and click on 'save to file'

Comment 3 by asanka@chromium.org, Sep 22 2016

Status: WontFix (was: Untriaged)
The download fails because the server is sending an incorrect network response.

The server is using chunked encoding:

                       --> HTTP/1.1 200 OK
                           Cache-Control: private
                           Transfer-Encoding: chunked

.. and then closing the connection without sending the final chunk. This results in a ERR_INCOMPLETE_CHUNKED_ENCODING error.

t=404 [st=404]    HTTP_TRANSACTION_READ_BODY  [dt=0]
                  --> net_error = -355 (ERR_INCOMPLETE_CHUNKED_ENCODING)
t=404 [st=404]    FAILED
                  --> net_error = -355 (ERR_INCOMPLETE_CHUNKED_ENCODING)
t=404 [st=404] -REQUEST_ALIVE
                --> net_error = -355 (ERR_INCOMPLETE_CHUNKED_ENCODING)

The server needs to either send the final chunk or not use chunked encoding.

Given that we are moving towards being stricter with content length mismatches due to premature connection closures, this is not going to be fixed from the browser side.

Cc: asanka@chromium.org
Thank you so much for quick update but we can download this file on Linux, Mac and CROS using same version of Chrome.

If it is server's fault, why download is failing only on Windows ?

Comment 5 by asanka@chromium.org, Sep 23 2016

The network log I got was on a Mac. It's definitely not limited to Windows. Chrome's network stack will treat the server's behavior as an error regardless of platform.

Are the test machines connecting to the server directly or via a proxy server?

Comment 6 by eroman@chromium.org, Feb 15 2017

Mergedinto: 610126
Status: Duplicate (was: WontFix)

Sign in to add a comment