Edlib icon indicating copy to clipboard operation
Edlib copied to clipboard

405 on facade URLs

Open tmkarlsen opened this issue 2 years ago • 1 comments

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

  1. 405 when refreshing "/lti-content/" format URL. Skjermbilde 2023-10-03 kl  14 28 20

Skjermbilde 2023-10-03 kl  14 28 12

  1. 405 in ndla articles over time: Skjermbilde 2023-10-03 kl  14 27 40

  2. 401 in detail view over time: Image

tmkarlsen avatar Oct 03 '23 12:10 tmkarlsen

The problem is the session expiring. The suggested fix is a script to keep the session alive.

tmkarlsen avatar May 28 '24 07:05 tmkarlsen