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

urlopen error Tunnel connection failed #21391

Closed
2011 opened this issue Jun 13, 2019 · 1 comment
Closed

urlopen error Tunnel connection failed #21391

2011 opened this issue Jun 13, 2019 · 1 comment

Comments

@2011
Copy link

@2011 2011 commented Jun 13, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.06.08
  • 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 -v --proxy=https://localhost:3128/ 'https://www.mylifetime.com/shows/married-at-first-sight/season-9/episode-0'[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--restrict-filenames', '-o', '%(title)s-%(id)s-%(uploader)s.%(ext)s', '-w', '-v', '--proxy=https://localhost:3128/', 'https://www.mylifetime.com/shows/married-at-first-sight/season-9/episode-0']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.06.08
[debug] Python version 3.6.5 (CPython) - Linux-4.4.39-x86_64-Intel-R-_Core-TM-_i5
[debug] exe versions: ffmpeg 3.4.5, ffprobe 3.4.5, rtmpdump 2.4
[debug] Proxy map: {'http': 'https://localhost:3128/', 'https': 'https://localhost:3128/'}
[aenetworks] married-at-first-sight/season-9/episode-0: Downloading webpage
[aenetworks] 1533507139870: Downloading JSON metadata
ERROR: Unable to download JSON metadata: <urlopen error Tunnel connection failed: 403 Forbidden> (caused by URLError(OSError('Tunnel connection failed: 403 Forbidden',),))
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2227, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib64/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/usr/lib64/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
  File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib64/python3.6/urllib/request.py", line 806, in <lambda>
    meth(r, proxy, type))
  File "/usr/lib64/python3.6/site-packages/youtube_dl/utils.py", line 3679, in proxy_open
    self, req, proxy, type)
  File "/usr/lib64/python3.6/urllib/request.py", line 834, in proxy_open
    return self.parent.open(req, timeout=req.timeout)
  File "/usr/lib64/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/usr/lib64/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
  File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/utils.py", line 1140, in https_open
    req, **kwargs)
  File "/usr/lib64/python3.6/urllib/request.py", line 1320, in do_open
    raise URLError(err)

Description

I am not sure exactly what the problem is, but I did notice that the site now checks for private windows, and will not play videos in those ("PRIVATE/INCOGNITO WINDOW DETECTED To watch videos on our site, please use a non-private window").

@2011
Copy link
Author

@2011 2011 commented Jun 14, 2019

Oops (sorry). I guess this video is tv-provider-account-needed. The web site doesn't display that clearly in some cases.

@dstftw dstftw closed this Jun 15, 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.