MinimServer Forum
Radio Station Timeout - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: MinimStreamer (/forumdisplay.php?fid=11)
+--- Thread: Radio Station Timeout (/showthread.php?tid=6340)



Radio Station Timeout - Peter@57m - 22-09-2021 17:16

In the last week or so, I have been experiencing timeouts with some radio stations.

I don't know if this is something in my network or something with MinimServer/MinimStreamer.

The error that appears in the log is below.

Some stations I can get to work by continually selecting the entry in the .m3u playlist, an example is
http://tx.sharp-stream.com/http_live_bauer.php?i=absoluteradio.mp3&amsparams=playerid:BM_Web;sKey:1503206909

Chain: error starting chain
java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out
at com.minimstreamer.NetworkSource.start(NetworkSource.java:152)
at org.jstreamer.core.ChainSource.start(ChainSource.java:47)
at org.jstreamer.core.ChainImpl.startLinks(ChainImpl.java:79)
at org.jstreamer.core.ChainImpl.start(ChainImpl.java:55)
at com.minimstreamer.Streamer$NetworkRequestHandler.processRequest(Streamer.java:31​64)
at com.minimserver.Server$StreamerRequestHandler.processRequest(Server.java:29970)
at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​75)
at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:430)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:283)
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:309)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:982)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:977)
at com.minimstreamer.NetworkSource.doStart(NetworkSource.java:402)
at com.minimstreamer.NetworkSource.start(NetworkSource.java:150)
... 7 more


RE: Radio Station Timeout - simoncn - 22-09-2021 18:27

I tried this stream. It returns an HTTP 302 redirect to:

http://stream-al.planetradio.co.uk/absoluteradio.mp3?aw_0_1st.playerid=BM_Web&aw_0_1st.sKey=1503206909&aw_0_1st.skey=1632331316

When MinimStreamer tries to access this URL, it gets a 404 Not Found error.


RE: Radio Station Timeout - Peter@57m - 22-09-2021 18:54

OK, thanks Simon. I just wanted to check it wasn’t MinimServer related.

I am currently listening to the station. Had to hit play a few times but did connect at 4th attempt. It used to connect first time, so it must be something they are doing and not my local network if you’ve had the same issue connecting.


RE: Radio Station Timeout - simoncn - 22-09-2021 19:21

I tried a few more times. On the third try, I got about a second of audio. On the fourth try, it connected and played normally.