icoderhr / npr-android-app

Automatically exported from code.google.com/p/npr-android-app
0 stars 0 forks source link

Proken pipe Exception in Stream Proxy #86

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When I was playing stream using StreamProxy, I received an exception: 
"java.net.SocketException: Broken pipe". 

This exeception comes from command "client.getOutputStream().write(buff, 0, 
readBytes);" (row number - 222).

Please tell me what is the problem here.

Thank so much!

Original issue reported on code.google.com by ducthuyv...@gmail.com on 27 May 2011 at 10:06

GoogleCodeExporter commented 8 years ago
You will get this any time that the connection to the source server fails. e.g. 
If you lose internet connection or the stream stops unexpectedly. That error 
case is handled separately, and the broken proxy error is logged but should not 
affect playback or use. You can safely ignore the message.

Original comment by jeremy.w...@gmail.com on 15 Jun 2011 at 9:43

GoogleCodeExporter commented 8 years ago
Seems to still break, and not be a recoverable error. I wish it was ignorable. 
2.3.1 on Galaxy S

Original comment by william...@gmail.com on 18 Jun 2011 at 7:12

GoogleCodeExporter commented 8 years ago
I confirm this is happening when connected over data. Working good on wifi.

Original comment by romain.p...@gmail.com on 21 Feb 2013 at 11:24