IPTV Streams Failing on LibreELEC (403 Forbidden)

  • Log: https://paste.libreelec.tv/warm-stinkbug.log

    Environment

    • LibreELEC 11.0.6 (x86_64, kernel 6.1.74) running Kodi 20.3 (Nexus)
    • PVR IPTV Simple add‑on with M3U playlist authentication

    Problem
    All live TS segments return HTTP 403 Forbidden when played on this LibreELEC device, despite the same URLs working elsewhere. The m3u file is stored and accessed locally.

    Reproduction & Verification

    • On a separate machine (macOS), the raw .ts URL plays successfully in VLC.
    • On that same macOS device, Kodi (installed normally, not LibreELEC) also plays the stream without errors.

    Steps Tried

    1. Network/DNS checks
      • Confirmed Internet access and manual DNS (8.8.8.8/1.1.1.1) resolution succeed.
    2. Custom User-Agent
      • Set the add‑on’s “Custom User-Agent” to match VLC’s (e.g. VLC/3.0.17.3 LibVLC/3.0.17.3).
    3. M3U reload & client restart
      • Disabled and re‑enabled the PVR client, and rebooted LibreELEC.

    Nothing has caused LibreELEC’s iptvsimple to send the headers or credentials in the same way as VLC or standard Kodi, so the server continues to return 403. I’ve exhausted all settings I can find, but the issue persists only on this LibreELEC installation. I've reinstalled it, downgraded it from LibreElec 12.0 (the version I started using) and figure there's something wrong with my device or the installation itself. Any insights into further debugging or differences in iptvsimple’s HTTP handling on LibreELEC would be much appreciated.

    I'm completely new to LibreElec (and somewhat Kodi for that matter) but this addon works completely fine on my MacBook with no issues whatsoever. What's even weirder is that very rarely the streams do come through, but switching to another causes a failure message with no clear reason for it working for that one stream.

  • Code
    2025-07-15 14:51:22.306 T:958      info <general>: Disabled debug logging due to GUI setting. Level 0.

    You forgot to enable debug logging.

    Code
    2025-07-15 14:52:13.244 T:1020  warning <general>: OpenStream - Unsupported stream 0. Stream disabled.

    Probably a codec, which is hardware-decoded on macOS (Dolby Vision etc.). Could you provide the codec info from Kodi on macOS?

  • Apologies, I didn't realize that was a feature, I’ve now got full debug logging enabled—see the new log here:
    https://paste.libreelec.tv/delicate-cow.log

    I couldn’t keep debug logging on through boot because the file rapidly exceeded 1 MB - every few milliseconds it logged this identical playlist message:

    Code
    2025-07-15 18:06:25.198 T:972     debug <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - M3U line read: '#EXTINF:-1 tvg-id="(no tvg-id)" tvg-name="BTN+ 16 HD (D)" tvg-logo="http://icon-tmdb.me/stalker_portal/misc/logos/320/13725.jpg?ver=63614" group-title="US| B1G+ PPV",BTN+ 16 HD (D)'
    2025-07-15 18:06:25.198 T:972     debug <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - AddChannelGroup - Did not add group: US| B1G+ PPV, as it already exists with uniqueId: 55
    2025-07-15 18:06:25.198 T:972     debug <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - M3U line read: 'http://ec61be7e15:[email protected]:80/live/ec61be7e15/9ac07859fa/615484.ts'

    Because of that, I only turned on debug logging after boot - so the log stops growing uncontrollably once the playlist load finished. A smaller snippet captured via SSH is here:

    hastebin

    Here are the codec details from my macOS Kodi install (where everything plays perfectly):

    Code
    Video decoder:   ff‑h264‑vtb (HW)
    Pixel format:    videotoolbox_vld
    Video stream:    1920×1088p, 29.970 FPS, 1.78 AR
    Audio stream:    ff‑aac, 2 channels, 48 kHz
  • Code
    info <general>: AddOnLog: pvr.iptvsimple: pvr.iptvsimple - LoadPlayList - Loaded 10000 channels.

    We have no interest in your pirate IPTV service working.