ruby on rails - net::ERR_INCOMPLETE_CHUNKED_ENCODING in Chrome only -
i've been getting error when loading pages:
net::err_incomplete_chunked_encoding
these pages don't special , seems work in other browsers. pages happens on display data in json. happens when json page has display large amount of items. rails console not displaying errors (200 response).
i have met problem yesterday. it's because of server didn't response resources.
in page, have large file links like<a href="/file_path">file_name</a>
, , happend in chrome.
in while ,i recognized maybe caused chrome's 'predict network actions improve page load performance' feature.so turned off feature in chrome://settings
, try again. expected, error didn't occur again.
after that, changed resource links full_url_path instead of relative_path(in rails, use resource_url instead of resource_path), didn't have turn off chrome's feature. , looks good.
Comments
Post a Comment