Jellyfin Forum
tvheadend plugin: refresh of EPG data throws error - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: tvheadend plugin: refresh of EPG data throws error (/t-tvheadend-plugin-refresh-of-epg-data-throws-error)



tvheadend plugin: refresh of EPG data throws error - Norbert - 2025-05-14

Hello all,
i use jellyfin 10.10.7 with the tvheadend plugin and connect to a current tvheadand instance.

When I try to refresh the EPG data jellyfin throw this error

Code:
[2025-05-14 09:46:03.665 +00:00] [ERR] [TVHclient] HTSConnectionAsync.open: exception caught
System.Net.Sockets.SocketException (00000005, 0xFFFDFFFF): Name or service not known
  at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily, Nullable`1 startingTimestamp)
  at System.Net.Dns.GetHostEntry(String hostNameOrAddress, AddressFamily family)
  at TVHeadEnd.HTSP.HTSConnectionAsync.open(String hostname, Int32 port)

and repeats the message.

From the jellifin box I can ping the tvheadend box, both are in the same subnet.

The ports are open too:
Code:
root@media-server:~\ nmap -p 9981-9982 tvheadend.fm174.intern
Starting Nmap 7.93 ( https://nmap.org ) at 2025-05-14 11:43 UTC
Nmap scan report for tvheadend.fm174.intern (10.20.60.10)
Host is up (0.000028s latency).

PORT    STATE SERVICE
9981/tcp open  pumpkindb
9982/tcp open  unknown
MAC Address: 46:64:14:5A:3F:6B (Unknown)

Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds

On the tvheadend side the server listens:
Code:
root@tv-server:/var/log\ ss -plantu | grep 998
tcp  LISTEN 0      511                0.0.0.0:9981              0.0.0.0:*    users:(("tvheadend",pid=1154397,fd=8))
tcp  LISTEN 0      511                0.0.0.0:9982              0.0.0.0:*    users:(("tvheadend",pid=1154397,fd=9))
tcp  ESTAB  0      0              10.20.60.10:9981          10.20.5.103:15068 users:(("tvheadend",pid=1154397,fd=42))

How can I investigate here further ?

Thanks a lot !

Norbert


RE: tvheadend plugin: refresh of EPG data throws error - EPG Tech Talk - 2025-06-03

The error you're seeing in the TVHeadend plugin suggests a DNS resolution problem when Jellyfin tries to connect to the TVHeadend server. The log shows the system can't resolve the hostname you configured, throwing a "Name or service not known" error.

First, verify the hostname or IP address in your TVHeadend plugin settings matches your server's actual address. If you're using a hostname, try replacing it with the server's direct IP address to rule out DNS issues.

Next, check if the TVHeadend server is accessible from your Jellyfin host. Test connectivity using ping or telnet on the configured port (usually 9982). If the hostname works elsewhere but fails in Jellyfin, restarting both services might help.

Ensure your network configuration allows communication between these services. Misconfigured firewalls or DNS settings often cause this error. If you recently changed network settings, double-check them.

Confirm the TVHeadend server is running and accepting connections. If the issue persists, enable debug logging in Jellyfin for more details. This can pinpoint whether the problem is with the connection or EPG data itself.