leedo / leedo/noembed

401 Not authorized - Could not embed a video - Cache is not updated?

Open
#93 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
496
Forks
91
PR merge metrics
No merged PRs in 30d

Description

First of all thank you for this tool. It works great.

Unfortunately, we currently have an issue that a video is not embedded correctly. During our test of the website the video was set to private and therefore was not embedded (which I would say is correct).
We updated the setting of the video on Youtube to public now but still get a message "401 Not authorized" from nombed. It looks like that there is a Varnish Cache and we are wondering the cache gets updated or if it is another issue.

When we add a parameter (which has no function) to the URL it is working.

Can somebody help me on this?

Best wishes,
Hannes

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the 401 response with the original YouTube URL, then compare it with the same URL after adding a query parameter. Start by tracing the noembed request through the Varnish cache and determine whether a privacy-setting change invalidates the cached response; done means the now-public video embeds without requiring a meaningless parameter.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.