I have four Roku products running a custom (dev mode) app that provides integration into my home automation system for status display, control and security camera access. The app runs all the time (when the Roku isn't being used for Netflix, etc.). This app has been stable and unchanged for several years. But about 2-3 months ago my two Roku 2 XS boxes started hanging up when a user would exit the custom app and then move the cursor to the first app in the channel list. That's the key thing here: The Roku doesn't hang when exiting the app, it hangs as soon as the cursor is moved over the first channel in the list (but not even selected). The channel doesn't matter, and the box seems completely fine doing everything until I navigate into the channel list.
When this happens, the UI becomes completely unresponsive. The time display doesn't update, there's no beep when clicking the remote. At first I thought that the entire box was hung, but I discovered that I could successfully do the following:
- ping the box
- telnet to the debug console (which displayed nothing, but did connect)
- execute XML requests like
http://roku2:8060/- Load the developer page (
http://roku2)
But the following would not work (times out):
http://roku2:8060/keypress/home (sent via method POST)
I googled as best I could for anything remotely like this but couldn't find anything, and that's why I am wondering if my app is somehow triggering this behavior.
I do something in the app that may be unusual: I have listening UDP sockets that allow the app to be controlled by the home automation system. The app also sends status back via UDP. Apart from that it is all pretty common stuff, except that the app does run almost all the time.
The failure occurs about 1 in 3 interactions with the box (but only around the transition from my app to another channel; once the transition is made successfully, the box behaves well). Again, this same app has worked flawlessly for several years and it wasn't until about 2-3 months ago that we began noticing this problem on the Roku2 XS boxes.
Details:
Roku 2 XS 3100X
I've observed the failure with these software builds:
V7.0 build 9037 and 9044 (not sure if it failed on builds prior to 9037 since I wasn't debugging the problem until that build as I was hoping software elves would just magically fix things but that never happened...)
What advice do you have on how to figure out what's going on?
Thanks!
Bryan