I’m trying to install Aspects (tutor-contrib-aspects
) on Tutor 17.0.6. Platform is a Ubuntu 24.04/amd64.
I’ve followed the instructions in the Aspects readme: GitHub - openedx/tutor-contrib-aspects: The Open Analytics Reference System - Tutor plugin.
No errors during installation, image building, initial configuration. However, when I try to access a report I see the following:
I’m not sure what I’m doing wrong or how to proceed.
Here is my plugins list in case it matters:
Plugins:
android | installed | 17.0.0 |
---|---|---|
aspects | enabled | 1.1.0 |
cairn | installed | 17.1.0 |
codejail | enabled | 17.0.2 |
credentials | installed | 17.0.1 |
discovery | installed | 17.0.1 |
ecommerce | installed | 17.0.2 |
forum | enabled | 17.0.1 |
indigo | enabled | 17.4.2 |
jupyter | installed | 17.0.0 |
mfe | enabled | 17.0.1 |
minio | installed | 17.0.0 |
notes | installed | 17.0.0 |
third-party-auth | enabled | 1.0.0 |
webui | installed | 17.0.1 |
xqueue | installed | 17.0.0 |
My installation is scripted and only has three users: the superuser/staff user, a second staff user, a single course, and a test student.
The only customization is a third_party_auth
plugin which enables Microsoft (azuread) and Google social sign-ins. Code here: third-party-auth · GitHub
Both the staff user and superuser have the same issue. “Something went wrong with embeedded authentication”. And Uncaught (in promise) Object { message: "Invalid token specified",
in the browser dev console.
I’m using the recommended cname setup from the Tutor docs and all other domains for studio, mfe, etc. work fine out of the box.
LMS Logs: aspects_lms_logs.txt · GitHub
It looks like some issue with superset:
lms-1 | 2024-08-26 14:43:20,255 ERROR 13 [platform_plugin_aspects.utils] [user 8] [ip 142.167.76.22] utils.py:168 - HTTPSConnectionPool(host='superset.courses.domain.tld', port=443): Max retries exceeded with url: /api/v1/security/login (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7d218130b550>: Failed to establish a new connection: [Errno -2] Name or service not known'))
lms-1 | 2024-08-26 14:43:20,088 ERROR 7 [django.request] [user None] [ip None] log.py:241 - Internal Server Error: /aspects/superset_guest_token/course-v1:COURSE