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.

Response status code does not indicate success: 403 (Forbidden)

See original GitHub issue

Version

1.9.10

Details

Hello Oleksii Holub,

I am using your application https://github.com/Tyrrrz/YoutubeDownloader. It works great.

But recently, I got the following errors: Response status code does not indicate success: 403 (Forbidden) when download long video:

https://www.youtube.com/watch?v=Oa2IpTyjbxQ https://www.youtube.com/watch?v=6XM7BgoQdhU https://www.youtube.com/watch?v=yvL9JRFsAQw https://www.youtube.com/watch?v=33FbdGicc84 https://www.youtube.com/watch?v=orFNbppc6_0

image

Could you help me to fix it?’

Steps to reproduce

Issue Analytics

  • State:closed
  • Created 5 months ago
  • Reactions:1
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
manfroidcommented, May 1, 2023

Got the same problem, Tyrrrz. I am using the latest and greatest V1.9.10 (via auto update) Even tried with a new download of the stable binaries from GitHub. Error only occurs a while after download has started, thus downloading the same file in different formats succeeds if the file can be downloaded fast enough for the error emission not to kick in.

I tried a video of about 1 hr playing time with the format from 1080p down to 480p which all failed. The 360p resolution, however, and the mp4 audio file worked just fine. Seems like YT now detects applications which keep downloading (on the same connection?? via HTTP?!) for an extended period of time (beyond simple buffering?) HTTP status 403 indication varies for me between 10 and 20 seconds into the download. Videos that take no more than 20 seconds to grab typically succeed.

Hope this information helps.

On this opportunity I’d also like to say thank you for this great utility which helps me pursue my learning efforts off-line with no distraction. I only watch educational content downloaded using your application.

And finally I’d like to send my best wishes and regards to you and all the people in the Україна. You have my sympathy and at least some monetary support, folks 🤝

3reactions
Tyrrrzcommented, Apr 28, 2023

Looks like YouTube may have changed something. Would take a while to figure out. For now, see if retrying a couple of times (or later) helps work around the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

403 Forbidden Error: What It Is and How to Fix It
The 403 Forbidden Error is an HTTP response status code that indicates an identified client does not have proper authorization to access the...
Read more >
Response status code does not indicate suffess 403 ...
This error message indicates that the creation of a connector for your Azure AD tenant has failed. This can occur due to a...
Read more >
Response status code does not indicate success: 403 ...
HttpRequestException : Response status code does not indicate success: 403 (Forbidden). Source Error: An unhandled exception was generated during ...
Read more >
Response status code does not indicate success: 403 ...
This error message appears if the build service doesn't have permission to access your Azure Artifacts feed. To fix this:.
Read more >
Response status code does not indicate success: 403
This would indicate that the token provided to your SonarCloud Service Connection (that you've then elected to use in your Azure DevOps pipeline ......
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