Jump to content

Write operation failed errors in log


mobamoba

Recommended Posts

mobamoba

My log has numerous instances of the following error and I wondered what it meant and, more importantly, if there's anything I should be doing to resolve it. I'm not sure if the error is related, but sometimes Chromecast will simply stop playing a video - the image will just freeze on the the screen and pressing the play/pause button in the app does nothing. Using Emby 3.2.70.0 with a 70mb down/25mb up connection on Win10. 

 

Thanks.

 

 

 

2018-02-21 22:51:04.826 Info HttpServer: HTTP GET https://www.xxxxxxx/emby/Videos/51712297d485249293f510ec0883dbb4/stream.mov?Static=true&mediaSourceId=51712297d485249293f510ec0883dbb4&deviceId=e28bddc9b1cf952d6edc0a92fec5064b8ace129c&Tag=828b6a9d132855018d62851f455e8436. Host=www.xxxxxxxx, Connection=keep-alive, Origin=https://mediabrowser.github.io, Accept-Encoding=identity;q=1, *;q=0, User-Agent=Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.92 Safari/537.36 CrKey/1.30.109591, Range=bytes=537624576-, Accept=*/*, Referer=https://mediabrowser.github.io/Emby.Chromecast/index.html, Accept-Language=en-US,en;q=0.9, CAST-DEVICE-CAPABILITIES={"bluetooth_supported":true,"display_supported":true,"hi_res_audio_supported":false}
2018-02-21 22:51:04.828 Info HttpResultFactory: Setting range response values for F:\Ellen3\McMafia\Season 1\McMafia - 1x01 - Episode 1.mp4. RangeRequest: bytes=537624576- Content-Length: 3127609, Content-Range: bytes 537624576-540752184/540752185
2018-02-21 22:51:04.844 Info HttpServer: HTTP GET https://www.xxxxxxxxx/emby/Items/94e5085b06501cb4c6f28c816356f621/Images/Backdrop/0?tag=b34faa4739ae82e8f2b97c0f676679b4&quality=80. UserAgent: Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.92 Safari/537.36 CrKey/1.30.109591
2018-02-21 22:51:04.845 Info HttpResultFactory: Transmit file C:\Users\Matt\AppData\Roaming\Emby-Server\cache\images\resized-images\f\fb5bbe4e-2442-1004-fb59-1628ad8ed48f.webp
2018-02-21 22:51:04.863 Error HttpServer: Error processing request
    *** Error Report ***
    Version: 3.2.70.0
    Command line: C:\Users\Matt\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Matt\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Matt\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 8
    Program data path: C:\Users\Matt\AppData\Roaming\Emby-Server
    Application directory: C:\Users\Matt\AppData\Roaming\Emby-Server\system
    System.IO.IOException: The write operation failed, see inner exception. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
     at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count)
     at System.Net.Security.SslStreamInternal.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
     at System.Net.Security.SslStreamInternal.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, LazyAsyncResult asyncResult)
     --- End of inner exception stack trace ---
     at System.Net.Security.SslStreamInternal.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, LazyAsyncResult asyncResult)
     at System.Net.Security.SslStream.Write(Byte[] buffer, Int32 offset, Int32 count)
     at SocketHttpListener.Net.HttpResponseStream.WriteCore(Byte[] buffer, Int32 offset, Int32 size)
     at System.IO.Stream.CopyTo(Stream destination, Int32 bufferSize)
     at SocketHttpListener.Net.HttpResponseStream.<TransmitFileManaged>d__51.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.HttpServer.FileWriter.<WriteToAsync>d__58.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.Services.ResponseHelper.<WriteToResponse>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.Services.ServiceHandler.<ProcessRequestAsync>d__15.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__73.MoveNext()
    System.IO.IOException
     at System.Net.Security.SslStreamInternal.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, LazyAsyncResult asyncResult)
     at System.Net.Security.SslStream.Write(Byte[] buffer, Int32 offset, Int32 count)
     at SocketHttpListener.Net.HttpResponseStream.WriteCore(Byte[] buffer, Int32 offset, Int32 size)
     at System.IO.Stream.CopyTo(Stream destination, Int32 bufferSize)
     at SocketHttpListener.Net.HttpResponseStream.<TransmitFileManaged>d__51.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.HttpServer.FileWriter.<WriteToAsync>d__58.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.Services.ResponseHelper.<WriteToResponse>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.Services.ServiceHandler.<ProcessRequestAsync>d__15.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__73.MoveNext()
    InnerException: System.Net.Sockets.SocketException
    System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
     at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count)
     at System.Net.Security.SslStreamInternal.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
     at System.Net.Security.SslStreamInternal.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, LazyAsyncResult asyncResult)
     at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count)
     at System.Net.Security.SslStreamInternal.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
     at System.Net.Security.SslStreamInternal.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, LazyAsyncResult asyncResult)
    
2018-02-21 22:51:04.863 Info HttpServer: HTTP Response 500 to 104.175.36.96. Time: 234ms. https://www.xxxxxxxx/emby/Videos/51712297d485249293f510ec0883dbb4/stream.mov?Static=true&mediaSourceId=51712297d485249293f510ec0883dbb4&deviceId=e28bddc9b1cf952d6edc0a92fec5064b8ace129c&Tag=828b6a9d132855018d62851f455e8436 
Edited by Happy2Play
Link to comment
Share on other sites

mobamoba

Okay thanks. So what in the log would help you understand why the Chromecasting freezes? That was the error I found around where that happened.

Link to comment
Share on other sites

mobamoba

Do the logs contain any private/insecure data, like anything I need to redact or is it okay to just upload the whole thing because there's nothing much in there privacy-wise? And do you want me to start a new thread or keep it in this one?

Link to comment
Share on other sites

Happy2Play

Do the logs contain any private/insecure data, like anything I need to redact or is it okay to just upload the whole thing because there's nothing much in there privacy-wise? And do you want me to start a new thread or keep it in this one?

 

It does, like your DDNS you posted in you first post.(I edited), then if you care about user paths Matt.  Or you can PM Luke your logs.

Link to comment
Share on other sites

mobamoba

I tried limiting the bitrate to Chromecase (in the Emby app) the 3mps and the 480 1mps and had the same issue. Chromecast played video for like 6-8 minutes then just stopped with image frozen on screen. I PM'ed those logs to Luke as well. Thanks.

Link to comment
Share on other sites

mobamoba

Okay I went ahead and disabled hardware acceleration/NVENC and it didn't solve the problem - same thing. I've PMed you the logs.

Link to comment
Share on other sites

  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...