Bug #1740
closedUnable to add code word client connection using hostname instead of IP address
0%
Description
I'm using Tvheadend 3.4 with the latest Oscam for getting decryption keys. Everything is fine but I'm not able to use a hostname instead of an IP address when configuring the newcamd client in Tvheadend. Here's a log snippet from after I've changed the client address to the corresponding hostname, along with a few nslookups to prove that the domain really exists:
May 20 01:13:38.431 [ INFO]:cwc: gorbachov.negge.fi:15000: Decoderloop: Read error (header): Software caused connection abort
May 20 01:13:38.432 [ INFO]:cwc: Disconnected from gorbachov.negge.fi:15000
May 20 01:13:38.432 [ INFO]:cwc: gorbachov.negge.fi:15000: Automatic connection attempt in in 3 seconds
May 20 01:13:41.000 [ INFO]:cwc: Attemping to connect to gorbachov.negge.fi:15000
May 20 01:13:41.016 [ INFO]:cwc: Connection attempt to gorbachov.negge.fi:15000 failed: The specified host is unknown
May 20 01:13:41.016 [ INFO]:cwc: Attemping to connect to gorbachov.negge.fi:15000
May 20 01:13:41.016 [ INFO]:cwc: Connection attempt to gorbachov.negge.fi:15000 failed: The specified host is unknown
May 20 01:13:41.016 [ INFO]:cwc: gorbachov.negge.fi:15000: Automatic connection attempt in in 3 seconds
May 20 01:13:44.000 [ INFO]:cwc: Attemping to connect to gorbachov.negge.fi:15000
May 20 01:13:44.000 [ INFO]:cwc: Connection attempt to gorbachov.negge.fi:15000 failed: The specified host is unknown
May 20 01:13:44.000 [ INFO]:cwc: gorbachov.negge.fi:15000: Automatic connection attempt in in 3 seconds
May 20 01:13:46.000 [ INFO]:cwc: Attemping to connect to gorbachov.negge.fi:15000
May 20 01:13:46.000 [ INFO]:cwc: Connection attempt to gorbachov.negge.fi:15000 failed: The specified host is unknown
May 20 01:13:46.000 [ INFO]:cwc: gorbachov.negge.fi:15000: Automatic connection attempt in in 3 seconds
May 20 01:13:48.000 [ INFO]:cwc: Attemping to connect to gorbachov.negge.fi:15000
May 20 01:13:48.000 [ INFO]:cwc: Connection attempt to gorbachov.negge.fi:15000 failed: The specified host is unknown
May 20 01:13:48.000 [ INFO]:cwc: gorbachov.negge.fi:15000: Automatic connection attempt in in 3 seconds
May 20 01:13:50.000 [ INFO]:cwc: Attemping to connect to gorbachov.negge.fi:15000
May 20 01:13:50.000 [ INFO]:cwc: Connection attempt to gorbachov.negge.fi:15000 failed: The specified host is unknown
May 20 01:13:50.000 [ INFO]:cwc: gorbachov.negge.fi:15000: Automatic connection attempt in in 3 seconds
May 20 01:13:52.000 [ INFO]:cwc: Attemping to connect to gorbachov.negge.fi:15000
May 20 01:13:52.000 [ INFO]:cwc: Connection attempt to gorbachov.negge.fi:15000 failed: The specified host is unknown
May 20 01:13:52.000 [ INFO]:cwc: gorbachov.negge.fi:15000: Automatic connection attempt in in 3 seconds
May 20 01:13:54.000 [ INFO]:cwc: Attemping to connect to gorbachov.negge.fi:15000
May 20 01:13:54.000 [ INFO]:cwc: Connection attempt to gorbachov.negge.fi:15000 failed: The specified host is unknown
May 20 01:13:54.000 [ INFO]:cwc: gorbachov.negge.fi:15000: Automatic connection attempt in in 3 seconds
May 20 01:13:56.000 [ INFO]:cwc: Attemping to connect to gorbachov.negge.fi:15000
May 20 01:13:56.000 [ INFO]:cwc: Connection attempt to gorbachov.negge.fi:15000 failed: The specified host is unknown
May 20 01:13:56.000 [ INFO]:cwc: gorbachov.negge.fi:15000: Automatic connection attempt in in 3 seconds
May 20 01:13:57.118 [ INFO]:cwc: Attemping to connect to gorbachov:15000
May 20 01:13:57.118 [ INFO]:cwc: Connection attempt to gorbachov:15000 failed: The specified host is unknown
May 20 01:13:57.118 [ INFO]:cwc: gorbachov:15000: Automatic connection attempt in in 3 seconds
May 20 01:14:00.000 [ INFO]:cwc: Attemping to connect to gorbachov:15000
May 20 01:14:00.000 [ INFO]:cwc: Connection attempt to gorbachov:15000 failed: The specified host is unknown
May 20 01:14:00.000 [ INFO]:cwc: gorbachov:15000: Automatic connection attempt in in 3 seconds
May 20 01:14:02.000 [ INFO]:cwc: Attemping to connect to gorbachov:15000
May 20 01:14:02.000 [ INFO]:cwc: Connection attempt to gorbachov:15000 failed: The specified host is unknown
May 20 01:14:02.000 [ INFO]:cwc: gorbachov:15000: Automatic connection attempt in in 3 seconds
May 20 01:14:04.000 [ INFO]:cwc: Attemping to connect to gorbachov:15000
May 20 01:14:04.000 [ INFO]:cwc: Connection attempt to gorbachov:15000 failed: The specified host is unknown
May 20 01:14:04.000 [ INFO]:cwc: gorbachov:15000: Automatic connection attempt in in 3 seconds
May 20 01:14:06.000 [ INFO]:cwc: Attemping to connect to gorbachov:15000
May 20 01:14:06.000 [ INFO]:cwc: Connection attempt to gorbachov:15000 failed: The specified host is unknown
May 20 01:14:06.000 [ INFO]:cwc: gorbachov:15000: Automatic connection attempt in in 3 seconds
May 20 01:14:07.270 [ INFO]:cwc: Attemping to connect to 10.110.1.1:15000
May 20 01:14:07.270 [ INFO]:cwc: Connected to 10.110.1.1:15000
May 20 01:14:07.274 [ INFO]:cwc: 10.110.1.1:15000: Connected as user 0x0b to a Conax-card [0x0b00 : 00.00.00.00.00.00.00.00] with 1 providers
May 20 01:14:07.274 [ INFO]:cwc: 10.110.1.1:15000: conax card
May 20 01:14:07.275 [ INFO]:cwc: 10.110.1.1:15000: Provider ID #1: 0x000000 00.00.00.00.00.00.00.00
^CMay 20 01:14:21.332 [ INFO]:epgdb: saved
May 20 01:14:21.332 [ INFO]:epgdb: brands 0
May 20 01:14:21.332 [ INFO]:epgdb: seasons 0
May 20 01:14:21.332 [ INFO]:epgdb: episodes 10286
May 20 01:14:21.332 [ INFO]:epgdb: broadcasts 10286
May 20 01:14:21.334 [ NOTICE]:STOP: Exiting HTS Tvheadend
sam@gorbachov:~$ nslookup gorbachov.negge.fi
Server: 10.110.5.1
Address: 10.110.5.1#53
Non-authoritative answer:
Name: gorbachov.negge.fi
Address: 10.110.1.1
sam@gorbachov:~$ nslookup gorbachov
Server: 10.110.5.1
Address: 10.110.5.1#53
Non-authoritative answer:
Name: gorbachov.negge.fi
Address: 10.110.1.1
sam@gorbachov:~$
I'm not sure if this issue is due to me having a dual-stack network. Oscam seems to support IPv6 (at least the web interface is accessible over it) and I use the -6 switch when starting Tvheadend.