Bug #3256
Sat>IP server no longer working in master
100%
Description
015-11-03 06:07:42.004 [ NOTICE] START: HTS Tvheadend version 4.1.9~087627a started, running as PID:16045 UID:0 GID:39, CWD:/ CNF:/storage/.kodi/userdata/addon_data/service.multimedia.tvheadend
2015-11-03 06:07:42.037 [ INFO] htsp: Got connection from 192.168.1.4
2015-11-03 06:07:42.037 [ INFO] htsp: 192.168.1.4: Welcomed client software: Kodi Media Center (HTSPv18)
2015-11-03 06:07:42.039 [ INFO] htsp: Got connection from 192.168.1.7
2015-11-03 06:07:42.040 [ INFO] htsp: 192.168.1.7: Welcomed client software: Kodi Media Center (HTSPv18)
2015-11-03 06:07:42.041 [ INFO] htsp: 192.168.1.7 [ Kodi Media Center ]: Identified as user ''
2015-11-03 06:07:42.041 [ INFO] htsp: 192.168.1.4 [ Kodi Media Center ]: Identified as user ''
2015-11-03 06:07:43.086 [ INFO] htsp: Got connection from 127.0.0.1
2015-11-03 06:07:44.553 [ ERROR] http: 192.168.1.2: HTTP/1.1 POST /api/mpegts/input/network_list -- 400
2015-11-03 06:07:44.805 [ INFO] htsp: 127.0.0.1: Welcomed client software: Kodi Media Center (HTSPv18)
2015-11-03 06:07:44.805 [ INFO] htsp: 127.0.0.1 [ Kodi Media Center ]: Disconnected
2015-11-03 06:07:48.088 [ INFO] htsp: Got connection from 127.0.0.1
2015-11-03 06:07:48.092 [ INFO] htsp: 127.0.0.1: Welcomed client software: Kodi Media Center (HTSPv18)
2015-11-03 06:07:48.099 [ INFO] htsp: 127.0.0.1 [ Kodi Media Center ]: Identified as user ''
2015-11-03 06:08:46.009 [ INFO] mpegts: 834MHz in Go - tuning on SAT>IP DVB-T Tuner #1 (192.168.1.4)
2015-11-03 06:08:46.018 [ INFO] subscription: 0009: "epggrab" subscribing to mux "834MHz", weight: 4, adapter: "SAT>IP DVB-T Tuner #1 (192.168.1.4)", network: "Go", service: "Raw PID Subscription"
2015-11-03 06:08:46.023 [ ERROR] satip: SAT>IP DVB-T Tuner #1 (192.168.1.4) - RTSP error -5 (Input/output error) [6-0]
2015-11-03 06:09:21.000 [ INFO] subscription: 0009: "epggrab" unsubscribing
2015-11-03 06:09:34.831 [ INFO] http: 192.168.1.2: using ticket 24CEB3BD11EAAF8D7C37BEA5074DF2721A355DD4 for /stream/channel/2ed4a53789c6daa4ac86b541035e50ab
2015-11-03 06:09:34.833 [ INFO] mpegts: 834MHz in Go - tuning on SAT>IP DVB-T Tuner #1 (192.168.1.4)
2015-11-03 06:09:34.836 [ INFO] capmt: tvh: Starting CAPMT server for service "Smash" on adapter 0 seq 0x0001
2015-11-03 06:09:34.836 [ INFO] subscription: 000F: "HTTP" subscribing on channel "Smash", weight: 100, adapter: "SAT>IP DVB-T Tuner #1 (192.168.1.4)", network: "Go", mux: "834MHz", provider: "GO", service: "Smash", profile="pass", hostname="192.168.1.2", client="VLC/2.2.1 LibVLC/2.2.1"
2015-11-03 06:09:34.870 [ ERROR] satip: SAT>IP DVB-T Tuner #1 (192.168.1.4) - RTSP error -5 (Input/output error) [6-0]
2015-11-03 06:09:36.000 [WARNING] subscription: 000F: service instance is bad, reason: Tuning failed
2015-11-03 06:09:36.003 [ INFO] capmt: tvh: Removing CAPMT Server from service "Smash" on adapter 0
2015-11-03 06:09:39.000 [ NOTICE] subscription: 000F: No input source available for subscription "HTTP" to channel "Smash"
2015-11-03 06:09:39.003 [WARNING] webui: Couldn't start streaming /stream/channel/2ed4a53789c6daa4ac86b541035e50ab?ticket=24CEB3BD11EAAF8D7C37BEA5074DF2721A355DD4, Tuning failed
2015-11-03 06:09:39.003 [ INFO] subscription: 000F: "HTTP" unsubscribing from "Smash", hostname="192.168.1.2", client="VLC/2.2.1 LibVLC/2.2.1"
2015-11-03 06:09:39.011 [ INFO] http: 192.168.1.2: using ticket 24CEB3BD11EAAF8D7C37BEA5074DF2721A355DD4 for /stream/channel/2ed4a53789c6daa4ac86b541035e50ab
2015-11-03 06:09:39.013 [ INFO] mpegts: 834MHz in Go - tuning on SAT>IP DVB-T Tuner #1 (192.168.1.4)
2015-11-03 06:09:39.014 [ INFO] capmt: tvh: Starting CAPMT server for service "Smash" on adapter 0 seq 0x0002
2015-11-03 06:09:39.015 [ INFO] subscription: 0014: "HTTP" subscribing on channel "Smash", weight: 100, adapter: "SAT>IP DVB-T Tuner #1 (192.168.1.4)", network: "Go", mux: "834MHz", provider: "GO", service: "Smash", profile="pass", hostname="192.168.1.2", client="VLC/2.2.1 LibVLC/2.2.1"
2015-11-03 06:09:39.026 [ ERROR] satip: SAT>IP DVB-T Tuner #1 (192.168.1.4) - RTSP error -5 (Input/output error) [6-0]
History
Updated by Mario Gidi about 9 years ago
Reverted to build 9d28df5 and it works fine.. so whatever happened was after that.. Don't have anymore in between builds to check where exactly it happened..
Updated by Jaroslav Kysela about 9 years ago
- Subject changed from Sat>IP no longer working in master to Sat>IP client no longer working in master
Could you identify the exact failing version ? Here the SAT>IP client works with latest.
Updated by Mario Gidi about 9 years ago
https://github.com/tvheadend/tvheadend/commit/927b695260603a1123724e6dcd85abfb225b94f7 is the last good one..
commit https://github.com/tvheadend/tvheadend/commit/e2d8fe0eb013cac3e9269eda54a211bac36e6a0d breaks SAT>IP for me
Updated by Mario Gidi about 9 years ago
Mario Gidi wrote:
https://github.com/tvheadend/tvheadend/commit/927b695260603a1123724e6dcd85abfb225b94f7 is the last good one..
commit https://github.com/tvheadend/tvheadend/commit/e2d8fe0eb013cac3e9269eda54a211bac36e6a0d breaks SAT>IP for me
Also this only impacts the SAT>IP server.. client can be on master and still works fine.
Updated by Jaroslav Kysela about 9 years ago
- Subject changed from Sat>IP client no longer working in master to Sat>IP server no longer working in master
Could you provide logs from SAT>IP server then? It's confusing.
Updated by Jaroslav Kysela about 9 years ago
Could you try this change ?
diff --git a/src/subscriptions.c b/src/subscriptions.c index e72a3ed..7774cdc 100644 --- a/src/subscriptions.c +++ b/src/subscriptions.c @@ -602,7 +602,7 @@ subscription_unsubscribe(th_subscription_t *s, int quiet) } #if ENABLE_MPEGTS - if (raw) + if (raw && t == raw) service_remove_raw(raw); #endif
Updated by Jaroslav Kysela about 9 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|70a5d6254a9993efdb2e8deabef65b42f75eeb12.
Updated by Mario Gidi about 9 years ago
still fails
here is server log
2015-11-03 15:23:33.310 [ NOTICE] START: HTS Tvheadend version 4.1.9~a3e787f started, running as PID:30937 UID:0 GID:39, CWD:/ CNF:/storage/.kodi/userdata/addon_data/service.multimedia.tvheadend
tvheadend: src/subscriptions.c:834: subscription_create_from_mux: Assertion `(flags & 0x080) != 0' failed.
Updated by Jaroslav Kysela about 9 years ago
Yes, this is wrong assert. I removed it in v4.1-852-gf5e0caa .
Updated by Mario Gidi about 9 years ago
Jaroslav Kysela wrote:
Yes, this is wrong assert. I removed it in v4.1-852-gf5e0caa .
latest master works fine