[mythtv-users] Leanback on AT&T TV Android STB
Peter Bennett
pb.mythtv at gmail.com
Sat Aug 8 18:12:43 UTC 2020
On 8/8/20 1:24 PM, Greg Oliver wrote:
> On Sat, Aug 8, 2020 at 12:06 PM Peter Bennett <pb.mythtv at gmail.com
> <mailto:pb.mythtv at gmail.com>> wrote:
>
>
> On 8/7/20 2:37 PM, Greg Oliver wrote:
>> On another note, the adb logs are full of :
>>
>> 08-07 13:19:28.259 1528 1595 E lfe : AsyncBackendCall
>> Exception Getting backend Info.
>> 08-07 13:19:28.259 1528 1595 E lfe :
>> java.io.FileNotFoundException:
>> http://192.168.100.151:6544/Status/GetStatus
>> 08-07 13:19:28.259 1528 1595 E lfe : at
>> com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
>> 08-07 13:19:28.259 1528 1595 E lfe : at
>> org.mythtv.leanfront.data.f.a(Unknown Source:39)
>> 08-07 13:19:28.259 1528 1595 E lfe : at
>> org.mythtv.leanfront.data.a.b(Unknown Source:376)
>> 08-07 13:19:28.259 1528 1595 E lfe : at
>> org.mythtv.leanfront.data.a.doInBackground(Unknown Source:2)
>> 08-07 13:19:28.259 1528 1595 E lfe : at
>> android.os.AsyncTask$2.call(AsyncTask.java:333)
>> 08-07 13:19:28.259 1528 1595 E lfe : at
>> java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> 08-07 13:19:28.259 1528 1595 E lfe : at
>> android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
>> 08-07 13:19:28.259 1528 1595 E lfe : at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
>> 08-07 13:19:28.259 1528 1595 E lfe : at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
>> 08-07 13:19:28.259 1528 1595 E lfe : at
>> java.lang.Thread.run(Thread.java:764)
>>
> This is used for displaying the percentage of disk space used
> (percentage displays next to the search icon on the list).
>
> I do not know why that is failing. I just started v30 backend
> mythbackend version: fixes/30 [v30.0-92-gc6b20b072e]
> www.mythtv.org <http://www.mythtv.org> and I can run that url on a
> browser. What do you see? Look at your backend log and see if
> there is an error message.
>
>
> I had to turn on debugs to get it, but it looks like I am missing some
> rows in the DB somehow.. I have not hand jammed anything in or out of
> the database in years though..
>
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.231457
> I HttpWorker(62): New connection
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.232498
> I (Request Header) accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.232503
> I (Request Header) accept-encoding: gzip, deflate
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.232504
> I (Request Header) accept-language: en-US,en;q=0.5
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.232506
> I (Request Header) cache-control: max-age=0
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.232509
> I (Request Header) connection: keep-alive
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.232510
> I (Request Header) dnt: 1
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.232511
> I (Request Header) host: 192.168.100.151:6544
> <http://192.168.100.151:6544>
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.232512
> I (Request Header) upgrade-insecure-requests: 1
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.232513
> I (Request Header) user-agent: Mozilla/5.0 (X11; Fedora; Linux
> x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.232563
> I Database object created: DBManager17
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.232566
> I New DB connection, total: 11
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.233232
> I [DBManager17] Connected to database 'mythconverg' at host:
> 192.168.100.140
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.233901
> I MSqlQuery::exec(DBManager17) SELECT data FROM settings WHERE value
> = 'http/protected/urls' AND hostname = 'mythtv' <<<< Took 0ms,
> Returned 0 row(s)
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.234431
> I MSqlQuery::exec(DBManager17) SELECT data FROM settings WHERE value
> = 'http/protected/urls' AND hostname IS NULL <<<< Took 0ms, Returned 0
> row(s)
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.234542
> I ExtractMethodFromURL(end) : GetStatus : /Status
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.235054
> I MSqlQuery::exec(DBManager17) SELECT data FROM settings WHERE value
> = 'http/keepalivetimeoutsecs' AND hostname = 'mythtv' <<<< Took 0ms,
> Returned 0 row(s)
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.235537
> I MSqlQuery::exec(DBManager17) SELECT data FROM settings WHERE value
> = 'http/keepalivetimeoutsecs' AND hostname IS NULL <<<< Took 0ms,
> Returned 0 row(s)
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.235642
> I HTTPRequest::FormatFileResponse('') - cannot find file
> Aug 08 12:20:23 mythtv mythbackend[23863]: 2020-08-08 12:20:23.235655
> I HTTPRequest::SendResponse(xml/html) () :404 Not Found ->
> 192.168.99.10 <http://192.168.99.10>: 2
>
> _______________________________________________
I don't think that is related to the problem, I also have no data for
those values.
I looked at it a bit more. GetStatus has been part of mythbackend since
2006. The following urls are available. All should work.
http://name:6544/Status/GetStatus
http://name:6544/Status/GetStatusHTML
http://name:6544/Status/Status
http://name:6544/Status/xml
Status and GetStatusHTML return a web page, the two others return xml.
I don't know why yours is failing, perhaps there is a probelm with
creating a temporary file in your system?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200808/9c694bcc/attachment.htm>
More information about the mythtv-users
mailing list