I get an error with the following URL
The following error occurs when logging into OpenEdx, created from a tutor, and selecting a course.
“An unexpected error occurred Please click the button below to refresh the page”.
I checked the log below and it outputs the following.
“/(tutor config printroot)/data/lms/logs/all.log”
2022-10-25 01:49:50,048 INFO 19 [openedx.core.djangoapps.cors_csrf.helpers] [user 4] [ip 111.111.XX.X] helpers.py:64 - Origin ‘https://openEdx-TEST’ is not in CORS_ORIGIN_WHITELIST
; full referer was ‘https://openEdx-TEST.com/dashboard’ and requested host was ‘openEdx-TEST.com’; CORS_ORIGIN_ALLOW_ALL=False
The corresponding URL was added to WHITELIST in the following configuration file.
“/root/.local/share/tutor/env/apps/openedx/settings/lms/development.py”
Add your MFE and third-party app domains here
CORS_ORIGIN_WHITELIST = [
‘https://openEdx-TEST.com/dashboard’,
‘https://openEdx-TEST.com’,
‘https://openEdx-TEST.com/login’,
]
Are there any other possible causes?