OSError: [Errno 5] Input/output error --- It seems all my media files become unreachable

Problem Description:
Suddenly in the middle of work, it just stopped working.

Expected behavior:
I expect not to have these mysterious server errors while working on the design.

Actual behavior:
I have these mysterious server errors while working on the design.

Steps to reproduce:
You can visit the test link:
https://myfriendmax2.markokojic.repl.co/ and check the screenshot. The full console error:

Error on request:
Traceback (most recent call last):
  File "/home/runner/MyFriendMax2/venv/lib/python3.10/site-packages/werkzeug/serving.py", line 335, in run_wsgi
  File "/home/runner/MyFriendMax2/venv/lib/python3.10/site-packages/werkzeug/serving.py", line 324, in execute
    for data in application_iter:
  File "/home/runner/MyFriendMax2/venv/lib/python3.10/site-packages/werkzeug/wsgi.py", line 576, in __next__
    data = self.file.read(self.buffer_size)
OSError: [Errno 5] Input/output error

Bug appears at this link:


Multiple Browsers, Devices.

hmm… I really don’t know what’s going on since 5xx server errors mean that the image file doesn’t exist but I highly doubt you accidently left out that image file. Otherwise, I’ve found some sources that say that it means over storage limit but you’re fine on storage…

Thanks for the message.
It’s a mystery. I couldn’t find anything usefull about it. And it happened without me messing with anything server side.
Hopefully someone from the replit team can jump in, look under the hood and clarify.

Try to see if you can just remove and re-upload the image, as it’s possible Replit corrupted it.

Im afraid it’s not just about images, there are audio files behind the speech logic, same thing. Different folders, so it’s not about permission. I dont know. Deplyment environment using the same resources seems to be working fine.