SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV Clients Development (http://forums.sagetv.com/forums/forumdisplay.php?f=56)
-   -   Android Miniclient on Mi Box Crashing SageTV Server v9 (http://forums.sagetv.com/forums/showthread.php?t=63733)

mackb 11-25-2016 07:00 PM

Android Miniclient on Mi Box Crashing SageTV Server v9
 
I recently updated my SageTV to the latest v9 manually over my v7, so I am running the latest jar, exe and xml files on a Windows 10 box. Both extenders (HD200 & HD300) having been working fine for several days.

I loaded the miniclient on my Nexus 6p and it also seems to work decently. I recently purchased a Mi Box and immediately updated the box and loaded the miniclient from the app store. Withing a few minutes it crashed my server and I have to start it again. I have tried every setting in the miniclient to no avail. I am not even getting to the point of playing a video.

I do not see anything in my event log and I don't know where to look past that. I assume there are ways to debug the server as well as the client. On the client side I did try to send the log but it says I don't have an app installed for that or something to that nature. I assume it just sees the disconnect from the server and that is all.

Has anybody else had this issue as I really want to get this working. It may be inevitable that I have to get a Sheild TV instead but the Mi Box would be great alternative on the cheaper side.

NetworkGuy 11-27-2016 08:56 AM

I am running the mini-client on an Mi Box with no problems. But I am also on V7 SageTV Server.

dgeezer 11-27-2016 09:48 AM

I am running a mi box without any problems on v9. However, my server is Linux. It's the docker version running on unraid.

jusjoken 11-27-2016 09:48 AM

Quote:

Originally Posted by mackb (Post 595922)
I recently updated my SageTV to the latest v9 manually over my v7, so I am running the latest jar, exe and xml files on a Windows 10 box. Both extenders (HD200 & HD300) having been working fine for several days.

It may have nothing to do with your issue but I would do a proper version 9 install using the installer so you have all the updated files and not just the few files you copied.

k

stuckless 11-27-2016 10:43 AM

I run the miniclient on a Mi Box and 2 NVidia Shield boxes and I've yet to see an issue. Is post your sagetv_0.txt log file there might be some information in there as to what is happening.

panteragstk 11-27-2016 01:47 PM

Quote:

Originally Posted by stuckless (Post 595966)
I run the miniclient on a Mi Box and 2 NVidia Shield boxes and I've yet to see an issue. Is post your sagetv_0.txt log file there might be some information in there as to what is happening.

+1 to that. Mi box and Shield clients run without issue. I even still have a functioning PC client.

Korny 11-27-2016 03:07 PM

Quote:

Originally Posted by mackb (Post 595922)
I recently updated my SageTV to the latest v9 manually over my v7, so I am running the latest jar, exe and xml files on a Windows 10 box. Both extenders (HD200 & HD300) having been working fine for several days.

I loaded the miniclient on my Nexus 6p and it also seems to work decently. I recently purchased a Mi Box and immediately updated the box and loaded the miniclient from the app store. Withing a few minutes it crashed my server and I have to start it again. I have tried every setting in the miniclient to no avail. I am not even getting to the point of playing a video.

I do not see anything in my event log and I don't know where to look past that. I assume there are ways to debug the server as well as the client. On the client side I did try to send the log but it says I don't have an app installed for that or something to that nature. I assume it just sees the disconnect from the server and that is all.

Has anybody else had this issue as I really want to get this working. It may be inevitable that I have to get a Sheild TV instead but the Mi Box would be great alternative on the cheaper side.

How's your ram usage? Adding additional clients can cause sagetv to run out of ram.
I've also noticed that if my phone connection gets dropped it will sometimes take the server with it, I say for me its a ~5% chance. Are you using a network adapter or wifi?

KryptoNyte 11-27-2016 03:26 PM

Is it possible this is the SageTCPServer issue crashing Sage, or is that not applicable for V9?

mackb 11-27-2016 07:14 PM

Quote:

Originally Posted by jusjoken (Post 595963)
It may have nothing to do with your issue but I would do a proper version 9 install using the installer so you have all the updated files and not just the few files you copied.

k

I never could get the installer to work. It kept coming up with an error I couldn't get past.

Thanks,
Mack

mackb 11-27-2016 07:28 PM

Quote:

Originally Posted by stuckless (Post 595966)
I run the miniclient on a Mi Box and 2 NVidia Shield boxes and I've yet to see an issue. Is post your sagetv_0.txt log file there might be some information in there as to what is happening.

I did end up turning on the debug option and looking at the sagetv_0.txt log and found that java was getting an exception trying to set up the listening ports for the clients. It was trying to do this twice for the same port when the client was connecting and killing the server.

I ended up clearing out all old client property files as well as any old client entries in the server xml. This worked like a charm and eliminated the port conflict.

This client has been great and I have been using it consistently without issues. I have thrown all the file types I use at it with no problems.

Thanks for the great work!
Mack


All times are GMT -6. The time now is 06:49 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.