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

URLError(ConnectionRefusedError(111, 'Connection refused') on viki.com #25780

Closed
Anutrix opened this issue Jun 24, 2020 · 2 comments
Closed

URLError(ConnectionRefusedError(111, 'Connection refused') on viki.com #25780

Anutrix opened this issue Jun 24, 2020 · 2 comments
Labels

Comments

@Anutrix
Copy link

@Anutrix Anutrix commented Jun 24, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.06.16.1
  • 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 issues including closed ones

Verbose log

$ youtube-dl --sub-lang en --sub-format vtt --write-sub https://www.viki.com/tv/23602c-what-happens-to-my-family -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--sub-lang', 'en', '--sub-format', 'vtt', '--write-sub', 'https://www.viki.com/tv/23602c-what-happens-to-my-family', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.8.2 (CPython) - Linux-4.4.0-18362-Microsoft-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.2-1, ffprobe 4.2.2-1, rtmpdump 2.4
[debug] Proxy map: {}
[viki:channel] 23602c: Downloading channel JSON
[viki:channel] 23602c: Downloading episodes JSON page #1
[viki:channel] 23602c: Downloading episodes JSON page #2
[viki:channel] 23602c: Downloading episodes JSON page #3
[viki:channel] 23602c: Downloading clips JSON page #1
[viki:channel] 23602c: Downloading movies JSON page #1
[download] Downloading playlist: What Happens to My Family?
[viki:channel] playlist What Happens to My Family?: Collected 53 video ids (downloading 53 of them)
[download] Downloading video 1 of 53
[viki] 1048200v: Downloading video JSON
[viki] 1048200v: Downloading video streams JSON
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: What Happens to My Family - Episode 1-1048200v.en.vtt
[debug] Invoking downloader on 'https://v4.viki.io/1048200v/1048200v_high_480p_1408190207.mp4?e=1593028068&h=0f05243f9c7cad8df76881773802a28c'
[download] What Happens to My Family - Episode 1-1048200v.mp4 has already been downloaded
[download] 100% of 369.40MiB
[download] Downloading video 2 of 53
[viki] 1048248v: Downloading video JSON
[viki] 1048248v: Downloading video streams JSON
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: What Happens to My Family - Episode 2-1048248v.en.vtt
[debug] Invoking downloader on 'https://v4.viki.io/1048248v/1048248v_high_480p_1408190207.mp4?e=1593028188&h=e123379353cc5d784746b7a35b5b146f'
[download] What Happens to My Family - Episode 2-1048248v.mp4 has already been downloaded
[download] 100% of 372.54MiB
[download] Downloading video 3 of 53
[viki] 1049205v: Downloading video JSON
[viki] 1049205v: Downloading video streams JSON
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: What Happens to My Family - Episode 3-1049205v.en.vtt
WARNING: Unable to download subtitle for "en": Unable to download webpage: <urlopen error [Errno 111] Connection refused> (caused by URLError(ConnectionRefusedError(111, 'Connection refused')))
[debug] Invoking downloader on 'https://v4.viki.io/1049205v/1049205v_high_480p_1408250223.mp4?e=1593028190&h=392986ed23a35d4f0c68e7333d266c47'
[download] What Happens to My Family - Episode 3-1049205v.mp4 has already been downloaded
[download] 100% of 327.46MiB
[download] Downloading video 4 of 53
[viki] 1049297v: Downloading video JSON
[viki] 1049297v: Downloading video streams JSON
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: What Happens to My Family - Episode 4-1049297v.en.vtt
[debug] Invoking downloader on 'https://v4.viki.io/1049297v/1049297v_high_480p_1408250223.mp4?e=1593028510&h=aab067e4b1fffb7b347d23b4745541ac'
[download] What Happens to My Family - Episode 4-1049297v.mp4 has already been downloaded
[download] 100% of 348.46MiB
[download] Downloading video 5 of 53
[viki] 1049993v: Downloading video JSON
[viki] 1049993v: Downloading video streams JSON
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: What Happens to My Family - Episode 5-1049993v.en.vtt
[debug] Invoking downloader on 'https://v4.viki.io/1049993v/1049993v_high_480p_1409010402.mp4?e=1593028193&h=230d37ea56c9fc7e75be5bc11bf01946'
[download] What Happens to My Family - Episode 5-1049993v.mp4 has already been downloaded
[download] 100% of 301.16MiB
[download] Downloading video 6 of 53
[viki] 1050038v: Downloading video JSON
ERROR: Unable to download JSON metadata: Remote end closed connection without response (caused by RemoteDisconnected('Remote end closed connection without response')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 2238, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/lib/python3.8/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3/dist-packages/youtube_dl/utils.py", line 2734, in https_open
    return self.do_open(functools.partial(
  File "/usr/lib/python3.8/urllib/request.py", line 1323, in do_open
    r = h.getresponse()
  File "/usr/lib/python3.8/http/client.py", line 1322, in getresponse
    response.begin()
  File "/usr/lib/python3.8/http/client.py", line 303, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.8/http/client.py", line 272, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"

Description

It was working fine till last time I checked which was about 24 hours ago from now. Now it gives URLError(ConnectionRefusedError(111, 'Connection refused') on viki.com randomly. It works for a few videos in the list then stops. Every time it fails after a different number of videos.

There seem to be other Viki related issues but none seem to be like this.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 24, 2020

Network issue on your side.

@dstftw dstftw closed this Jun 24, 2020
@dstftw dstftw added the invalid label Jun 24, 2020
@AlecHex
Copy link

@AlecHex AlecHex commented Jul 29, 2020

I am wondering why am I getting
[viki] Logging in ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

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
3 participants
You can’t perform that action at this time.