Hello,
We (tool provider) have been partnering with a university client to troubleshoot grade passbook. This investigation began in February 2020 when the response from Moodle was “Consumer key is missing” in LTI 1.1. Historically that has indicated that authorization headers are being stripped. More info here: https://moodle.org/mod/forum/discuss.php?d=323197#p1320091
This issue was never resolved and we opted to give up because the grading feature was not in high demand at the university at the time.
This year we moved to LTI 1.3 in the same Moodle instance. Grade passbook is still failing, but now with a 500 at: /moodle2020/mod/lti/services.php/6/lineitems/44349/lineitem/scores?type_id=2
The client’s Moodle logs contain the following:
2021-01-19T04:03:06-06:00 atticus http: - 52.6.76.55 - - [19/Jan/2021:04:03:06 -0600] "POST /moodle2020/mod/lti/services.php/2305/lineitems/43377/lineitem/scores?type_id=2 HTTP/1.1" - 2 "-" "-" - 0 27133
2021-01-19T04:03:07-06:00 atticus http: - 52.6.76.55 - - [19/Jan/2021:04:03:07 -0600] "POST /moodle2020/mod/lti/services.php/2305/lineitems/43377/lineitem/scores?type_id=2 HTTP/1.1" - 2 "-" "-" - 0 24925
2021-01-19T08:33:17-06:00 atticus http: - 52.6.76.55 - - [19/Jan/2021:08:33:17 -0600] "POST /moodle2020/mod/lti/services.php/2305/lineitems/43377/lineitem/scores?type_id=2 HTTP/1.1" - 2 "-" "-" - 0 31509
2021-01-20T00:03:09-06:00 atticus httpd-event[117935]: [proxy_fcgi:error] [pid 117935:tid 140438308644608] [client 52.6.76.55:56900] Invalid status line from script 'services.php': 0 Coding error detected, it mu
2021-01-20T00:03:47-06:00 atticus httpd-event[117776]: [proxy_fcgi:error] [pid 117776:tid 140439508178688] [client 52.6.76.55:56762] Invalid status line from script 'services.php': 0 Coding error detected, it mu
Could this still be an issue of stripped authorization headers? Is there any additional insight out there about the cause of these errors or where to look?
Thank you!