Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repeated instances of HTTP Error 503 #21191

Closed
stuart-little opened this issue May 22, 2019 · 1 comment
Closed

repeated instances of HTTP Error 503 #21191

stuart-little opened this issue May 22, 2019 · 1 comment

Comments

@stuart-little
Copy link

@stuart-little stuart-little commented May 22, 2019

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.05.20
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', '18', '-4', '-v', 'https://www.youtube.com/user/ReviewTechUSA/videos?disable_polymer=1', '--playlist-items', '1']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.05.20
[debug] Python version 3.6.8 (CPython) - Linux-5.0.15_1-x86_64-with-glibc2.3.4
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3
[debug] Proxy map: {}
[youtube:user] ReviewTechUSA: Downloading channel page
[youtube:playlist] UU__Oy3QdB3d9_FHO_XG1PZg: Downloading webpage
[download] Downloading playlist: Uploads from ReviewTechUSA
[youtube:playlist] playlist Uploads from ReviewTechUSA: Downloading 1 videos
[download] Downloading video 1 of 1
[youtube] Kjvmbtfz56w: Downloading webpage
[youtube] Kjvmbtfz56w: Downloading video info webpage
[debug] Invoking downloader on 'https://r2---sn-8xgp1vo-ab5e.googlevideo.com/videoplayback?id=o-AGhQs_t9v2tfYpUIDXOkGlIXVEa4OIDVFiU-KTWaV7eX&itag=18&source=youtube&requiressl=yes&mm=31%2C29&mn=sn-8xgp1vo-ab5e%2Csn-ab5szn76&ms=au%2Crdu&mv=m&pl=16&ei=hMnlXOOGCobz8gT1xa_YBw&initcwndbps=2060000&mime=video%2Fmp4&gir=yes&clen=17228302&ratebypass=yes&dur=364.135&lmt=1558487606091247&mt=1558563063&fvip=2&c=WEB&txp=5531432&ip=68.133.21.73&ipbits=0&expire=1558584804&sparams=ip%2Cipbits%2Cexpire%2Cid%2Citag%2Csource%2Crequiressl%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cei%2Cinitcwndbps%2Cmime%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&signature=7575BDEC7939C598BCB9FB4E11726063CCF5DE51.C820C1FAC04F1F2D1CF14D0DEE2BD0E6675A1FA9&key=yt8'
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 1 of 10)...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 2 of 10)...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 3 of 10)...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 4 of 10)...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 5 of 10)...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 6 of 10)...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 7 of 10)...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 8 of 10)...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 9 of 10)...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 10 of 10)...
ERROR: giving up after 10 retries
  File "/home/chirvasitua/.local/bin/youtube-dl", line 10, in <module>
    sys.exit(main())
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2008, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 868, in process_ie_result
    extra_info=extra_info)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1006, in process_ie_result
    extra_info=extra)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 868, in process_ie_result
    extra_info=extra_info)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 861, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1642, in process_video_result
    self.process_info(new_info)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1915, in process_info
    success = dl(filename, info_dict)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1854, in dl
    return fd.download(name, info)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/downloader/common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/downloader/http.py", line 353, in real_download
    self.report_error('giving up after %s retries' % retries)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/downloader/common.py", line 165, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 624, in report_error
    self.trouble(error_message, tb)
  File "/home/chirvasitua/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 586, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

Description

Today (May 22 2019) I started getting HTTP Error 503 messages when trying to download videos from Youtube.

The output pasted above resulted from running

youtube-dl -f 18 -4 -v https://www.youtube.com/user/ReviewTechUSA/videos?disable_polymer=1 --playlist-items 1

Only more recent videos seem to be affected, but I can't quite see the pattern. If, for instance, I run the same command with --playlist-items 4 instead that video downloads fine. Items 1-3 produce HTTP 503 errors though.

Also, I have ssh access to a remote computer on a different network that seems unaffected, which makes me think my IP is somehow being blocked, but apparently only for certain videos.

I am on the latest version as of this writing (2019.5.20) installed directly through pip.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 22, 2019

PS > py -2.7 .\youtube_dl\__main__.py Kjvmbtfz56w -f 18
[youtube] Kjvmbtfz56w: Downloading webpage
[youtube] Kjvmbtfz56w: Downloading video info webpage
[download] Destination: Sony Demonstrates The PS5's Load Times, And They're INSANE! #PS5 #PlayStation5-Kjvmbtfz56w.mp4
[download]  24.3% of 16.43MiB at  6.26MiB/s ETA 00:01
ERROR: Interrupted by user
@dstftw dstftw closed this May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.