Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH


I have some webGL projects on my website, all works fine on localhost, but on infintyfree all works fine except 1 “”.

Google console: “Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH”.

I noticed that this one is the only one over 10m.

Is there a way to fix it?


There is a file size limit of 10 MB on free hosting. Downloads larger than that will get cut off. It looks like your file is almost exactly 10 MB, but due to calculation skew, it might just go over the file size limit.

You could offload those files to a separate file sharing service to distribute the files from, or maybe split the 10 MB file into smaller files to get around the size limit.


I guessed it.
I cannot manipulate that file because it is the result of build from Unity3D.
Not a big issue since i plan to publish on an external service.
Thanks for reply.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.