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

ITV (UK) SSL: CERTIFICATE_VERIFY_FAILED #21754

Closed
baffled-mart opened this issue Jul 12, 2019 · 2 comments
Closed

ITV (UK) SSL: CERTIFICATE_VERIFY_FAILED #21754

baffled-mart opened this issue Jul 12, 2019 · 2 comments

Comments

@baffled-mart
Copy link

@baffled-mart baffled-mart commented Jul 12, 2019

The following error also happens on programme broadcast in June.

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--restrict-filenames', '--download-archive', 'youtube-dl-history.txt', 'https://www.itv.com/hub/britains-next-prime-minister-the-itv-debate/2a7392a0001','--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.07.12
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-93298-g0ce759defd, ffprobe N-93298-g0ce759defd, rtmpdump 2.4
[debug] Proxy map: {}
[debug] Using fake IP 25.94.182.170 (GB) as X-Forwarded-For.
[ITV] 2a7392a0001: Downloading webpage
[ITV] 2a7392a0001: Downloading XML
WARNING: Unable to download XML: HTTP Error 504: Gateway Time-out
[ITV] 2a7392a0001: Downloading JSON metadata
[ITV] 2a7392a0001: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://itvpnpdotcom-a.akamaihd.net/2-7392-0001-001/18/1/VAR012/2-7392-0001-001_18_1_VAR012.ism/2-7392-0001-001_18_1_VAR012-audio=97150-video=1486000.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 500
[download] Destination: Britain_s_Next_Prime_Minister_-The_ITV_Debate-_Tuesday_9_Jul_8pm-2a7392a0001.mp4
[download] 0.2% of ~582.52MiB at Unknown speed ETA Unknown ETAERROR: unable to
download video data: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>
Traceback (most recent call last):
File "C:\Python\Python34\lib\urllib\request.py", line 1183, in do_open
File "C:\Python\Python34\lib\http\client.py", line 1137, in request
File "C:\Python\Python34\lib\http\client.py", line 1182, in _send_request
File "C:\Python\Python34\lib\http\client.py", line 1133, in endheaders
File "C:\Python\Python34\lib\http\client.py", line 963, in _send_output
File "C:\Python\Python34\lib\http\client.py", line 898, in send
File "C:\Python\Python34\lib\http\client.py", line 1287, in connect
File "C:\Python\Python34\lib\ssl.py", line 362, in wrap_socket
File "C:\Python\Python34\lib\ssl.py", line 580, in init
File "C:\Python\Python34\lib\ssl.py", line 807, in do_handshake
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp50ai1hnn\build\youtube_dl\YoutubeDL.py", line 1915, in process_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp50ai1hnn\build\youtube_dl\YoutubeDL.py", line 1854, in dl
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp50ai1hnn\build\youtube_dl\downloader\common.py", line 366, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp50ai1hnn\build\youtube_dl\downloader\hls.py", line 172, in real_download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp50ai1hnn\build\youtube_dl\YoutubeDL.py", line 2227, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp50ai1hnn\build\youtube_dl\utils.py", line 2724, in https_open
File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_openurllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>

@baffled-mart
Copy link
Author

@baffled-mart baffled-mart commented Jul 12, 2019

For solution see,
#5317 (comment)

@baffled-mart
Copy link
Author

@baffled-mart baffled-mart commented Jul 12, 2019

Using Windows 7.
Adding following command line option enables download;
--no-check-certificate

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