Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sakai LTI 1.3 Launch Getting This Error "Missing session-id cookie issue" #123

Open
anmola31 opened this issue Oct 9, 2023 · 4 comments

Comments

@anmola31
Copy link

anmola31 commented Oct 9, 2023

One of our clients is encountering the following error when launching the LTI 1.3 Tool. After attempting to launch the tool multiple times, it eventually loads. Instructors are experiencing this issue. Any assistance in resolving this matter would be greatly appreciated

File "/srv/proctortrack/venv/lib/python3.6/site-packages/pylti1p3/message_launch.py", line 728, in set_launch_data_storage
raise LtiException("Missing %s cookie" % session_cookie_name)
,
pylti1p3.exception.LtiException: Missing session-id cookie

@anmola31 anmola31 changed the title Missing session-id cookie issue Sakai LTI 1.3 Launch Getting This Error "Missing session-id cookie issue" Oct 9, 2023
@hmoffatt
Copy link
Contributor

hmoffatt commented Oct 9, 2023

I have also seen "Missing session-id cookie" exceptions, but on launches from Canvas. It's not consistent and I haven't been able to reproduce it.

@NaurizAitbai
Copy link

Was it when using browser in incognito mode or blocking third-party cookies? What browser did they used?

You can use Sentry for monitoring errors and you will see who raise it, what browser used, stacktrace of exception, how many it raised, how many users raised this exception and etc.

@anmola31
Copy link
Author

anmola31 commented Nov 3, 2023

NO, they are not using incognito mode, they are using chrome browser and Multiple users are facing this issue.

@dannydotliu
Copy link

dannydotliu commented Feb 19, 2024

Just chiming in here, we are experiencing the same with Chrome browser (not incognito) as well and v2.0.0 of pylti1.3. From looking at the requests, it seems to be that the lti1p3-session-id cookie is not being passed through to the Canvas LTI authorisation URI https://xx.instructure.com/api/lti/authorize_redirect?

Cookies are marked as SameSite=None and Secure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants