Giter Club home page Giter Club logo

Comments (3)

LukeDuffy98 avatar LukeDuffy98 commented on May 20, 2024 2

from learn-lti.

adbindal avatar adbindal commented on May 20, 2024

Hi @LukeDuffy98 ,

Thanks a lot for reporting the issue. As stated, the failure is in Users Function App which is not being able to find the user (signed-in via AAD) enrolled into the current course. To prove this theory, please check that the return code for /me API in the Chrome DevTools network tab is http204 (i.e. No-Content).

  • As a quick question, could you please let us know whether your tool is onboarded using LTI1.1 or LTI1.3?
  • In our experience, as I remember, the only case when this happens is when user signs into Learn-LTI app with an onmicrosoft.com account which does not map to the email of any of the enrolled users of the course.

Additionally, you could use the following steps to understand the Azure function behavior and help us with the more details on your issue.

Troubleshooting

Azure Function Traces

This should provide details related to the execution context and state of the function execution when it would've returned http204.

  • 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 on server when executing GetUserDetails api.

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].

from learn-lti.

koolala avatar koolala commented on May 20, 2024

HI @LukeDuffy98

I had this message before.
In my case, my account (admin right) has not enroll to the Moodle's course. Then, I enrolled my account as a Trainer.

After enrolled, the LTI application page will show the content.
image

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.