[Issue]: Ersatztv m3u / xmltv authentication issue #4792

Closed
opened 2026-02-07 01:09:43 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @tuxx on GitHub (Apr 15, 2023).

Please describe your bug

When i try to add livetv to jellyfin (ersatztv) i get the following error in the jellyfin log:

Dashboard -> Live TV -> M3U Tuner -> URL: http://local.ip:8409/channels.m3u
(Also tried other useragents to no avail).

jellyfin    | [01:32:05] [INF] [74] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was forbidden.

I found a reddit post that suggested clearing the JELLYFIN_CONFIG/cache/*_channels folders.. but these did not exist.

https://www.reddit.com/r/jellyfin/comments/vqsfi1/comment/iev9qtn/

The ersatztv m3u and xmltv urls don't use any authentication, so i'm guessing this is a jellyfin bug? If more info needs to be supplied please let me know.

Jellyfin Version

Other

if other:

10.8.9

Environment

- OS: Ubuntu 20.04.6 LTS
- Virtualization: Docker
- Clients: Browser
- Browser: Chromium
- FFmpeg Version: 5.1.2-Jellyfin
- Playback Method: None
- Hardware Acceleration: nvenc
- Plugins: none
- Reverse Proxy: Caddy
- Base URL: none
- Networking: Host
- Storage: local

Jellyfin logs

No response

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @tuxx on GitHub (Apr 15, 2023). ### Please describe your bug When i try to add livetv to jellyfin (ersatztv) i get the following error in the jellyfin log: Dashboard -> Live TV -> M3U Tuner -> URL: http://local.ip:8409/channels.m3u (Also tried other useragents to no avail). ``` jellyfin | [01:32:05] [INF] [74] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was forbidden. ``` I found a reddit post that suggested clearing the JELLYFIN_CONFIG/cache/*_channels folders.. but these did not exist. https://www.reddit.com/r/jellyfin/comments/vqsfi1/comment/iev9qtn/ The ersatztv m3u and xmltv urls don't use any authentication, so i'm guessing this is a jellyfin bug? If more info needs to be supplied please let me know. ### Jellyfin Version Other ### if other: 10.8.9 ### Environment ```markdown - OS: Ubuntu 20.04.6 LTS - Virtualization: Docker - Clients: Browser - Browser: Chromium - FFmpeg Version: 5.1.2-Jellyfin - Playback Method: None - Hardware Acceleration: nvenc - Plugins: none - Reverse Proxy: Caddy - Base URL: none - Networking: Host - Storage: local ``` ### Jellyfin logs _No response_ ### FFmpeg logs _No response_ ### Please attach any browser or client logs here _No response_ ### Please attach any screenshots here _No response_ ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bugstale labels 2026-02-07 01:09:43 +03:00
Author
Owner

@Traace commented on GitHub (Apr 22, 2023):

I have the same issue with Jellyfin Version 10.8.9. Both M3U and HD Homerun Tuners are affected. Any Provider is affected.

Seems like this issue only occurs if an older jellyfin versions gets upgraded to 10.8.9. Because I ran a test with a freshy installed 10.8.9 and it works there.

With 10.8.9 there was a change regarding livetv auth. Maybe a regression? https://github.com/jellyfin/jellyfin/pull/9130

Edit: Downgraded 10.8.9 to 10.8.8. Adding LiveTV works fine again & Log is looking good 👍

@Traace commented on GitHub (Apr 22, 2023): I have the same issue with Jellyfin Version 10.8.9. Both M3U and HD Homerun Tuners are affected. Any Provider is affected. Seems like this issue only occurs if an older jellyfin versions gets upgraded to 10.8.9. Because I ran a test with a freshy installed 10.8.9 and it works there. With 10.8.9 there was a change regarding livetv auth. Maybe a regression? https://github.com/jellyfin/jellyfin/pull/9130 Edit: Downgraded 10.8.9 to 10.8.8. Adding LiveTV works fine again & Log is looking good 👍
Author
Owner

@tuxx commented on GitHub (Apr 23, 2023):

Yep seems like the downgrade works for me too.

@tuxx commented on GitHub (Apr 23, 2023): Yep seems like the downgrade works for me too.
Author
Owner

@SuperMario4889 commented on GitHub (Jul 2, 2023):

I have the same problem.

@SuperMario4889 commented on GitHub (Jul 2, 2023): I have the same problem.
Author
Owner

@ramboozer commented on GitHub (Jul 25, 2023):

Same problem as well. I was able to add one then couldn't add a second. I tried removing the first one I add...and I keep getting the same message in error using version 10.8.10

Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was forbidden.

@ramboozer commented on GitHub (Jul 25, 2023): Same problem as well. I was able to add one then couldn't add a second. I tried removing the first one I add...and I keep getting the same message in error using version 10.8.10 Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was forbidden.
Author
Owner

@ziogref commented on GitHub (Nov 1, 2023):

Was unable to add M3U Live TV on Jellyfin 10.8.11
Downgraded to 10.8.8 and it just worked

@ziogref commented on GitHub (Nov 1, 2023): Was unable to add M3U Live TV on Jellyfin 10.8.11 Downgraded to 10.8.8 and it just worked
Author
Owner

@jellyfin-bot commented on GitHub (Feb 29, 2024):

This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.

If you have any questions you can use one of several ways to contact us.

@jellyfin-bot commented on GitHub (Feb 29, 2024): This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs. If you have any questions you can use one of several ways to [contact us](https://jellyfin.org/contact).
Author
Owner

@jellyfin-bot commented on GitHub (Mar 21, 2024):

This issue was closed due to inactivity.

@jellyfin-bot commented on GitHub (Mar 21, 2024): This issue was closed due to inactivity.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#4792