slevin7 86 Posted March 22, 2018 Posted March 22, 2018 (edited) I have a little problem with my server.From time to time it stop playing the movie. In the log i could read. *** Error Report *** Version: 3.3.1.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.13.0.37 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.Net.Sockets.SocketException (0x80004005): Broken pipe at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count) at SocketHttpListener.Net.HttpResponseStream.DisposeCore() at SocketHttpListener.Net.HttpResponseStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.CloseOutputStream(HttpListenerResponse response) System.Net.Sockets.SocketException at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count) at SocketHttpListener.Net.HttpResponseStream.DisposeCore() at SocketHttpListener.Net.HttpResponseStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.CloseOutputStream(HttpListenerResponse response)is there anything i could fix?I atached the remux file and the server log. This is mostly happend when i stream to my chromecast. ffmpeg-remux-81238b33-5671-445a-851c-dfef948d50ab.txt&api_key=ac613edd779a44f1ba002e6bf319fc5b.txt server-log.txt Edited March 22, 2018 by slevin7
slevin7 86 Posted March 22, 2018 Author Posted March 22, 2018 I have got my server since yesterday, before i used an raspberry pi and there was no problem.
Luke 42078 Posted March 23, 2018 Posted March 23, 2018 hi @@slevin7, can you please try again? thanks.
slevin7 86 Posted March 23, 2018 Author Posted March 23, 2018 (edited) I get this error. 2018-03-23 11:18:52.167 Info HttpServer: HTTP Response 200 to 192.168.1.230. Time: 24ms. http://192.168.1.5:8096/emby/Sync/Items/Ready?TargetId=3c1d97dc2ddf7d71&format=json 2018-03-23 11:18:52.195 Info HttpServer: HTTP POST http://192.168.1.5:8096/emby/Sync/Data?format=json. UserAgent: Dalvik/2.1.0 (Linux; U; Android 8.1.0; Pixel 2 Build/OPM1.171019.021) 2018-03-23 11:18:52.196 Info HttpServer: HTTP Response 200 to 192.168.1.230. Time: 1ms. http://192.168.1.5:8096/emby/Sync/Data?format=json 2018-03-23 11:20:12.738 Info App: Udp message sent to 192.168.1.230:47419 2018-03-23 11:20:12.738 Info App: Udp message sent to 192.168.1.230:47419 2018-03-23 11:20:12.766 Error App: Error receiving udp message *** Error Report *** Version: 3.3.1.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.13.0.37 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.InvalidOperationException: EndReceiveFrom can only be called once for each asynchronous operation. at System.Net.Sockets.Socket.EndReceiveFrom(IAsyncResult asyncResult, EndPoint& endPoint) at Emby.Server.Implementations.Net.UdpSocket.EndReceive(IAsyncResult result) at Emby.Server.Implementations.Udp.UdpServer.OnReceiveResult(IAsyncResult result) System.InvalidOperationException at System.Net.Sockets.Socket.EndReceiveFrom(IAsyncResult asyncResult, EndPoint& endPoint) at Emby.Server.Implementations.Net.UdpSocket.EndReceive(IAsyncResult result) at Emby.Server.Implementations.Udp.UdpServer.OnReceiveResult(IAsyncResult result) But the broken pipe doesn't appears Edited March 23, 2018 by slevin7
Luke 42078 Posted March 23, 2018 Posted March 23, 2018 Nevermind the log file. How did the video play on chromecast?
slevin7 86 Posted March 23, 2018 Author Posted March 23, 2018 I could watch 2 Movies befor it stops again. 2018-03-23 17:51:52.950 Info HttpServer: HTTP POST http://192.168.1.5:8096/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.92 Safari/537.36 CrKey/1.30.113131 2018-03-23 17:51:52.954 Info HttpServer: HTTP Response 204 to 192.168.1.235. Time: 4ms. http://192.168.1.5:8096/emby/Sessions/Playing/Progress 2018-03-23 17:51:53.030 Error HttpServer: Error in HttpListenerResponseWrapper: Broken pipe *** Error Report *** Version: 3.3.1.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.13.0.37 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.Net.Sockets.SocketException (0x80004005): Broken pipe at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count) at SocketHttpListener.Net.HttpResponseStream.DisposeCore() at SocketHttpListener.Net.HttpResponseStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.CloseOutputStream(HttpListenerResponse response) System.Net.Sockets.SocketException at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count) at SocketHttpListener.Net.HttpResponseStream.DisposeCore() at SocketHttpListener.Net.HttpResponseStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.CloseOutputStream(HttpListenerResponse response) 2018-03-23 17:51:53.030 Info HttpServer: HTTP Response 500 to 192.168.1.235. Time: 1489129ms. http://192.168.1.5:8096/emby/videos/3c8161c243eb070e662e636e0ea5e8cb/stream.mkv?DeviceId=V29obnppbW1lcg==&MediaSourceId=3c8161c243eb070e662e636e0ea5e8cb&VideoCodec=h264,h265,hevc,vp8,vp9&AudioCodec=aac,ac3,mp3,opus,flac,vorbis&AudioStreamIndex=1&VideoBitrate=139616000&AudioBitrate=384000&PlaySessionId=61abf0cb6e034c53a5258491d4eab0c2&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&CopyTimestamps=true&RequireAvc=true&Tag=f1f99a270b0570a0a1fd6a9323b5cf03&h264-profile=high,main,baseline,constrainedbaseline&h264-level=42&h264-deinterlace=true&audiochannels=2 2018-03-23 17:51:53.050 Info HttpServer: HTTP POST http://192.168.1.5:8096/emby/Sessions/Playing/Stopped. UserAgent: Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.92 Safari/537.36 CrKey/1.30.113131 2018-03-23 17:51:53.052 Info App: Deleting partial stream file(s) /var/lib/emby/transcoding-temp/c3368342bd812409011b214f7e7c6a60.mkv 2018-03-23 17:51:53.052 Info SessionManager: Playback stopped reported by app Emby for Chromecast 2.1.0 playing Dunkirk. Stopped at 1487340 ms 2018-03-23 17:51:53.054 Info HttpServer: HTTP Response 204 to 192.168.1.235. Time: 4ms. http://192.168.1.5:8096/emby/Sessions/Playing/Stopped The Chromecast is connected via Lan-cable and so the server. I looked the logs from my router but there is no error. But i am a bit connfused because of the high ping and the http response 500. A secound later the ping is about normal again.
Luke 42078 Posted March 24, 2018 Posted March 24, 2018 Can you try some lower bitrate files and see how that compares? thanks.
slevin7 86 Posted March 24, 2018 Author Posted March 24, 2018 Okay i tried. Video CodecHEVC ProfilMain 10 Level153 Auflösung3840x1606 Seitenverhältnis2.40:1 AnamorphNo InterlacedNo Bildrate23.9760246 Bitrate19110 kbps Pixelformatyuv420p10le Ref Frames1 Title4K HEVC play like a charm. Video CodecHEVC ProfilMain 10 Level153 Auflösung3840x2160 Seitenverhältnis16:9 AnamorphNo InterlacedNo Bildrate23.9760246 Bitrate23635 kbps Pixelformatyuv420p10le Ref Frames1 Title4K HEVC stop one in the middle of the movie. Video CodecHEVC ProfilMain 10 Level153 Auflösung3840x2160 Seitenverhältnis16:9 AnamorphNo InterlacedNo Bildrate23.9760246 Bitrate54391 kbps Pixelformatyuv420p10le Ref Frames1 Title4K HEVC just for testing with an insane high bitrate no problem while playing
Luke 42078 Posted March 24, 2018 Posted March 24, 2018 To me this just looks like a network hiccup that is causing momentary disconnection, and unfortunately stopping the video.
slevin7 86 Posted March 26, 2018 Author Posted March 26, 2018 Sorry to bother again but i try to look around what the problem could be.and i see there was another problem with chromecast with look like the same problem as i have (https://emby.media/community/index.php?/topic/49440-chromecast-ultra-stop-streaming-after-10-minutes/page-3) i investigate a bit further and it look that after around 600mb-1gb stream to chromecast it stop with the broken pipe error (no idea why the movie with the insane high framerate once work). i'm really not convinced that the problem is my network, so i tried one movie with another hogh framerate about 55 mbits/s and it stoped around 1 min,23 sec. then i tried the same movie with my server at my friends house and it stoped at the same frame, then the same movie at his server, it stops at the same frame, then with plex, again the same frame, then i reencode with ffmpeg, stil the same (everything on my chromecast ultra). Tried again with amazon fire tv 4k and absolutley no problem. Borrow the fire tv and tried the same at my network, no problem. Then I paused a secound before the movie normaly stops, wait 20sec and i could play for another 1 1/2 minute. At this point i think the main problem is the chromecast and his memory who get full and after that it refuse to play any further. convinced con con convince
Luke 42078 Posted March 27, 2018 Posted March 27, 2018 You're not on Chromecast beta firmware by any chance are you?
slevin7 86 Posted March 27, 2018 Author Posted March 27, 2018 I was in the beta channel with my chromecast but i think it is the same firmware like any other chromecast ultra.i'm on 1.30.113131.
Luke 42078 Posted March 28, 2018 Posted March 28, 2018 Ok, it looks like that is preview firmware: https://support.google.com/chromecast/answer/7124014?hl=en
slevin7 86 Posted March 28, 2018 Author Posted March 28, 2018 Oh okay, sorry.So the question now is, is this a bug on chromecast or a feature.
Luke 42078 Posted March 29, 2018 Posted March 29, 2018 I was just trying to come up with a possible explanation since I can't reproduce the problem on Chromecast stable firmware.
slevin7 86 Posted March 30, 2018 Author Posted March 30, 2018 Okay, for me it looks like the chromecast doesn't forget the stream. No idea why but it store the video data on it, maybe for easier step back when you miss something?i don't know. But i see in the plex Forum, that they have the same problem with this firmware. Just for testing i play a 3h movie in 1080p with a bitrate of 10565 kbps. After around 2h it stops so its not only a 4k problem.I could not go back to the earlier firmware so it could not test this. And unfortunately I have no idea if this behavior is wanted and could be in the next official firmware.
Luke 42078 Posted March 30, 2018 Posted March 30, 2018 In my experience with Chromecast preview firmware, these kinds of things tend to get resolved by the time it goes stable.
slevin7 86 Posted March 30, 2018 Author Posted March 30, 2018 Okay, then i try to be patient.thanks for help.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now