microsoftarchive / Learn-LTI

Access the Microsoft Learn http://docs.microsoft.com/learn Catalog of Learning Paths and Modules directly from your Learning Management Systems using the Microsoft Learn LTI application
https://microsoft.github.io/Learn-LTI/
MIT License
127 stars 50 forks source link

Microsoft Learn LTI application not working #55

Closed koolala closed 4 years ago

koolala commented 4 years ago

LMS: Moodle 3.8.3 Login Account: (Deploy the App and has Moodle Admin Right)

Cases: When I process to open LTI link. https://github.com/microsoft/Learn-LTI/blob/main/docs/USER_GUIDE.md#Customize-Review-and-Publish-the-assignment

The page has an Error. https://learnclientuxi3dtbbn.z7.web.core.windows.net/Mzk=_Ng==# image

Additional Information: image

adbindal commented 4 years ago

Hi @koolala,

Thanks a lot for reporting the issue. The failure of the API indicates that Users Function App is not working as expected, most probably there's a crash that happened on the server. I'd recommend doing the following to understand the Azure function behavior and helping us with the details.

Troubleshooting

Azure Function Traces

We'd request you to please share the above details with us in order for us to be able to help you in a better way. Since the details might contain some private information as well. Please feel free to reach out to us via email at learnlti@microsoft.com.

koolala commented 4 years ago

@adbindal Thanks for your help.

The problem has been solved.

An Unauthorized (401) Exception occurred when access the Moodle's LTI services. /mod/lti/services.php/CourseSection/39/bindings/2/memberships

The problem came from the Apache Config.

Solution https://moodle.org/mod/forum/discuss.php?d=389429