Cross-Origin Read Blocking (CORB) issue for video hosted on S3 Bucket

We are observing a CORB issue for videos that have been uploaded on S3 Bucket. We are also using secure upload.

The video is not loading and the console returns the CORB error.
Quickly looked on github and saw FIX: Service worker should cache only 200 requests by nbianca · Pull Request #21409 · discourse/discourse · GitHub (not sure if related).

Do you have an idea on how to solve the issue (if not a bug)?

Yes, @nbianca made a few fixes for this specific scenario recently, fixing CORB errors with videos when secure uploads are enabled. In our case, this only affected Chrome on macOS.

After the change above, I remember needing to unregister the service worker in Chrome before videos would play properly again. Can you try that?

It works indeed like that. Anything we could do to apply to all the users?

Good question, I don’t know the answer to it. Maybe you know if we can do this, @Falco?

I’m actually having the same issue after checking the same video again some time later. This does not seem like a permanent fix for our users.