Bug #3964
Error - scan no data, failed
100%
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
History
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).
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.
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
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
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?
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
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.tsShould 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.
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?
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.
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?
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?
Updated by C K about 8 years ago
- File tvhiptv.png tvhiptv.png added
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:
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
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
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 ?
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 :-)
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
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 ?
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.
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
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.
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.
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).