• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Trouble with TVHeadEnd plugin

     
    • 0 Vote(s) - 0 Average

    Trouble with TVHeadEnd plugin

    Jellyfin's TVHeadEnd plugin not connecting right
    whimbrel
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2025 Jan
    Reputation: 0
    #1
    2025-01-26, 12:03 AM (This post was last modified: 2025-01-26, 12:07 AM by whimbrel.)
    Hi everyone -

    I have an existing Jellyfin installation in a docker container on my NAS, which has been up for about a month and is working great.

    I just got a TV antenna connected to an HDHomeRun device, and set up TVHeadEnd in another docker image on the same NAS device. This setup seems to be working just fine - I have the TVHeadEnd plugin in Kodi and I can watch live TV and set recordings.

    Now I'm trying to get the Jellyfin plugin for TVHeadEnd working, and am running into problems I have followed this guide to set the jellyfin user in TVHeadEnd, triple checked that I used all the right settings. I have the TVHeadEnd plugin enabled in Jellyfin, with the server set to 127.0.0.1, and the right login info. But it doesn't work. It looks like Jellyfin is repeatedly failing to log into TVHeadEnd, the Jellyfin interface shows a spinning wheel every few seconds but the Live TV panel shows 0 shows/0 channels.

    The Jellyfin logs show these same two errors recurring every few seconds:

    Code:
    2025-01-25 15:58:24.826 -08:00] [ERR] [21] TVHeadEnd.HTSP.HTSConnectionAsync: [TVHclient] HTSConnectionAsync.open: exception caught
    System.Net.Sockets.SocketException (111): Connection refused [::1]:9982
      at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
      at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
      at TVHeadEnd.HTSP.HTSConnectionAsync.open(String hostname, Int32 port)
    [2025-01-25 15:58:25.086 -08:00] [ERR] [53] TVHeadEnd.HTSP.HTSConnectionAsync: [TVHclient] HTSConnectionAsync.open: exception caught
    System.Net.Sockets.SocketException (111): Connection refused [::1]:9982
      at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
      at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
      at TVHeadEnd.HTSP.HTSConnectionAsync.open(String hostname, Int32 port)

    So it can't connect to the HTSC service. I've double checked that my TVHeadEnd instance is using the default port (9982), and I know it's working because the TVH admin panel shows Kodi connected to HTSC. So, what's going on here?

    Jellyfin version: 10.10.3
    TVHeadEnd version: 4.3-2375~g653bd0400
    TVHeadEnd plugin version: 12.0.0.0

    One further test: to make sure the two docker containers can talk to each other, I logged into the jellyfin container and pinged the TVHeadEnd HSTC port by running curl 127.0.0.1:9982.

    When I do so, I see it pop up in the TVHeadEnd log:


    2025-01-25 16:03:23.123 htsp: Got connection from 127.0.0.1
    2025-01-25 16:03:23.123 htsp: 127.0.0.1: Disconnected


    So I'm convinced it's not just a networking problem. What's strange is that I am NOT seeing anything in the TVHeadEnd log when Jellyfin itself tries to connect. The pair of errors in my original post appear in the Jellyfin log about once a second, but I don't see anything appearing in the TVHeadEnd log.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Trouble with TVHeadEnd plugin - by whimbrel - 2025-01-26, 12:03 AM
    RE: Trouble with TVHeadEnd plugin - by TheDreadPirate - 2025-01-26, 05:56 PM
    RE: Trouble with TVHeadEnd plugin - by whimbrel - 2025-01-26, 08:52 PM
    RE: Trouble with TVHeadEnd plugin - by whimbrel - 2025-01-26, 09:21 PM
    RE: Trouble with TVHeadEnd plugin - by TheDreadPirate - 2025-01-27, 01:57 AM
    RE: Trouble with TVHeadEnd plugin - by whimbrel - 2025-01-27, 04:08 AM
    RE: Trouble with TVHeadEnd plugin - by whimbrel - 2025-01-27, 04:17 AM
    RE: Trouble with TVHeadEnd plugin - by gnattu - 2025-01-27, 04:34 AM
    RE: Trouble with TVHeadEnd plugin - by whimbrel - 2025-01-27, 05:11 AM
    RE: Trouble with TVHeadEnd plugin - by TheDreadPirate - 2025-01-27, 01:35 PM
    RE: Trouble with TVHeadEnd plugin - by goerdi - 2025-01-27, 02:35 PM
    RE: Trouble with TVHeadEnd plugin - by whimbrel - 2025-01-27, 05:46 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode