Hi. I cathсed two different bugs while i have adjusted the discourse forum.
I added special formats of file and adjust the file size limits.
But i still catсh those bags:
520 Request content was evicted from inspector cache (while i upload .mp4)
422 undefined method `kilobytes’ for “20480”:String (
AI-generated summary
A user, Vladimir_P, reported two bugs while uploading files on a Discourse forum: a 520 error related to content eviction and a 422 error due to an undefined kilobytes method on a string. JammyDodger suggested a possible fix from a related topic, which Vladimir_P confirmed did not resolve the issue. Blake acknowledged the problem and provided a fix via a GitHub pull request 24989, which Vladimir_P confirmed resolved the bugs.
I believe this one has been reported and fixed in this topic - Issue in uploading media files - #4 by blake
I’m not sure if the first error could also be a consequence, but it may be worth updating your site to pull in that fix and see if it helps.
We’ve installed updates from that topic, but problem did not improved.
Okay, thank you for letting us know, I’ll see if I can whip up a fix soon.
This should be fixed now with this change:
Thank you!! It fixed bags.

