Git Product home page Git Product logo

Comments (5)

leestott avatar leestott commented on May 13, 2024

@RaedTaha

LTI Application does not load error: {"Message":"Could not validate request"}
This issue is typically related to one of the following:

Please see https://github.com/microsoft/Learn-LTI/blob/main/docs/TROUBLESHOOTING.md this is a known setup/config issues which need to address with your Moodle Implementation.

Check if you have a valid 3rd Party Signed SSL. This services requires a valid 3rd party SSL certificate, self signed SSL certificates are not valid. Please ensure your service is using https:// with a valid SSL certification.
Check the Launch URL, please make sure that all the fields are correctly filled while registering the tool and filling tool's platform registration page. See https://github.com/microsoft/Learn-LTI/blob/main/docs/CONFIGURATION_GUIDE.md
Check the Azure Function/Azure Logs see https://github.com/microsoft/Learn-LTI/blob/main/docs/TROUBLESHOOTING.md#azure-functions-tracing

There are instructions for setting up a SSL in the guide also
Or

LTI Application does not load error: {"Message":"Could not validate nonce."}
If you receive a browser message: {"Message":"Could not validate nonce."}

We have seen this is an intermittent issue, it usually happens if the user is trying to replay an old call or if the nonce and state value don't match. If the user simply refreshes the browser the page will load.

from learn-lti.

RaedTaha avatar RaedTaha commented on May 13, 2024

Dear @leestott,
We went over all steps and all seems correctly configured. on Azure no errors are logged neither exceptions.
Unfortunately, we still have the same error message, any other ideas?

Thanks in advanced!
Raed & Nael

from learn-lti.

leestott avatar leestott commented on May 13, 2024

@RaedTaha

There must be error logged in the function or browser stack trace

Troubleshooting Errors

Azure Functions Tracing

This should provide details related to the execution context and state of the function execution when it has returned and error

Goto your Resource Group inside Azure and select Function App matching users-XXXXXXX.
Select Functions Blade in Left Hand Pane.
Select GetUserDetails afterwards.
Choose Monitor Blade in LHP and you should see the Invocation Traces.
Clicking on the failing trace should provide more details related to Server logs for that function invocation to help you.
Failures (Exceptions) in App Insights
Go to your Resource Group inside Azure and select Application Insights resource matching users-XXXXXXX.
Select Failures Blade in LHP and then choose Exceptions Tab.

The subsequent screen should indicate any exceptions that were thrown as a part of function execution and should provide more insights into what might've gone wrong.

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 [email protected].

Failure is in Users Function App

Function app which is not being able to find the user (signed-in via AAD) enrolled into the current course.
Please check that the return code for the API in the Chrome DevTools network tab to see the stack trace

from learn-lti.

leestott avatar leestott commented on May 13, 2024

@RaedTaha

Thanks for the call and screen share So we have been doing some further investigations and the Moodle team confirmed that 3.8 is no longer official supported as per our session LTI 1 is the correct version to try for this legacy version of Moodle.

The Moodle team were also unsure if 3.8 would fully work and agreed the ZTEST should validate the Moodle backend. ZTest link: https://ztest.cengage.info/ztest/

Here are the steps for installing ZTest tool: https://github.com/microsoft/Learn-LTI/blob/main/docs/ZTEST.md ("you can install for example ZTest by following the steps":)

They did stress you should think about upgrading your Moodle implementation to a version higher than Moodle 3.9

The most recent long-term support release (LTS) version is Moodle 3.9.
Version Release status Initial release General support ends Security support ends
3.9 (LTS) Current security 15 June 2020 10 May 2021 8 May 2023
3.10 Current security 9 November 2020 8 November 2021 9 May 2022
3.11 Current stable 17 May 2021 9 May 2022 14 November 2022
4.0 Future stable January 2022 14 November 2022 8 May 2023

from learn-lti.

leestott avatar leestott commented on May 13, 2024

@RaedTaha I will close this issue as its a known issue with Moodle 3.8 which has now been depreciated please update your Moodle Environment to supported version.

from learn-lti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.