Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit 8b5e58a

Browse files
author
Rebecca Graber
authored
docs: some recent workarounds for recent problems (#1074)
1 parent c838203 commit 8b5e58a

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

docs/troubleshoot_general_tips.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,3 +214,20 @@ Another error you may get if the code and the image are out of sync is sql or Dj
214214

215215

216216
.. _Understanding Git Conceptually: https://www.sbf5.com/~cduan/technical/git/
217+
218+
Demo course is empty in studio
219+
------------------------------
220+
After provisioning and opening Studio, you may see an empty outline for the demo course. This usually means there is a disconnect between the block ids in mySQL and the corresponding data in Mongo.
221+
222+
To fix, simply add a new subsection and publish. The act of publishing should reload the whole course correctly.
223+
224+
CORS error from login_refresh in MFE
225+
------------------------------------
226+
If you see "Access to XMLHttpRequest at 'http://localhost:18000/login_refresh' from origin 'http://localhost:2000' has been blocked by CORS policy: Request header field x-xsrf-token is not allowed by Access-Control-Allow-Headers in preflight response" it usually means you don't have a valid session.
227+
228+
The fix is to get a new auth session. You can do any of the following:
229+
230+
1. Before navigating to your MFE, go to http://localhost:18000 to restart your logged in http session.
231+
2. Log out and then back in.
232+
3. Clear your cookies, then log back in.
233+

0 commit comments

Comments
 (0)