troubleshooting "no free adapter"
Added by Bart Grefte about 6 years ago
TLDR: How do you troubleshoot the "no free adapter" error?
The longer version: It happens regularly that I can't switch DVB-C channels/streams with one attempt, when that happens it usually takes 3 or 4 attempts before the stream actually starts.
During the failed attempts, the log says this:
No input source available for subscription "HTTP" to channel "channel name"
followed by
webui: Couldn't start streaming /stream/channelid/*?ticket=*&profile=pass, No free adapter
This problem seems to happen more often when using a playlist file then when using the Android TVHClient app. But since the app won't accept https in the url, I can't use that outside my network. Hence the playlist file which has been modified to use https, where the traffic goes through Apache (proxypass/proxypassreverse) and then (within my network) to TvHeadend over http.
The only thing I can think of keeping the tuner in use is epggrab.
Could it be that epggrab is causing the "no free adapter" error?
Replies (3)
RE: troubleshooting "no free adapter" - Added by Joe User about 6 years ago
Probably not epggrab, it should stop if the tuner is needed for streaming/recording.
What hardware are you using? OS? Could be a driver problem.
Version of tvheadend?
Scrambled or FTA channels?
Does tvhclient use a different profile than the playlist?
Does the streaming profile(s) have "restart on error" checked? "Continue if descrambling fails" checked?
Do recordings fail also?
You probably need to provide a log.
RE: troubleshooting "no free adapter" - Added by Bart Grefte about 6 years ago
Joe User wrote:
Probably not epggrab, it should stop if the tuner is needed for streaming/recording.
Hmm, okay
What hardware are you using? OS? Could be a driver problem.
Anysee E30TC, recognized as Philips TDA10023 in Tvheadend, the smartcard reader is a "TBS3102 5 Crystal Smartmouse Card Reader with Phoenix/Smartmouse Mode". Raspbian 9.
Version of tvheadend?
4.2.6-15~g88ae07789
Scrambled or FTA channels?
Scrambled.
Does tvhclient use a different profile than the playlist?
I've never made a(nother) profile, so I do not think so. But the app also suffers from this problem, just less often. (Or so it seems, I could be wrong.)
Does the streaming profile(s) have "restart on error" checked? "Continue if descrambling fails" checked?
I do not know which profile is being used, never selected one, but the ones listed (audio, htsp, matroska and pass) all have the "Continue if descrambling fails" setting checked, the other isn't checked with any profile.
Do recordings fail also?
I've never used the recording feature, don't have a hdd attached to the Pi.
You probably need to provide a log.
The errors I mentioned came from the system log, Tvheadend does not seem to have it's own log. I don't see anything else in the logs, no other errors at the times (or just before/after) the problem occurs, just the ones mentioned.
RE: troubleshooting "no free adapter" - Added by Harald K over 5 years ago
Hi, it seems I'm fighting exactly with this problem witf many different configurations meanwhile.
Now I use 4.2.6-84~g81f56cc on my raspberry pi, raspian 8 (jessie) and a DVBsky S960 USB.
If I stop tvh and run w_scan I get all the channels, so the hardware seems to be ok. I have updated the raspberry pi and completle removed tvh incl. all configuration. Then I made the installation completely new. But now again I have the problem: Sometimes it seems to work, I can viwe or record TV programms, direct on the Raspberry Pi or by Sat>IP on my QNAP (I have a socond Tuner direct at this). This all worked nearly 2 Years without problems. But it seems there was something in any update that goes wrong.
I feel helpless after days and weeks. Has anyone a solution?
2019-02-15 11:20:33.186 mpegts: 12187.5H in Astra-19.2E - tuning on Montage Technology M88DS3103 #0 : DVB-S #0
2019-02-15 11:20:37.186 subscription: 0001: No input source available for subscription "HTTP" to channel "RTL Television"
2019-02-15 11:20:37.187 webui: Couldn't start streaming /stream/channel/dcf38b24574d2f41aeec12857c5608ca?profile=webtv-h264-aac-matroska, No free adapter
2019-02-15 11:20:37.187 subscription: 0001: "HTTP" unsubscribing from "RTL Television", hostname="192.168.178.150", username="ypthk", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
2019-02-15 11:20:37.189 mpegts: 12187.5H in Astra-19.2E - tuning on Montage Technology M88DS3103 #0 : DVB-S #0
2019-02-15 11:20:41.189 subscription: 0002: No input source available for subscription "HTTP" to channel "RTL Television"
2019-02-15 11:20:41.192 webui: Couldn't start streaming /stream/channel/dcf38b24574d2f41aeec12857c5608ca?profile=webtv-h264-aac-matroska, No free adapter
2019-02-15 11:20:41.193 subscription: 0002: "HTTP" unsubscribing from "RTL Television", hostname="192.168.178.150", username="ypthk", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
2019-02-15 11:20:41.195 mpegts: 12187.5H in Astra-19.2E - tuning on Montage Technology M88DS3103 #0 : DVB-S #0
2019-02-15 11:20:45.195 subscription: 0003: No input source available for subscription "HTTP" to channel "RTL Television"
2019-02-15 11:20:45.195 webui: Couldn't start streaming /stream/channel/dcf38b24574d2f41aeec12857c5608ca?profile=webtv-h264-aac-matroska, No free adapter
2019-02-15 11:20:45.195 subscription: 0003: "HTTP" unsubscribing from "RTL Television", hostname="192.168.178.150", username="ypthk", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
2019-02-15 11:20:45.199 mpegts: 12187.5H in Astra-19.2E - tuning on Montage Technology M88DS3103 #0 : DVB-S #0
2019-02-15 11:20:49.200 subscription: 0004: No input source available for subscription "HTTP" to channel "RTL Television"
2019-02-15 11:20:49.200 webui: Couldn't start streaming /stream/channel/dcf38b24574d2f41aeec12857c5608ca?profile=webtv-h264-aac-matroska, No free adapter
2019-02-15 11:20:49.202 subscription: 0004: "HTTP" unsubscribing from "RTL Television", hostname="192.168.178.150", username="ypthk", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
2019-02-15 11:20:49.205 mpegts: 12187.5H in Astra-19.2E - tuning on Montage Technology M88DS3103 #0 : DVB-S #0
2019-02-15 11:20:53.206 subscription: 0005: No input source available for subscription "HTTP" to channel "RTL Television"
2019-02-15 11:20:53.206 webui: Couldn't start streaming /stream/channel/dcf38b24574d2f41aeec12857c5608ca?profile=webtv-h264-aac-matroska, No free adapter
2019-02-15 11:20:53.208 subscription: 0005: "HTTP" unsubscribing from "RTL Television", hostname="192.168.178.150", username="ypthk", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"