Forums

Static JavaScript file being truncated

Hi PythonAnywhere,

My app was running fine earlier today, but is now failing to load its JavaScript.

This JS file returned by the server appears to be a truncated version of the actual file. I've tried reducing the size of this file to no avail; do you have any ideas on what could be causing this? Could it be related to this issue?

Thanks in advance <3

I broke up this file even more, so that it is under 100kB, and it magically started to work again. It looks like the size limit for static files is around 100kB under the current version/configuration of nginx.

Hi tianhe, sorry about that- it turns out that one of our servers had filled up all the space allocated for logging- I cleared it down and it should all work fine now!

Very sorry for the inconvenience- let us know if it still doesn't work.

Thanks for the quick reply conrad! I think I'll stick to this setup with the smaller JS file for now, since it is stable, until the next site update. But I will definitely let you know if I run into more issues regarding this problem.