Bug #6304
IP stream suddenly getting "httpc: 0002: Unable to connect to drlive03hls.akamaized.net:443 - Try again"
0%
Description
I'm not sure this bug is related to a specific change in tvheadend, as I have tried to roll back and I still see the issue. So this issue is probably to some change on the stream provider side of things.
Anyhow my setup has worked perfectly fine for year, but suddenly this morning I get the "httpc: 0002: Unable to connect to drlive03hls.akamaized.net:443 - Try again" in logs, even though the stream still works fine. How can I get more information on what http request tvheadend is trying and that yields the 443?
the url for the selected channel here is:
https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master.m3u8
I believe it is geo-blocked to Denmark, but it works fine, also as http. But for some reason tvheadend now yields this: "httpc: 0002: Unable to connect to drlive03hls.akamaized.net:443 - Try again"
Any idea of what is going wrong?
History
Updated by Rasmus Lundsgaard over 1 year ago
saen acro wrote:
What say ffprobe about link?
guess
[...]
$ ffprobe https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master.m3u8
ffprobe version 5.1.3-1 Copyright (c) 2007-2022 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
configuration: --prefix=/usr --extra-version=1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
[hls @ 0x55e65d779700] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55e65d779700] Skip ('#EXT-X-INDEPENDENT-SEGMENTS')
[hls @ 0x55e65d779700] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master5500.m3u8' for reading
[hls @ 0x55e65d779700] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55e65d779700] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-09-07T20:27:42.640Z')
[https @ 0x55e65da97440] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master3200.m3u8' for reading
[hls @ 0x55e65d779700] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55e65d779700] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-09-07T20:27:42.640Z')
[https @ 0x55e65da97440] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master2000.m3u8' for reading
[hls @ 0x55e65d779700] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55e65d779700] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-09-07T20:27:42.640Z')
[https @ 0x55e65da97440] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master1100.m3u8' for reading
[hls @ 0x55e65d779700] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55e65d779700] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-09-07T20:27:38.640Z')
[https @ 0x55e65da97440] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master500.m3u8' for reading
[hls @ 0x55e65d779700] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55e65d779700] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-09-07T20:27:42.640Z')
[hls @ 0x55e65d779700] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master5500-124_60548.ts' for reading
[hls @ 0x55e65d779700] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master5500-124_60549.ts' for reading
[hls @ 0x55e65d779700] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master3200-124_60548.ts' for reading
[hls @ 0x55e65d779700] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master3200-124_60549.ts' for reading
[hls @ 0x55e65d779700] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master2000-124_60548.ts' for reading
[hls @ 0x55e65d779700] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master2000-124_60549.ts' for reading
[hls @ 0x55e65d779700] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master1100-124_60548.ts' for reading
[hls @ 0x55e65d779700] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master1100-124_60549.ts' for reading
[hls @ 0x55e65d779700] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master500-124_60548.ts' for reading
[hls @ 0x55e65d779700] Opening 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master500-124_60549.ts' for reading
Input #0, hls, from 'https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master.m3u8':
Duration: N/A, start: 51302.604622, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 6210600
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn
Metadata:
variant_bitrate : 6210600
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
Metadata:
variant_bitrate : 6210600
Program 1
Metadata:
variant_bitrate : 3731200
Stream #0:2: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn
Metadata:
variant_bitrate : 3731200
Stream #0:3: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
Metadata:
variant_bitrate : 3731200
Program 2
Metadata:
variant_bitrate : 2296800
Stream #0:4: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1024x576 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn
Metadata:
variant_bitrate : 2296800
Stream #0:5: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
Metadata:
variant_bitrate : 2296800
Program 3
Metadata:
variant_bitrate : 1326600
Stream #0:6: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 768x432 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn
Metadata:
variant_bitrate : 1326600
Stream #0:7: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
Metadata:
variant_bitrate : 1326600
Program 4
Metadata:
variant_bitrate : 679800
Stream #0:8: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn
Metadata:
variant_bitrate : 679800
Stream #0:9: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
Metadata:
variant_bitrate : 679800
Updated by Rasmus Lundsgaard over 1 year ago
GOT IT!
The DNS server was pointing to my pi-hole (which should work fine), which for some reason did not work inside the docker. Mounted a /etc/resolv.conf file in with "nameserver 8.8.8.8", and now it works....
Weird stuff, but a DNS problem from within a docker. I will close this then
Updated by Rasmus Lundsgaard over 1 year ago
From within the docker ffprobe ended with:
[tcp @ 0x7f963d006f00] Failed to resolve hostname drlive03hls.akamaized.net: Try again
https://drlive03hls.akamaized.net/hls/live/2014190/drlive03/master.m3u8: I/O error