Forum Discussion

tunneling's avatar
tunneling
Visitor
14 years ago

Android App - Remote - Broken Pipe (IOException)

I'm playing around with the demo Android App that comes with the SDK. I keep getting a socket error, so the Remote only works for a few commands and then quits.

03-05 20:26:22.095: I/Transmitter(17672): transmit error, java.net.SocketException: Broken pipe


I'm running Android 2.3.3 and have a Roku 2 XS. The behavior is the same whether the Roku is on wifi or ethernet.

    Is it possible to maintain a persistent connection with the Roku, or does it close the socket after a certain period of time?

    Is my Roku defective?


t

6 Replies

  • I've posted a bug report to our database, I or someone else will let you know if there is some useful information that comes out of that.

    - Joel
  • Is there a page where I can check the status of the bug reports? If you need anything for trying to replicate the issue let me know.

    Thanks!
  • No, but you can bug me via private message once every two weeks if you don't hear from me.

    - Joel
  • "tunneling" wrote:

      Is it possible to maintain a persistent connection with the Roku, or does it close the socket after a certain period of time?

      Is my Roku defective?

    t


    Ok, I got word back from Engineering for you:

    "The ECP socket is closed after ~4 seconds of no activty. Just open it again."


    Hope that helps.

    - Joel
  • Thanks for the timeout.

    Should the demo android app handle this, or was it written against a different version of the Roku software?

    t