{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/4776","repository_url":"https://api.github.com/repos/mpv-player/mpv","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/4776/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/4776/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/4776/events","html_url":"https://github.com/mpv-player/mpv/issues/4776","id":251012970,"number":4776,"title":"Howto solve or bypass : \"tls: A TLS fatal alert has been received.\"","user":{"login":"sebma","id":4569306,"avatar_url":"https://avatars1.githubusercontent.com/u/4569306?v=4","gravatar_id":"","url":"https://api.github.com/users/sebma","html_url":"https://github.com/sebma","followers_url":"https://api.github.com/users/sebma/followers","following_url":"https://api.github.com/users/sebma/following{/other_user}","gists_url":"https://api.github.com/users/sebma/gists{/gist_id}","starred_url":"https://api.github.com/users/sebma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebma/subscriptions","organizations_url":"https://api.github.com/users/sebma/orgs","repos_url":"https://api.github.com/users/sebma/repos","events_url":"https://api.github.com/users/sebma/events{/privacy}","received_events_url":"https://api.github.com/users/sebma/received_events","type":"User","site_admin":false},"labels":[{"id":29016468,"url":"https://api.github.com/repos/mpv-player/mpv/labels/ffmpeg-bug","name":"ffmpeg-bug","color":"444444","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2017-08-17T17:15:55Z","updated_at":"2017-08-20T14:58:29Z","closed_at":"2017-08-17T21:42:09Z","body":"### mpv version and platform\r\n\r\n`mpv 0.25.0-7bfeb8b-amended on Ubuntu 14.04.5 LTS`\r\n\r\n### Reproduction steps\r\nmpv http://spankbang.com/94kg/video/were+did+you+find+her+vol+11\r\n### Expected behavior\r\nPlaying the video\r\n### Actual behavior\r\n```\r\n[ffmpeg] tls: A TLS fatal alert has been received.\r\n[stream] Failed to open http://spankbang.com/_94kg/IjE1MDI5ODk3NDQuMyI.p0Et41IkRxNpN0zPvKAt3HjKBOQ/title/720p__mp4.\r\n[cplayer] Opening failed or was aborted: http://spankbang.com/_94kg/IjE1MDI5ODk3NDQuMyI.p0Et41IkRxNpN0zPvKAt3HjKBOQ/title/720p__mp4\r\n```\r\n### Log file\r\n\r\n```\r\n$ $(which mpv) --no-config -v http://spankbang.com/94kg/video/were+did+you+find+her+vol+11\r\n[cplayer] Command line options: '--no-config' '-v' 'http://spankbang.com/94kg/video/were+did+you+find+her+vol+11'\r\n[cplayer] mpv 0.25.0-7bfeb8b-amended (C) 2000-2017 mpv/MPlayer/mplayer2 projects\r\n[cplayer]  built on Tue Jun 27 03:36:23 UTC 2017\r\n[cplayer] ffmpeg library versions:\r\n[cplayer]    libavutil       55.66.100\r\n[cplayer]    libavcodec      57.99.102\r\n[cplayer]    libavformat     57.75.100\r\n[cplayer]    libswscale      4.7.101\r\n[cplayer]    libavfilter     6.94.100\r\n[cplayer]    libswresample   2.8.100\r\n[cplayer] ffmpeg version: git-2017-06-25-73ea2a0\r\n[cplayer] \r\n[cplayer] Configuration: ./waf configure --enable-pdf-build --enable-dvbin --enable-dvdread --enable-dvdnav --prefix=/usr --confdir=/etc/mpv\r\n[cplayer] List of enabled features: 52deb alsa asm atomics audio-input avutil-content-light-level avutil-imgcpy-uc build-date cplayer cplugins cuda-hwaccel debug-build dlopen drm dvbin dvdnav dvdread dvdread-common encoding fchmod gl gl-x11 glibc-thread-name glob gnuc iconv is_ffmpeg jack jpeg lcms2 libass libass-osd libav libavcodec libavdevice libbluray libdl libm librt libv4l2 linux-fstatfs lua nanosleep optimize oss-audio posix posix-or-mingw posix-spawn pthreads pulse rubberband shm subprocess termios tv tv-v4l2 uchardet vaapi vaapi-glx vaapi-hwaccel vaapi-x11 vdpau vdpau-gl-x11 vdpau-hwaccel videodev vt.h x11 xv zlib\r\n[global] config path: '' -> '-'\r\n[cplayer] Setting option 'config' = 'no' (flags = 8)\r\n[cplayer] Setting option 'v' = '' (flags = 8)\r\n[osc] Loading lua script @osc.lua...\r\n[osc] loading mp.defaults\r\n[osc] loading @osc.lua\r\n[osc] lua-settings/osc.conf not found. \r\n[cplayer] Run command: define-section, flags=0, args=[showhide, mouse_move script-binding osc/__keybinding1\r\n[cplayer] mouse_leave script-binding osc/__keybinding2\r\n[cplayer] , force]\r\n[cplayer] Run command: enable-section, flags=0, args=[showhide, allow-hide-cursor+allow-vo-dragging]\r\n[cplayer] Run command: define-section, flags=0, args=[input, mouse_btn0 script-binding osc/__keybinding3\r\n[cplayer] shift+mouse_btn0 script-binding osc/__keybinding4\r\n[cplayer] mouse_btn2 script-binding osc/__keybinding5\r\n[cplayer] mouse_btn3 script-binding osc/__keybinding6\r\n[cplayer] mouse_btn4 script-binding osc/__keybinding7\r\n[cplayer] axis_up script-binding osc/__keybinding8\r\n[cplayer] axis_down script-binding osc/__keybinding9\r\n[cplayer] mouse_btn0_dbl ignore\r\n[cplayer] shift+mouse_btn0_dbl ignore\r\n[cplayer] mouse_btn2_dbl ignore\r\n[cplayer] , force]\r\n[cplayer] Run command: enable-section, flags=0, args=[input, ]\r\n[cplayer] Run command: define-section, flags=0, args=[input_osc, del script-binding osc/__keybinding10\r\n[cplayer] , default]\r\n[cplayer] Run command: enable-section, flags=0, args=[input_osc, allow-hide-cursor+allow-vo-dragging]\r\n[cplayer] Run command: define-section, flags=0, args=[input_forced_osc, , force]\r\n[cplayer] Run command: enable-section, flags=0, args=[input_forced_osc, allow-hide-cursor+allow-vo-dragging]\r\n[cplayer] Done loading @osc.lua.\r\n[ytdl_hook] Loading lua script @ytdl_hook.lua...\r\n[ytdl_hook] loading mp.defaults\r\n[cplayer] Run command: disable-section, flags=0, args=[input]\r\n[osd/libass] Shaper: FriBidi 0.19.6 (SIMPLE) HarfBuzz-ng 1.0.1 (COMPLEX)\r\n[osd/libass] Setting up fonts...\r\n[ytdl_hook] loading @ytdl_hook.lua\r\n[cplayer] Run command: hook-add, flags=0, args=[on_load, 1, 10]\r\n[cplayer] Run command: hook-add, flags=0, args=[on_preloaded, 2, 10]\r\n[cplayer] Done loading @ytdl_hook.lua.\r\n[global] config path: 'watch_later' -> '-'\r\n[global] config path: 'watch_later' -> '-'\r\n[cplayer] Playing: http://spankbang.com/94kg/video/were+did+you+find+her+vol+11\r\n[cplayer] Running hook: ytdl_hook/on_load\r\n[osd/libass] Using font provider fontconfig\r\n[osd/libass] Done.\r\n[ytdl_hook] youtube-dl succeeded! \r\n[cplayer] Set property: file-local-options/user-agent=\"Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)\" -> 1\r\n[cplayer] Set property: file-local-options/http-header-fields=[\"Cookie: country=FR; __cfduid=d2fab5e1e4f8e23d2944b07c1d9a85e761502989842\"] -> 1\r\n[cplayer] Set property: stream-open-filename=\"http://spankbang.com/_94kg/IjE1MDI5ODk3NDQuMyI.p0Et41IkRxNpN0zPvKAt3HjKBOQ/title/720p__mp4\" -> 1\r\n[cplayer] Set property: file-local-options/force-media-title=\"WERE DID YOU FIND HER? VOL #11\" -> 1\r\n[cplayer] Run command: hook-ack, flags=0, args=[on_load]\r\n[ffmpeg] Opening http://spankbang.com/_94kg/IjE1MDI5ODk3NDQuMyI.p0Et41IkRxNpN0zPvKAt3HjKBOQ/title/720p__mp4\r\n[ffmpeg] tls: A TLS fatal alert has been received.\r\n[stream] Failed to open http://spankbang.com/_94kg/IjE1MDI5ODk3NDQuMyI.p0Et41IkRxNpN0zPvKAt3HjKBOQ/title/720p__mp4.\r\n[cplayer] Opening failed or was aborted: http://spankbang.com/_94kg/IjE1MDI5ODk3NDQuMyI.p0Et41IkRxNpN0zPvKAt3HjKBOQ/title/720p__mp4\r\n[cplayer] finished playback, loading failed (reason 4)\r\n[cplayer] \r\n[cplayer] \r\n[cplayer] Exiting... (Errors when loading file)\r\n[ytdl_hook] Exiting...\r\n[osc] Exiting...\r\n$ echo $?\r\n2\r\n```\r\n### Sample files\r\n\r\nSample files needed to reproduce this issue can be uploaded to https://0x0.st/\r\nor similar sites. (Only needed if the issue cannot be reproduced without it.)"},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/323590294","html_url":"https://github.com/mpv-player/mpv/issues/4776#issuecomment-323590294","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/4776","id":323590294,"user":{"login":"sebma","id":4569306,"avatar_url":"https://avatars1.githubusercontent.com/u/4569306?v=4","gravatar_id":"","url":"https://api.github.com/users/sebma","html_url":"https://github.com/sebma","followers_url":"https://api.github.com/users/sebma/followers","following_url":"https://api.github.com/users/sebma/following{/other_user}","gists_url":"https://api.github.com/users/sebma/gists{/gist_id}","starred_url":"https://api.github.com/users/sebma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebma/subscriptions","organizations_url":"https://api.github.com/users/sebma/orgs","repos_url":"https://api.github.com/users/sebma/repos","events_url":"https://api.github.com/users/sebma/events{/privacy}","received_events_url":"https://api.github.com/users/sebma/received_events","type":"User","site_admin":false},"created_at":"2017-08-20T14:58:29Z","updated_at":"2017-08-20T14:58:29Z","body":"I re-installed `youtube-dl` with python3 : `sudo -H pip3 install -U youtube-dl` and updated mpv release to 0.26 : \r\n```\r\n$ apt-cache policy mpv\r\nmpv:\r\n  Installed: 2:0.26.0+git1~trusty1\r\n  Candidate: 2:0.26.0+git1~trusty1\r\n  Version table:\r\n *** 2:0.26.0+git1~trusty1 0\r\n        500 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu/ trusty/main amd64 Packages\r\n        100 /var/lib/dpkg/status\r\n     2:0.15.0+git7~trusty 0\r\n        500 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages\r\n```\r\nand it fixed the problem but I don't know why"}}
{"actor":{"display_login":"sebma"}}