MinimServer Forum

Full Version: Minimstreamer - Stalled stream
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Simon,

My stream of 6 Music stalled a few moments ago with this error below, thought you might want to know. Did I do something wrong??

Code:
playMediaSegment: error reading 184 from media segment
Error reading HLS stream: java.net.SocketTimeoutException: Read timed out
java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:150)
    at java.net.SocketInputStream.read(SocketInputStream.java:121)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
    at sun.net.www.MeteredStream.read(MeteredStream.java:134)
    at java.io.FilterInputStream.read(FilterInputStream.java:133)
    at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnecti​on.java:3335)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
    at java.io.DataInputStream.readFully(DataInputStream.java:195)
    at org.jstreamer.lib.HTTPSource$ReaderThread.copyPacketData(HTTPSource.java:1139)
    at org.jstreamer.lib.HTTPSource$ReaderThread.playMediaSegment(HTTPSource.java:1075)​
    at org.jstreamer.lib.HTTPSource$ReaderThread.playStream(HTTPSource.java:731)
    at org.jstreamer.lib.HTTPSource$ReaderThread.run(HTTPSource.java:530)
It's just happened again, 20 mins later!

I've got Minimstreamer 0.5.11/Minimserver 0.8 update 64 installed on a Mac mini.
(18-03-2015 15:21)alexm Wrote: [ -> ]Hi Simon,

My stream of 6 Music stalled a few moments ago with this error below, thought you might want to know. Did I do something wrong??

Code:
playMediaSegment: error reading 184 from media segment
Error reading HLS stream: java.net.SocketTimeoutException: Read timed out
java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:150)
    at java.net.SocketInputStream.read(SocketInputStream.java:121)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
    at sun.net.www.MeteredStream.read(MeteredStream.java:134)
    at java.io.FilterInputStream.read(FilterInputStream.java:133)
    at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnecti​on.java:3335)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
    at java.io.DataInputStream.readFully(DataInputStream.java:195)
    at org.jstreamer.lib.HTTPSource$ReaderThread.copyPacketData(HTTPSource.java:1139)
    at org.jstreamer.lib.HTTPSource$ReaderThread.playMediaSegment(HTTPSource.java:1075)​
    at org.jstreamer.lib.HTTPSource$ReaderThread.playStream(HTTPSource.java:731)
    at org.jstreamer.lib.HTTPSource$ReaderThread.run(HTTPSource.java:530)

This means the BBC stream server failed to respond. In your m3u playlist, are you using the streams with 'llnw' or 'ak' in their names? I have found the 'ak' streams to be more reliable.
I'm using the 'ak' server.
(18-03-2015 16:10)alexm Wrote: [ -> ]I'm using the 'ak' server.

It's a problem at the BBC end. MinimStreamer sets a read timeout of 3 seconds, which should be plenty of time if the BBC server is working correctly.
Reference URL's