Issue metadata
Sign in to add a comment
|
ERR_CONTENT_LENGTH_MISMATCH reported altough the content-lenght is correct!
Reported by
rolebase...@gmail.com,
Jul 14
|
||||||||||||||||||||||
Issue descriptionExample URL: Internal development... Steps to reproduce the problem: 1. Create a SPA app with angular 2. Make use of the appcache manifest to cache vendor js 3. Grap some static server and deploy this app 4. Run the app from a android browser What is the expected behavior? Dis error should not be reported because the content-length header sent by the server is correct!!! What went wrong? Chrome reports the error "Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH" after the previous cache event: "Application Cache Progress event (13 of 15)" In the past the download of files listed in the appcache manifest worked 80% of time, but currently it fails everytime and always on the same resource "vendor.js". Did this work before? Yes Chrome version: Mozilla/5.0 (Linux; Android 6.0; LG-K350 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.81 Mobile Safari/537.36 Channel: n/a OS Version: 10.0 Flash Version:
,
Jul 17
,
Jul 18
,
Jul 18
Network bug triager here. Thanks for filing bug with us. ERR_CONTENT_LENGTH_MISMATCH usually indicates that a content-length header is present and the body contains fewer bytes than promised by the header at connection close: either the connection was closed prematurely, or server sent an invalid content-length header. I'm hearing you claim that server sent the correct content-length. In any case, does that work before? Does this app run ok with other browser? Unfortunately we won't be able to identify what goes wrong in your case as I wasn't able to repro. Collecting a NetLog will help us to identify what really happens on the network layer. Please follow instructions on https://sites.google.com/a/chromium.org/dev/for-testers/providing-network-details and let us know once you have that available. Cheers!
,
Jul 25
If the resource is compressed, you are sending the compressed length, and not the uncompressed length, correct? Anyhow, if you fail to respond, we can't do anything but close the bug, unfortunately.
,
Aug 9
,
Aug 13
I have found the cause of the issue! The root cause of this issue is that chrome is sending request to fetch the favicon resource and produces a pending request forever when server does not respond to the favicon request. But chrome is continuing making new request to the favicon automatically creating a growing stack of pending requests. This results in too many connections configured in the server firewall which finally leads the server to close the connection during sending of a file. Chrome should not produce an infinite stack of pending requests for a favicon and stuck itself because of this. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by chelamcherla@chromium.org
, Jul 17