Project

General

Profile

Bug #1740

Unable to add code word client connection using hostname instead of IP address

Added by Sam Stenvall about 8 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Descrambling
Target version:
-
Start date:
2013-05-20
Due date:
% Done:

0%

Estimated time:
Found in version:
3.4
Affected Versions:

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
[email protected]:~$ 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

[email protected]:~$ 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

[email protected]:~$

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.

History

#1

Updated by Sam Stenvall about 8 years ago

Just to clarify, the logs shows me changing the client to "gorbachov.negge.fi", then to "gorbachov", then back to 10.110.1.1 (the IP it should resolve to) which is the only option that works.

#2

Updated by Adam Sutton over 7 years ago

  • Status changed from New to Rejected

I've been using hostnames in CWC configuration since I started using it (about a year ago). I can only assume this is a configuration fault on the machine, local DNS issue?

Adam

#3

Updated by Sam Stenvall over 7 years ago

Adam Sutton wrote:

I've been using hostnames in CWC configuration since I started using it (about a year ago). I can only assume this is a configuration fault on the machine, local DNS issue?

Adam

I don't think I ever figured out the issue, it just started working quite soon after I posted this. I've now set up CWC clients on four different machines (in four different network environments) without a hitch so there's definitely not an issue with the code.

Also available in: Atom PDF