You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/technical_documentation/how-tos/aspects_troubleshooting.rst
+48-7Lines changed: 48 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,25 +32,66 @@ dashboard.
32
32
Solution: Make sure you have published your courses since installing / reinstalling Aspects, or :ref:`backfill course blocks <backfill_course_blocks>` .
33
33
34
34
35
-
Embedded Dashboard Errors
36
-
=========================
35
+
Embedded Dashboard / Superset Login Errors
36
+
==========================================
37
37
38
38
Symptom: In the Instructor Dashboard "Reports" tab or In-Context Metrics in Studio the dashboards
39
39
fail to load, showing only a message like:
40
40
41
41
- ``Something went wrong with embedded authentication. Check the dev console for details.``
42
42
- or ``Error: invalid_request Invalid client_id``
43
43
44
-
This most often happens when moving between Tutor deployment types (dev/local/k8s) but can also
45
-
happen when the hostnames or ports your LMS or Superset change (such as when populating a staging
46
-
environment from a production database). This is usually an issue with the OAuth Application entry
47
-
not matching the Superset URL. Make sure you ``config.yml`` settings are correct for your
48
-
environment (especially ``SUPERSET_HOST`` and ``SUPERSET_PORT``) then:
44
+
There are numerous potential causes of these errors, but most they often happen when moving between
45
+
Tutor deployment types (dev/local/k8s) but can also happen when the hostnames or ports in your LMS or
46
+
Superset configuration change (such as when populating a staging environment from a production database).
47
+
48
+
This root issue is usually an the OAuth Application LMS database entry not matching the Superset
49
+
URL. Make sure your ``config.yml`` settings are correct for your environment (especially
50
+
``SUPERSET_HOST`` and ``SUPERSET_PORT``).
51
+
52
+
External Proxy
53
+
--------------
54
+
55
+
If you are running behind a proxy separate from Tutor's Caddy there may be mismatches between
56
+
the expected http/https redirect URIs that Aspects sets by default. In this case you can set
57
+
the ``SUPERSET_PROXY_FIX`` Tutor setting to True in your config. It tells Superset to use the
58
+
headers set by the proxy to confirm the URL. See the
0 commit comments