Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH in Google chrome

ERR_CONTENT_LENGTH_MISMATCH error usually happens on Google chrome. This error can happen for multiple reasons. It really difficult to trace the error sometimes. 

ERR_CONTENT_LENGTH_MISMATCH error was showing randomly on Google chrome browser. It was tring to load an image. The http call for loading the image was showing this error. The confusion was sometimes image was loaded without any error and sometimes it was showing ERR_CONTENT_LENGTH_MISMATCH error. 

Anoher interesting thing was during the page load in the console it showed image is loaded but at the very end of page load it failed. 

I have Googled online and found similar post about it. But none of those solutions worked for me. 

Solution: 
Our cache space was filled up. We had to freed up some old cache to make room for the new cache. As soon as the cache server got enough space the ERR_CONTENT_LENGTH_MISMATCH error was gone. 

NB: We have a separate caching server on top of our front server. That caching server was running out space. 

Comments