MinimServer Forum
Minimstreamer - Stalled stream - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: MinimStreamer (/forumdisplay.php?fid=11)
+--- Thread: Minimstreamer - Stalled stream (/showthread.php?tid=2276)



Minimstreamer - Stalled stream - alexm - 18-03-2015 15:21

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)



RE: Minimstreamer - Stalled stream - alexm - 18-03-2015 15:38

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.


RE: Minimstreamer - Stalled stream - simoncn - 18-03-2015 16:08

(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.


RE: Minimstreamer - Stalled stream - alexm - 18-03-2015 16:10

I'm using the 'ak' server.


RE: Minimstreamer - Stalled stream - simoncn - 18-03-2015 16:19

(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.