Hi all ,
I am very hopefull that you will help me to resolve this issue I am getting an error in my mobile app bug which I am facing in my current setup. I already have configured this ENABLE_OAUTH2_PROVIDER. I am using Nutmeg version with Tutor. I have also shared my django apps config for your refernce. I am seeing this error in html and text component part only videos and some type of assessment is working fine.
issue I am facing
My Django Apps config (android and Login Service for JWT cookies)
But i have not used jwt cookies in my android config.yml file
other config which i have done
lms_1 | [pid: 7|app: 0|req: 1134/3433] 172.18.0.12 () {52 vars in 1389 bytes} [Sat Feb 25 17:16:46 2023] GET /xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@html_07d547513285 => generated 13503 bytes in 73 msecs (HTTP/1.1 404) 6 headers in 355 bytes (1 switches on core 0)
lms_1 | 2023-02-25 17:16:46,155 INFO 23 [tracking] [user None] [ip 103.234.68.10] logger.py:41 - {"name": "/oauth2/login/", "context": {"user_id": null, "path": "/oauth2/login/", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "", "ip": "103.234.68.10", "agent": "Dalvik/2.1.0 (Linux; U; Android 12; Pixel 6 Pro Build/SD1A.210817.015.A4) slab/org.edx.mobilex/3.2.9", "host": "slab.ai", "referer": "", "accept_language": "", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2023-02-25T17:16:46.155504+00:00", "event_type": "/oauth2/login/", "event_source": "server", "page": null}
lms_1 | [pid: 23|app: 0|req: 1126/3434] 172.18.0.12 () {44 vars in 1530 bytes} [Sat Feb 25 17:16:46 2023] POST /oauth2/login/ => generated 58 bytes in 16 msecs (HTTP/1.1 401) 8 headers in 546 bytes (1 switches on core 0)
lms_1 | 2023-02-25 17:16:46,194 INFO 7 [tracking] [user None] [ip 103.234.68.10] logger.py:41 - {"name": "/xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@html_07d547513285", "context": {"user_id": null, "path": "/xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@html_07d547513285", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "2cfd74540e9333f93fac3adddaadc051", "ip": "103.234.68.10", "agent": "Mozilla/5.0 (Linux; Android 12; Pixel 6 Pro Build/SD1A.210817.015.A4; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/108.0.5359.128 Mobile Safari/537.36 slab/org.edx.mobilex/3.2.9", "host": "slab.ai", "referer": "", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2023-02-25T17:16:46.194170+00:00", "event_type": "/xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@html_07d547513285", "event_source": "server", "page": null}
lms_1 | [pid: 7|app: 0|req: 1135/3435] 172.18.0.12 () {52 vars in 1313 bytes} [Sat Feb 25 17:16:46 2023] GET /xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@html_07d547513285 => generated 13503 bytes in 73 msecs (HTTP/1.1 404) 6 headers in 355 bytes (1 switches on core 0)
lms_1 | 2023-02-25 17:16:46,323 INFO 23 [tracking] [user None] [ip 103.234.68.10] logger.py:41 - {"name": "/oauth2/login/", "context": {"user_id": null, "path": "/oauth2/login/", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "", "ip": "103.234.68.10", "agent": "Dalvik/2.1.0 (Linux; U; Android 12; Pixel 6 Pro Build/SD1A.210817.015.A4) slab/org.edx.mobilex/3.2.9", "host": "slab.ai", "referer": "", "accept_language": "", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2023-02-25T17:16:46.323165+00:00", "event_type": "/oauth2/login/", "event_source": "server", "page": null}
lms_1 | [pid: 23|app: 0|req: 1127/3436] 172.18.0.12 () {44 vars in 1530 bytes} [Sat Feb 25 17:16:46 2023] POST /oauth2/login/ => generated 58 bytes in 16 msecs (HTTP/1.1 401) 8 headers in 546 bytes (1 switches on core 0)
lms_1 | 2023-02-25 17:16:46,365 INFO 7 [tracking] [user None] [ip 103.234.68.10] logger.py:41 - {"name": "/xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@html_07d547513285", "context": {"user_id": null, "path": "/xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@html_07d547513285", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "997685820d9fda4af987f0bbec1a221e", "ip": "103.234.68.10", "agent": "Mozilla/5.0 (Linux; Android 12; Pixel 6 Pro Build/SD1A.210817.015.A4; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/108.0.5359.128 Mobile Safari/537.36 slab/org.edx.mobilex/3.2.9", "host": "slab.ai", "referer": "", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2023-02-25T17:16:46.365261+00:00", "event_type": "/xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@html_07d547513285", "event_source": "server", "page": null}
lms_1 | [pid: 7|app: 0|req: 1136/3437] 172.18.0.12 () {52 vars in 1314 bytes} [Sat Feb 25 17:16:46 2023] GET /xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@html_07d547513285 => generated 13503 bytes in 76 msecs (HTTP/1.1 404) 6 headers in 355 bytes (1 switches on core 0)
lms_1 | 2023-02-25 17:16:46,464 INFO 23 [tracking] [user None] [ip 103.234.68.10] logger.py:41 - {"name": "/oauth2/login/", "context": {"user_id": null, "path": "/oauth2/login/", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "", "ip": "103.234.68.10", "agent": "Dalvik/2.1.0 (Linux; U; Android 12; Pixel 6 Pro Build/SD1A.210817.015.A4) slab/org.edx.mobilex/3.2.9", "host": "slab.ai", "referer": "", "accept_language": "", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2023-02-25T17:16:46.464652+00:00", "event_type": "/oauth2/login/", "event_source": "server", "page": null}
lms_1 | [pid: 7|app: 0|req: 1159/3482] 172.18.0.12 () {44 vars in 1531 bytes} [Sat Feb 25 17:16:51 2023] POST /oauth2/login/ => generated 58 bytes in 16 msecs (HTTP/1.1 401) 8 headers in 546 bytes (1 switches on core 0)
lms_1 | 2023-02-25 17:16:51,268 INFO 23 [tracking] [user None] [ip 103.234.68.10] logger.py:41 - {"name": "/xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@700x_pathways", "context": {"user_id": null, "path": "/xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@700x_pathways", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "150ecb1e61f094d8d08e63d55612ac3d", "ip": "103.234.68.10", "agent": "Mozilla/5.0 (Linux; Android 12; Pixel 6 Pro Build/SD1A.210817.015.A4; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/108.0.5359.128 Mobile Safari/537.36 slab/org.edx.mobilex/3.2.9", "host": "slab.ai", "referer": "", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2023-02-25T17:16:51.267968+00:00", "event_type": "/xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@700x_pathways", "event_source": "server", "page": null}
lms_1 | [pid: 23|app: 0|req: 1150/3483] 172.18.0.12 () {52 vars in 1306 bytes} [Sat Feb 25 17:16:51 2023] GET /xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@700x_pathways => generated 13503 bytes in 76 msecs (HTTP/1.1 404) 6 headers in 355 bytes (1 switches on core 0)
lms_1 | 2023-02-25 17:16:51,360 INFO 7 [tracking] [user None] [ip 103.234.68.10] logger.py:41 - {"name": "/oauth2/login/", "context": {"user_id": null, "path": "/oauth2/login/", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "", "ip": "103.234.68.10", "agent": "Dalvik/2.1.0 (Linux; U; Android 12; Pixel 6 Pro Build/SD1A.210817.015.A4) slab/org.edx.mobilex/3.2.9", "host": "slab.ai", "referer": "", "accept_language": "", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2023-02-25T17:16:51.360280+00:00", "event_type": "/oauth2/login/", "event_source": "server", "page": null}
lms_1 | [pid: 7|app: 0|req: 1160/3484] 172.18.0.12 () {44 vars in 1531 bytes} [Sat Feb 25 17:16:51 2023] POST /oauth2/login/ => generated 58 bytes in 16 msecs (HTTP/1.1 401) 8 headers in 546 bytes (1 switches on core 0)
lms_1 | 2023-02-25 17:16:51,396 INFO 23 [tracking] [user None] [ip 103.234.68.10] logger.py:41 - {"name": "/xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@700x_pathways", "context": {"user_id": null, "path": "/xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@700x_pathways", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "13fc367d07c42388b44cca86b0602821", "ip": "103.234.68.10", "agent": "Mozilla/5.0 (Linux; Android 12; Pixel 6 Pro Build/SD1A.210817.015.A4; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/108.0.5359.128 Mobile Safari/537.36 slab/org.edx.mobilex/3.2.9", "host": "slab.ai", "referer": "", "accept_language": "en-US,en;q=0.9", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2023-02-25T17:16:51.396719+00:00", "event_type": "/xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@700x_pathways", "event_source": "server", "page": null}
lms_1 | [pid: 23|app: 0|req: 1151/3485] 172.18.0.12 () {52 vars in 1304 bytes} [Sat Feb 25 17:16:51 2023] GET /xblock/block-v1:edX+DemoX+Demo_Course+type@html+block@700x_pathways => generated 13503 bytes in 73 msecs (HTTP/1.1 404) 6 headers in 355 bytes (1 switches on core 0)
lms_1 | 2023-02-25 17:17:01,734 INFO 7 [tracking] [user None] [ip 103.234.68.10] logger.py:41 - {"name": "/api/courses/v1/blocks/", "context": {"user_id": null, "path": "/api/courses/v1/blocks/", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "", "ip": "103.234.68.10", "agent": "Dalvik/2.1.0 (Linux; U; Android 12; Pixel 6 Pro Build/SD1A.210817.015.A4) slab/org.edx.mobilex/3.2.9", "host": "slab.ai", "referer": "", "accept_language": "", "event": "{\"GET\": {\"depth\": [\"all\"], \"requested_fields\": [\"contains_gated_content,show_gated_sections,special_exam_info,graded,format,student_view_multi_device,due,completion\"], \"student_view_data\": [\"video,discussion\"], \"block_counts\": [\"video\"], \"nav_depth\": [\"3\"], \"username\": [\"android\"], \"course_id\": [\"course-v1:edX+DemoX+Demo_Course\"]}, \"POST\": {}}", "time": "2023-02-25T17:17:01.733949+00:00", "event_type": "/api/courses/v1/blocks/", "event_source": "server", "page": null}
lms_1 | 2023-02-25 17:17:01,748 INFO 23 [tracking] [user None] [ip 103.234.68.10] logger.py:41 - {"name": "/api/courses/v1/blocks/", "context": {"user_id": null, "path": "/api/courses/v1/blocks/", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "", "ip": "103.234.68.10", "agent": "Dalvik/2.1.0 (Linux; U; Android 12; Pixel 6 Pro Build/SD1A.210817.015.A4) slab/org.edx.mobilex/3.2.9", "host": "slab.ai", "referer": "", "accept_language": "", "event": "{\"GET\": {\"depth\": [\"all\"], \"requested_fields\": [\"contains_gated_content,show_gated_sections,special_exam_info,graded,format,student_view_multi_device,due,completion\"], \"student_view_data\": [\"video,discussion\"], \"block_counts\": [\"video\"], \"nav_depth\": [\"3\"], \"username\": [\"android\"], \"course_id\": [\"course-v1:edX+DemoX+Demo_Course\"]}, \"POST\": {}}", "time": "2023-02-25T17:17:01.748739+00:00", "event_type": "/api/courses/v1/blocks/", "event_source": "server", "page": null}
lms_1 | [pid: 7|app: 0|req: 1161/3486] 172.18.0.12 () {46 vars in 2168 bytes} [Sat Feb 25 17:17:01 2023] GET /api/courses/v1/blocks/?depth=all&requested_fields=contains_gated_content,show_gated_sections,special_exam_info,graded,format,student_view_multi_device,due,completion&student_view_data=video,discussion&block_counts=video&nav_depth=3&username=android&course_id=course-v1%3AedX%2BDemoX%2BDemo_Course => generated 145329 bytes in 197 msecs (HTTP/1.1 200) 8 headers in 632 bytes (1 switches on core 0)
lms_1 | 2023-02-25 17:17:01,931 INFO 7 [tracking] [user None] [ip 103.234.68.10] logger.py:41 - {"name": "/api/mobile/v1/users/android/course_status_info/course-v1:edX+DemoX+Demo_Course", "context": {"user_id": null, "path": "/api/mobile/v1/users/android/course_status_info/course-v1:edX+DemoX+Demo_Course", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "", "ip": "103.234.68.10", "agent": "Dalvik/2.1.0 (Linux; U; Android 12; Pixel 6 Pro Build/SD1A.210817.015.A4) slab/org.edx.mobilex/3.2.9", "host": "slab.ai", "referer": "", "accept_language": "", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2023-02-25T17:17:01.931778+00:00", "event_type": "/api/mobile/v1/users/android/course_status_info/course-v1:edX+DemoX+Demo_Course", "event_source": "server", "page": null}
lms_1 | [pid: 23|app: 0|req: 1152/3487] 172.18.0.12 () {46 vars in 2168 bytes} [Sat Feb 25 17:17:01 2023] GET /api/courses/v1/blocks/?depth=all&requested_fields=contains_gated_content,show_gated_sections,special_exam_info,graded,format,student_view_multi_device,due,completion&student_view_data=video,discussion&block_counts=video&nav_depth=3&username=android&course_id=course-v1%3AedX%2BDemoX%2BDemo_Course => generated 145329 bytes in 195 msecs (HTTP/1.1 200) 8 headers in 632 bytes (1 switches on core 0)
lms_1 | 2023-02-25 17:17:01,988 INFO 23 [tracking] [user None] [ip 103.234.68.10] logger.py:41 - {"name": "/api/mobile/v1/users/android/course_status_info/course-v1:edX+DemoX+Demo_Course", "context": {"user_id": null, "path": "/api/mobile/v1/users/android/course_status_info/course-v1:edX+DemoX+Demo_Course", "course_id": "", "org_id": "", "enterprise_uuid": ""}, "username": "", "session": "", "ip": "103.234.68.10", "agent": "Dalvik/2.1.0 (Linux; U; Android 12; Pixel 6 Pro Build/SD1A.210817.015.A4) slab/org.edx.mobilex/3.2.9", "host": "slab.ai", "referer": "", "accept_language": "", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2023-02-25T17:17:01.988297+00:00", "event_type": "/api/mobile/v1/users/android/course_status_info/course-v1:edX+DemoX+Demo_Course", "event_source": "server", "page": null}
lms_1 | [pid: 7|app: 0|req: 1162/3488] 172.18.0.12 () {46 vars in 1742 bytes} [Sat Feb 25 17:17:01 2023] GET /api/mobile/v1/users/android/course_status_info/course-v1:edX+DemoX+Demo_Course => generated 454 bytes in 286 msecs (HTTP/1.1 200) 8 headers in 621 bytes (1 switches on core 0)
lms_1 | [pid: 23|app: 0|req: 1153/3489] 172.18.0.12 () {46 vars in 1742 bytes} [Sat Feb 25 17:17:01 2023] GET /api/mobile/v1/users/android/course_status_info/course-v1:edX+DemoX+Demo_Course => generated 454 bytes in 283 msecs (HTTP/1.1 200) 8 headers in 621 bytes (1 switches on core 0)
lms_1 | 2023-02-25 17:17:05,050 INFO 7 [tracking] [user None] [ip 103.234.68.10] logger.py:41 - {"name": "/api/courseware/course/course-v1:edX+DemoX+Demo_Course", "context": {"course_id": "course-v1:edX+DemoX+Demo_Course", "course_user_tags": {}, "user_id": null, "path": "/api/courseware/course/course-v1:edX+DemoX+Demo_Course", "org_id": "edX", "enterprise_uuid": ""}, "username": "", "session": "", "ip": "103.234.68.10", "agent": "Dalvik/2.1.0 (Linux; U; Android 12; Pixel 6 Pro Build/SD1A.210817.015.A4) slab/org.edx.mobilex/3.2.9", "host": "slab.ai", "referer": "", "accept_language": "", "event": "{\"GET\": {}, \"POST\": {}}", "time": "2023-02-25T17:17:05.049825+00:00", "event_type": "/api/courseware/course/course-v1:edX+DemoX+Demo_Course", "event_source": "server", "page": null}