Edlib
Edlib copied to clipboard
405 on facade URLs
405 errors on content URLs with facade URL
- [x] 1. From a built-in feature in NDLA frontend, this URL is made available to the user
https://h5p.ndla.no/resource/7edf23c6-f790-42a9-95e9-76cb4cf1d9fa?locale=nb-no and it will redirect to this lti-content link: https://ca.h5p.ndla.no/lti-content/173559 that will give a 405 error if refreshed
- [x] 2. Content left open in NDLA articles over time, will display 405 error after some time as well.
NOTE: If the NDLA-article is refreshed, the content will be displayed.
- [x] 3. Content left open in detail view over time, will display a 401 error after some time. Example was a shared, published resource: https://hub.edlibdev.net/content/01jebfywbxztg87gnxrbz5kgv1/version/01jf01z236jqmaawwpwwq4x2hx
Screenshots
- 405 when refreshing "/lti-content/" format URL.
-
405 in ndla articles over time:
-
401 in detail view over time:
The problem is the session expiring. The suggested fix is a script to keep the session alive.