Project

General

Profile

Bug #3964

Error - scan no data, failed

Added by Va Al about 8 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
IPTV
Target version:
-
Start date:
2016-09-05
Due date:
% Done:

100%

Estimated time:
Found in version:
4.2
Affected Versions:

Description

Hi,
I'm usig Tvheadend 4.2 on libreelec.

I have two IPTV listes (m3u) and I've used the "Automatic IPTV Network" to correcty generate muxes.

With one of the two listes I recevice the error message

Debug logs of one channel who has problems:
2016-09-05 16:39:12.553 [ DEBUG]:mpegts: xxx - adding mux get.php - Channel name in xxx to scan queue weight 6 flags 4000
2016-09-05 16:39:12.560 [ DEBUG]:mpegts: get.php - Channel name in xxx - add raw service
2016-09-05 16:39:12.560 [ INFO]:mpegts: get.php - Channel name in xxx - tuning on IPTV
2016-09-05 16:39:12.570 [ DEBUG]:mpegts: get.php - Channel name in xxx - started
2016-09-05 16:39:12.571 [ DEBUG]:mpegts: get.php - Channel name in xxx - open PID tables subscription [0042/0xa9e5c998]
2016-09-05 16:39:12.574 [ INFO]:subscription: 1609: "scan" subscribing to mux "get.php - Channel name", weight: 6, adapter: "IPTV", network: "xxx", service: "Raw PID Subscription"
2016-09-05 16:39:27.560 [ INFO]:mpegts: get.php - Channel name in xxx - scan no data, failed
2016-09-05 16:39:27.560 [ INFO]:subscription: 1609: "scan" unsubscribing
2016-09-05 16:39:27.560 [ DEBUG]:mpegts: get.php - Channel name in xxx - close PID tables subscription [0042/0xa9e5c998]
2016-09-05 16:39:27.560 [ DEBUG]:mpegts: get.php - Channel name in xxx - stopping mux
2016-09-05 16:39:27.560 [ DEBUG]:mpegts: xxx - removing mux get.php - Channel name in xxx from scan queue

Thanks for the support


Files

tvhiptv.png (69.8 KB) tvhiptv.png C K, 2016-09-13 14:35
muxes.png (101 KB) muxes.png My muxes Va Al, 2016-09-13 18:55

History

#1

Updated by C K about 8 years ago

Va Al wrote:

2016-09-05 16:39:27.560 [ DEBUG]:mpegts: xxx - removing mux get.php - Channel name in xxx from scan queue

Looks like a paid IPTV service. Does the same channel work in VLC? Could you paste the full stream url here (anonymized).

#2

Updated by F T about 8 years ago

Exactly the same issue over here last weekend (since last Friday). The problem was a missing route. It had nothing to do with TVHeadend. Works like a charm again.

#3

Updated by Va Al about 8 years ago

C K wrote:

Va Al wrote:

2016-09-05 16:39:27.560 [ DEBUG]:mpegts: xxx - removing mux get.php - Channel name in xxx from scan queue

Looks like a paid IPTV service. Does the same channel work in VLC? Could you paste the full stream url here (anonymized).

Yes it is I could send it to you in a private message (the url contains user & pwd, is not the case to post it here).

Thanks

#4

Updated by C K about 8 years ago

Just x-out the username/password

#5

Updated by Va Al about 8 years ago

C K wrote:

Just x-out the username/password

#EXTINF:-1,RAI 3 HD
http://work.myvisio.me:9889/live/xxxxxxx/yyyyyyy/317.ts

#6

Updated by C K about 8 years ago

Va Al wrote:

C K wrote:

Just x-out the username/password

#EXTINF:-1,RAI 3 HD
http://work.myvisio.me:9889/live/xxxxxxx/yyyyyyy/317.ts

Should be a TS-packed stream. Did you checked the stream with VLC?

#7

Updated by saen acro about 8 years ago

Is this a link from m3u8 playlist?

#8

Updated by Va Al about 8 years ago

saen acro wrote:

Is this a link from m3u8 playlist?

Is a link from a m3 list like:
http://website.com:1234/get.php?username=xxxxxx&password=yyyyy&type=m3u&output=mpegts

#9

Updated by Va Al about 8 years ago

C K wrote:

Va Al wrote:

C K wrote:

Just x-out the username/password

#EXTINF:-1,RAI 3 HD
http://work.myvisio.me:9889/live/xxxxxxx/yyyyyyy/317.ts

Should be a TS-packed stream. Did you checked the stream with VLC?

If I open the stream from VLC on my PC it works perfectly.

#10

Updated by Va Al about 8 years ago

If I open the stream from VLC on my PC it works perfectly. If I download the stream from TVHeadend (MUX) doesn't.
The m3u file is like http://website.com:1234/get.php?username=xxxxxx&password=yyyyy&type=m3u&output=mpegts.
It doesn't seems to be a routing issue.

Anyone could help me try out something else?

#11

Updated by Va Al about 8 years ago

Here a detail of the TCP Stream from TCP Dump:

GET /live/xxxxxxxx/yyyyyyyyy/2565.ts HTTP/1.1
Host: tv.domain.com:9889
User-Agent: TVHeadend/4.1.2190
Connection: close

HTTP/1.1 404 Not Found
Server: nginx
Date: Mon, 12 Sep 2016 16:57:56 GMT
Content-Type: text/html; charset=UTF-8
Connection: close

