The problem occurs when adding a post with an image in the Open edX forum because the platform automatically generates temporary, signed URLs for files stored in MinIO.
These URLs expire after seven days, causing the images in forum posts to disappear and display an “Access Denied: Request has expired” error.
Even though the MinIO bucket is public, Open edX continues to use time-limited links instead of permanent ones, so the images stop loading once the signatures expire.
Please help…i am running the instance in production
It seems that edx is generating signed urls for forum images that are getting expired, even when the bucket is public. Could you change your config and check:
# In edx-platform/lms/envs/production.py and cms/envs/production.py
STORAGES['default']['OPTIONS'] = {
'querystring_auth': False,
}
Should i change that value directly in the file? (i hope No plugin would be required as i am running a live instance)
After changing querystring_auth to False, what command should i run so that the change takes effect (launch,restart)?