question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Path does not match reserved endpoints: when I deploy on App Engine

See original GitHub issue

I am deploying the ltijs server in the app engine I get the message “Invalid token. Please reinitiate login.” and the next log

2020-06-26 15:26:03 default[20200626t151009]  "POST /login" 302
2020-06-26 15:30:45 default[20200626t151009]  2020-06-26T15:30:45.291Z provider:main Receiving request at path: /login
2020-06-26 15:30:45 default[20200626t151009]  2020-06-26T15:30:45.291Z provider:main Receiving a login request from: https://moodle-test.lmslti.booklick.net
2020-06-26 15:30:45 default[20200626t151009]  2020-06-26T15:30:45.330Z provider:main Redirecting to platform authentication endpoint
2020-06-26 15:30:46 default[20200626t151009]  2020-06-26T15:30:46.099Z provider:main Receiving request at path: /
2020-06-26 15:30:46 default[20200626t151009]  2020-06-26T15:30:46.099Z provider:main Path does not match reserved endpoints
2020-06-26 15:30:46 default[20200626t151009]  2020-06-26T15:30:46.099Z provider:main Cookies received:
2020-06-26 15:30:46 default[20200626t151009]  2020-06-26T15:30:46.099Z provider:main [Object: null prototype] {}
2020-06-26 15:30:46 default[20200626t151009]  2020-06-26T15:30:46.100Z provider:main No LTIK found
2020-06-26 15:30:46 default[20200626t151009]  2020-06-26T15:30:46.100Z provider:main Request body:  [Object: null prototype] {
2020-06-26 15:30:46 default[20200626t151009]    error: 'invalid_request',
2020-06-26 15:30:46 default[20200626t151009]    error_description:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ahelordcommented, Jun 26, 2020

The problem was caused by the lack of / at the end of the Redirection URI in moodle config. thanks @Cvmcosta

0reactions
Cvmcostacommented, Jun 26, 2020

Do you mind updating to version 4.1.0? I wanna make sure everything is being passed correctly when generating the login request, this version has the necessary logs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set up Cloud Endpoints OpenAPI for standard environment ...
This page shows you how to set up Cloud Endpoints for App Engine. Endpoints uses the Extensible Service Proxy V2 (ESPv2) as an...
Read more >
Change health check endpoint name · Issue #3028 - GitHub
Problem. In Google Cloud Run, 404 error occurs after 1 minute. Streamlit use healthz url for health check. However, healthz is reserved url ......
Read more >
/healthz route of an app deployed on Google App Engine ...
I'm deploying a Streamlit app on Google App Engine. Streamlit web UI appear to be sending requests to the /healthz endpoint periodically, and ......
Read more >
Amazon EKS troubleshooting - AWS Documentation
This chapter covers some common errors that you may see while using Amazon EKS and how to work around them. If you need...
Read more >
Tutorial: Sign in users in a Node.js & Express web app
The web app you build uses the Microsoft Authentication Library (MSAL) for ... token does not match')); } } else { next(new Error('state...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found