HTTP/1.1 404 Not Found
Server: nginx
Date: Mon, 12 Sep 2016 16:57:56 GMT
Content-Type: text/html; charset=UTF-8
Connection: close

P.S.: The URL is correct. If a run a wget of the file from the same machine I obtain a 200.

#12

Updated by C K about 8 years ago

Could you try to limit the amount of connections to one. Many IPTV allows only one connection at a time and ~300 channel switches per day. Does anyone stream work with TVH?

#13

Updated by Va Al about 8 years ago

C K wrote:

Could you try to limit the amount of connections to one. Many IPTV allows only one connection at a time and ~300 channel switches per day. Does anyone stream work with TVH?

I've placed a limit to 1 in "Maximum # input streams" but the final result is the same. Should I place a limit in other confs?

#14

Updated by C K about 8 years ago

No, "Maximum # input streams" = 1 should be enough.

Does any stream work with TVH? Could ou post a screenshot of your Mux tab? It should look like this:

#15

Updated by Va Al about 8 years ago

Those are my Muxes correctly created from m3u list (Automatic Network creation).

And this is the output of the logs during the scan (every channel the same):
2016-09-13 18:57:47.893 mpegts: get.php - Channel 1 HD in MyList - tuning on IPTV
2016-09-13 18:57:47.906 opentv: get.php - Channel 1 HD in MyList: registering mux opentv-skyuk
2016-09-13 18:57:47.974 subscription: 0029: "scan" subscribing to mux "get.php - Channel 1 HD", weight: 6, adapter: "IPTV", network: "MyList", service: "Raw PID Subscription"
2016-09-13 18:58:02.929 mpegts: get.php - Channel 1 HD in MyList - scan no data, failed
2016-09-13 18:58:02.929 subscription: 0029: "scan" unsubscribing
2016-09-13 18:58:02.929 mpegts: get.php - Channel 2 in MyList - tuning on IPTV
2016-09-13 18:58:02.933 opentv: get.php - Channel 2 in MyList: registering mux opentv-skyuk
2016-09-13 18:58:02.988 subscription: 002B: "scan" subscribing to mux "get.php - Channel 2", weight: 6, adapter: "IPTV", network: "MyList", service: "Raw PID Subscription"
2016-09-13 18:58:17.939 mpegts: get.php - Channel 2 in MyList - scan no data, failed
2016-09-13 18:58:17.939 subscription: 002B: "scan" unsubscribing
2016-09-13 18:58:17.939 mpegts: get.php - Channel in MyList - tuning on IPTV
2016-09-13 18:58:17.963 opentv: get.php - Channel in MyList: registering mux opentv-skyuk
2016-09-13 18:58:18.065 subscription: 002D: "scan" subscribing to mux "get.php - Channel", weight: 6, adapter: "IPTV", network: "MyList", service: "Raw PID Subscription"
2016-09-13 18:58:33.069 mpegts: get.php - Channel in MyList - scan no data, failed
2016-09-13 18:58:33.069 subscription: 002D: "scan" unsubscribing

#16

Updated by Va Al about 8 years ago

I obtained a free month of a separate m3u (identical of the one that give me problem). So that the problem can be reproduced to another tvheadend environment.
May I send it to someone for further investigation (via private message)?

Thanks
Vasco

#17

Updated by Matthias Günther almost 8 years ago

Hi,
i have the same Problem, now i have an test Account for an Month, could someone investigate to this ?

#18

Updated by Matthias Günther almost 8 years ago

Hi,
i have the same Problem, now i have an test Account for an Month, could someone investigate to this ?

I can send the account (m3u) with PN :-)

#19

Updated by Jaroslav Kysela almost 8 years ago

Does wget or curl work for the url in the m3u list? Could you compare the HTTP communication? (wireshark / tcpdump)

You may override the user agent using --useragent command line parameter or through custom HTTP headers field in the mux settings like:

User-Agent: WGET/1.0
#20

Updated by Matthias Günther almost 8 years ago

Hi,
Could you explain what i have to do?
Iam an It-mechanican but kodi newbie :-(
So what must i do with curl or wget an m3u?

What do you need excatly from wireshark ?
I think if i record the traffic will be a little bit much or ?

#21

Updated by nic g over 7 years ago

Any update on this? Running into the same issue

#22

Updated by Jack Lion over 7 years ago

I have the same issue too..any update?
Thanks.

#23

Updated by Jaroslav Kysela over 7 years ago

Use wireshark, grab the TCP communication for your host (part of URL) and do 'Analyze / Follow TCP stream'. Try to compare what wget or vlc does and tvh does not.

#24

Updated by Cleiton Oppenheimer over 6 years ago

Any news on this? I'm running on this same problem. The list works fine on VLC, but on TVH, muxes are not generating services...

Thx

#25

Updated by Jaroslav Kysela over 6 years ago

Nobody analyzed the issue. If you have a working (no area restricted) URL, you may sent it through PM on IRC #hts (My nick is perexg). I'll give a look.

#26

Updated by Jaroslav Kysela over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|ef96199c0cf82484981b4375f89969a65ed6f873.

#27

Updated by Jaroslav Kysela over 6 years ago

I added the 'http user agent' settings to webui for 4.3 (similar to --useragent command line argument). No plans for 4.2 merge (I'd like to untouch the webui).

Also available in: Atom PDF