Jump to content

Synology NAS (DS415+) does not hibernate after installing Emby Server


budha300
 Share

Go to solution Solved by solabc16,

Recommended Posts

Hello James (@@solabc16,

 

the device is my router. And the automatic portmapping is activated (but I don't remeber that I activated it) I think I try to deactivate this item as the router has sometimes problems with the automatic portforwarding. We will see.

 

Thanks a lot for your patience.

 

Best

Thorsten

Link to comment
Share on other sites

Hi @@newb

 

Thanks for the update, that's good progress and a step in the right direction.

 

Interesting approach, I haven't looked at that part of the source closely, so I can't really comment at this point. It certainly sounds like a viable option for wan.txt, although I'd expect security keys to be getting rotated in connect.txt. My initial thoughts still centre around this being volatile data, so I'm wondering why they are persisted to disk at all. If you start up an instance of Emby Server without these files, they will both get created - which is what happens after a fresh install.

 

If you create a PR, let me know. We build a handful of elements from source, so it's relatively easy for us to get a change onto the Synology/XPEnology beta channel for secondary testing/validation.

Regarding mmin, it depends what question you are trying to answer. If somebody has their HDD hibernation time set to 15mins and the system isn't hibernating, then we want to know what changed in the last 20mins to home in on what files are the likely culprit. Running with too high a value of mmin creates a lot of noise.

 

Best

- James

Link to comment
Share on other sites

Hello James (@@solabc16,

 

the device is my router. And the automatic portmapping is activated (but I don't remeber that I activated it) I think I try to deactivate this item as the router has sometimes problems with the automatic portforwarding. We will see.

 

Thanks a lot for your patience.

 

Best

Thorsten

 

Hi Thorsten / @woody76

 

No problem at all. It's enabled by default, so it's nothing you've done.

 

Best

- James

Link to comment
Share on other sites

Hello James @@solabc16,

 

good news. The Synology went to sleep after I deactivated the port mapping. The next wake up was as mentioned above

/var/packages/EmbyServer/target/var/data/wan.txt
/var/packages/EmbyServer/target/var/data/connect.txt

That made me smile.

 

Thanks a lot so far. I think the wan/connect problem will be solved, too.

 

Have a nice rest sunday.

 

Best

Thorsten

Link to comment
Share on other sites

Hello @@solabc16

 

The same capture, but with debug logging disabled.

 

587337cf944b8_CopiecranNAS20170109.jpg

2017-01-08 21:17:59.3423 Info HttpServer: HTTP GET https://192.168.1.6:8920/emby/Items/084a3aaefdfa9bfe3b0fd2c0113f0150/Images/Backdrop/2?tag=690ab060a488a68664e59fea9314fd13&maxWidth=1600&quality=80. UserAgent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
2017-01-08 21:18:01.5745 Error HttpResultFactory: Error streaming data
	*** Error Report ***
	Version: 3.1.269.0
	Command line: /var/packages/EmbyServer/target/server/MediaBrowser.Server.Mono.exe -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -restartpath /var/packages/EmbyServer/scripts/restart
	Operating system: Unix 3.2.40.0
	64-Bit OS: False
	64-Bit Process: False
	Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Fri Dec 30 01:46:13 CST 2016)
	Processor count: 4
	Program data path: /var/packages/EmbyServer/target/var
	Application directory: /volume1/@appstore/EmbyServer/releases/v3.1.269-beta
	System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
	  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult result) [0x00033] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	   --- End of inner exception stack trace ---
	  at Mono.Security.Protocol.Tls.SslStreamBase.EndWrite (System.IAsyncResult asyncResult) [0x00057] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Net.Security.Private.LegacySslStream.EndWrite (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at Mono.Net.Security.Private.MonoSslStreamImpl.EndWrite (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Security.SslStream.EndWrite (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.IO.Stream.<BeginEndWriteAsync>m__8 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at (wrapper delegate-invoke) System.Func`3[System.IO.Stream,System.IAsyncResult,System.Threading.Tasks.VoidTaskResult]:invoke_TResult_T1_T2 (System.IO.Stream,System.IAsyncResult)
	  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00002] in <8f2c484307284b51944a1a13a14c0266>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at SocketHttpListener.Net.ResponseStream+<WriteAsync>d__25.MoveNext () [0x001af] in <629bcd27c5904635a8233e8ab3f1ec20>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.IO.Stream+<CopyToAsyncInternal>c__async0.MoveNext () [0x0009b] in <8f2c484307284b51944a1a13a14c0266>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at Emby.Server.Implementations.HttpServer.StreamWriter+<WriteToAsync>d__26.MoveNext () [0x00121] in <d616df6ecf0245ea9e5dd6b080ed80dc>:0 
	System.IO.IOException
	  at Mono.Security.Protocol.Tls.SslStreamBase.EndWrite (System.IAsyncResult asyncResult) [0x00057] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Net.Security.Private.LegacySslStream.EndWrite (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at Mono.Net.Security.Private.MonoSslStreamImpl.EndWrite (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Security.SslStream.EndWrite (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.IO.Stream.<BeginEndWriteAsync>m__8 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at (wrapper delegate-invoke) System.Func`3[System.IO.Stream,System.IAsyncResult,System.Threading.Tasks.VoidTaskResult]:invoke_TResult_T1_T2 (System.IO.Stream,System.IAsyncResult)
	  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00002] in <8f2c484307284b51944a1a13a14c0266>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at SocketHttpListener.Net.ResponseStream+<WriteAsync>d__25.MoveNext () [0x001af] in <629bcd27c5904635a8233e8ab3f1ec20>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.IO.Stream+<CopyToAsyncInternal>c__async0.MoveNext () [0x0009b] in <8f2c484307284b51944a1a13a14c0266>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at Emby.Server.Implementations.HttpServer.StreamWriter+<WriteToAsync>d__26.MoveNext () [0x00121] in <d616df6ecf0245ea9e5dd6b080ed80dc>:0 
	InnerException: System.Net.Sockets.SocketException
	System.Net.Sockets.SocketException (0x80004005): The socket has been shut down
	  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult result) [0x00033] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult result) [0x00033] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	
2017-01-08 21:18:01.6397 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 3.1.269.0
	Command line: /var/packages/EmbyServer/target/server/MediaBrowser.Server.Mono.exe -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -restartpath /var/packages/EmbyServer/scripts/restart
	Operating system: Unix 3.2.40.0
	64-Bit OS: False
	64-Bit Process: False
	Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Fri Dec 30 01:46:13 CST 2016)
	Processor count: 4
	Program data path: /var/packages/EmbyServer/target/var
	Application directory: /volume1/@appstore/EmbyServer/releases/v3.1.269-beta
	System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
	  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult result) [0x00033] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	   --- End of inner exception stack trace ---
	  at Mono.Security.Protocol.Tls.SslStreamBase.EndWrite (System.IAsyncResult asyncResult) [0x00057] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Net.Security.Private.LegacySslStream.EndWrite (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at Mono.Net.Security.Private.MonoSslStreamImpl.EndWrite (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Security.SslStream.EndWrite (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.IO.Stream.<BeginEndWriteAsync>m__8 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at (wrapper delegate-invoke) System.Func`3[System.IO.Stream,System.IAsyncResult,System.Threading.Tasks.VoidTaskResult]:invoke_TResult_T1_T2 (System.IO.Stream,System.IAsyncResult)
	  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00002] in <8f2c484307284b51944a1a13a14c0266>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at SocketHttpListener.Net.ResponseStream+<WriteAsync>d__25.MoveNext () [0x001af] in <629bcd27c5904635a8233e8ab3f1ec20>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.IO.Stream+<CopyToAsyncInternal>c__async0.MoveNext () [0x0009b] in <8f2c484307284b51944a1a13a14c0266>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at Emby.Server.Implementations.HttpServer.StreamWriter+<WriteToAsync>d__26.MoveNext () [0x00121] in <d616df6ecf0245ea9e5dd6b080ed80dc>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at ServiceStack.HttpResponseExtensionsInternal+<WriteToOutputStream>d__0.MoveNext () [0x0009c] in <b0be2833f22b4b4cbb9d4af964d79da2>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at ServiceStack.HttpResponseExtensionsInternal+<WriteToResponseInternal>d__3.MoveNext () [0x0025a] in <b0be2833f22b4b4cbb9d4af964d79da2>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at ServiceStack.Host.RestHandler+<ProcessRequestAsync>d__19.MoveNext () [0x00255] in <b0be2833f22b4b4cbb9d4af964d79da2>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>d__61.MoveNext () [0x005a1] in <d616df6ecf0245ea9e5dd6b080ed80dc>:0 
	System.IO.IOException
	  at Mono.Security.Protocol.Tls.SslStreamBase.EndWrite (System.IAsyncResult asyncResult) [0x00057] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Net.Security.Private.LegacySslStream.EndWrite (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at Mono.Net.Security.Private.MonoSslStreamImpl.EndWrite (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Security.SslStream.EndWrite (System.IAsyncResult asyncResult) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.IO.Stream.<BeginEndWriteAsync>m__8 (System.IO.Stream stream, System.IAsyncResult asyncResult) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at (wrapper delegate-invoke) System.Func`3[System.IO.Stream,System.IAsyncResult,System.Threading.Tasks.VoidTaskResult]:invoke_TResult_T1_T2 (System.IO.Stream,System.IAsyncResult)
	  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3[T1,T2,TResult] endMethod, System.IAsyncResult asyncResult, System.Boolean requiresSynchronization) [0x00002] in <8f2c484307284b51944a1a13a14c0266>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at SocketHttpListener.Net.ResponseStream+<WriteAsync>d__25.MoveNext () [0x001af] in <629bcd27c5904635a8233e8ab3f1ec20>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.IO.Stream+<CopyToAsyncInternal>c__async0.MoveNext () [0x0009b] in <8f2c484307284b51944a1a13a14c0266>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at Emby.Server.Implementations.HttpServer.StreamWriter+<WriteToAsync>d__26.MoveNext () [0x00121] in <d616df6ecf0245ea9e5dd6b080ed80dc>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at ServiceStack.HttpResponseExtensionsInternal+<WriteToOutputStream>d__0.MoveNext () [0x0009c] in <b0be2833f22b4b4cbb9d4af964d79da2>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at ServiceStack.HttpResponseExtensionsInternal+<WriteToResponseInternal>d__3.MoveNext () [0x0025a] in <b0be2833f22b4b4cbb9d4af964d79da2>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at ServiceStack.Host.RestHandler+<ProcessRequestAsync>d__19.MoveNext () [0x00255] in <b0be2833f22b4b4cbb9d4af964d79da2>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>d__61.MoveNext () [0x005a1] in <d616df6ecf0245ea9e5dd6b080ed80dc>:0 
	InnerException: System.Net.Sockets.SocketException
	System.Net.Sockets.SocketException (0x80004005): The socket has been shut down
	  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult result) [0x00033] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult result) [0x00033] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	
2017-01-08 21:18:01.6507 Info HttpServer: HTTP Response 500 to 192.168.1.2. Time: 2309ms (slow). https://192.168.1.6:8920/emby/Items/084a3aaefdfa9bfe3b0fd2c0113f0150/Images/Backdrop/2?tag=690ab060a488a68664e59fea9314fd13&maxWidth=1600&quality=80
2017-01-08 23:22:42.1345 Info TaskManager: IntervalTrigger fired for task: Check for plugin updates
2017-01-08 23:22:42.7345 Info TaskManager: IntervalTrigger fired for task: Check for application updates
2017-01-08 23:22:54.5458 Info TaskManager: Queueing task PluginUpdateTask
2017-01-08 23:22:54.5458 Info TaskManager: Queueing task SystemUpdateTask
2017-01-08 23:22:54.5465 Info TaskManager: Executing Check for plugin updates
2017-01-08 23:22:54.6610 Info InstallationManager: Opening /var/packages/EmbyServer/target/var/cache/serverpackages.json
2017-01-08 23:22:54.8540 Info HttpClient: HttpClientManager.GetTempFileResponse url: https://www.mb3admin.com/admin/service/MB3Packages.json
2017-01-08 23:22:54.8560 Info TaskManager: Check for plugin updates Completed after 0 minute(s) and 0 seconds
2017-01-08 23:22:54.8789 Info TaskManager: ExecuteQueuedTasks
2017-01-08 23:22:54.9720 Info TaskManager: Executing Check for application updates
2017-01-08 23:22:54.9730 Info HttpClient: Checking for cache file /var/packages/EmbyServer/target/var/cache/httpclient/f70ca6622474da8168a3b6c06f651a16
2017-01-08 23:22:54.9843 Info HttpClient: HttpClientManager GET: https://api.github.com/repos/MediaBrowser/Emby/releases
2017-01-08 23:22:56.2909 Info TaskManager: Check for application updates Completed after 0 minute(s) and 1 seconds
2017-01-08 23:22:56.2937 Info TaskManager: ExecuteQueuedTasks
2017-01-09 00:00:00.0022 Info TaskManager: DailyTrigger fired for task: Scan media library
2017-01-09 00:00:00.0022 Info TaskManager: Queueing task RefreshMediaLibraryTask
2017-01-09 00:00:00.0022 Info TaskManager: Executing Scan media library
2017-01-09 00:00:12.4731 Info TaskManager: DailyTrigger fired for task: Start new log file
2017-01-09 00:00:12.4737 Info TaskManager: Queueing task ReloadLoggerFileTask
2017-01-09 00:00:12.7408 Info App: Validating media library
2017-01-09 00:02:37.9913 Info HttpClient: HttpClientManager GET: https://thetvdb.com/api/Updates.php?type=all&time=1483830082
2017-01-09 00:02:38.0040 Info TaskManager: Executing Start new log file

2017-01-09 00:02:38.1520 Info App: Application version: 3.1.269.0
2017-01-09 00:02:38.1528 Info App: Emby
	Command line: /var/packages/EmbyServer/target/server/MediaBrowser.Server.Mono.exe -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -restartpath /var/packages/EmbyServer/scripts/restart
	Operating system: Unix 3.2.40.0
	64-Bit OS: False
	64-Bit Process: False
	Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Fri Dec 30 01:46:13 CST 2016)
	Processor count: 4
	Program data path: /var/packages/EmbyServer/target/var
	Application directory: /volume1/@appstore/EmbyServer/releases/v3.1.269-beta
2017-01-09 00:02:38.1554 Info App: Application configuration:
	{"EnableUPnP":false,"PublicPort":8096,"PublicHttpsPort":8920,"HttpServerPortNumber":8096,"HttpsPortNumber":8920,"EnableHttps":true,"EnableSeriesPresentationUniqueKey":true,"CertificatePath":"/usr/syno/etc/certificate/system/default/cert.pfx","IsPortAuthorized":true,"EnableCaseSensitiveItemIds":false,"MetadataPath":"","SeasonZeroDisplayName":"Specials","PreferredMetadataLanguage":"fr","MetadataCountryCode":"FR","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"LibraryMonitorDelay":60,"EnableDashboardResponseCaching":true,"DashboardSourcePath":"","ImageSavingConvention":"Compatible","MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Movie","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":5,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":["Nfo","Emby Xml"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["The Open Movie Database","TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheMovieDb","FanArt","The Open Movie Database","Screen Grabber"]},{"ItemType":"Series","ImageOptions":[{"Type":"Backdrop","Limit":2,"MinWidth":1280},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Disc","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Episode","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":["The Open Movie Database","TheMovieDb"],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicVideo","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Video","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableAutomaticRestart":true,"SkipDeserializationForBasicTypes":false,"SkipDeserializationForPrograms":false,"SkipDeserializationForAudio":false,"PathSubstitutions":[{"From":"/volume1/Film/Film (A à K)","To":"\\\\DISKSTATIONJR\\Film\\Film (A à K)"},{"From":" /volume1/Film/Film (L à Z) ","To":"\\\\DISKSTATIONJR\\Film\\Film (L à Z)"},{"From":"/volume2/Série","To":"\\\\DISKSTATIONJR\\Série"},{"From":"/volume1/Film/Sketch","To":"\\\\DISKSTATIONJR\\Film\\Sketch"},{"From":"/volume2/Série","To":" \\\\192.168.1.6\\Série"}],"ServerName":"","WanDdns":"diskstationjr.ovh","UICulture":"fr","SaveMetadataHidden":false,"ContentTypes":[],"RemoteClientBitrateLimit":0,"SharingExpirationDays":30,"SchemaVersion":109,"EnableAnonymousUsageReporting":true,"EnableStandaloneMusicKeys":false,"EnableLocalizedGuids":true,"EnableFolderView":false,"EnableGroupingIntoCollections":true,"DisplaySpecialsWithinSeasons":true,"DisplayCollectionsView":true,"LocalNetworkAddresses":[],"CodecsUsed":[],"Migrations":["LibraryScan6"],"EnableChannelView":false,"EnableExternalContentInSuggestions":true,"EnableSimpleArtistDetection":false,"ImageExtractionTimeoutMs":10000,"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Beta","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":true,"CachePath":""}
2017-01-09 00:02:38.1610 Info App: Plugins:
	Emby.Kodi Sync Queue 1.3.6194.21133
2017-01-09 00:02:38.1614 Info TaskManager: Start new log file Completed after 0 minute(s) and 0 seconds
2017-01-09 00:02:38.2083 Info TaskManager: ExecuteQueuedTasks
2017-01-09 00:02:39.0052 Info TaskManager: Daily trigger for Scan media library set to fire at 1/10/2017 12:00:00 AM, which is 1437.34991446667 minutes from now.
2017-01-09 00:02:39.1297 Info App: Updating series from tvdb 121361, language fr
2017-01-09 00:02:39.1489 Info HttpClient: HttpClientManager GET: https://www.thetvdb.com/api/B89CE93890E9419B/series/121361/all/fr.zip
2017-01-09 00:02:39.3492 Info TaskManager: Daily trigger for Start new log file set to fire at 1/10/2017 12:00:00 AM, which is 1437.34418083333 minutes from now.
2017-01-09 00:02:40.3641 Info App: Updating series from tvdb 72108, language fr
2017-01-09 00:02:40.3652 Info HttpClient: HttpClientManager GET: https://www.thetvdb.com/api/B89CE93890E9419B/series/72108/all/fr.zip
2017-01-09 00:02:43.8347 Info App: Updating series from tvdb 76290, language fr
2017-01-09 00:02:43.8356 Info HttpClient: HttpClientManager GET: https://www.thetvdb.com/api/B89CE93890E9419B/series/76290/all/fr.zip
2017-01-09 00:05:11.0696 Info TaskManager: Scan media library Completed after 5 minute(s) and 11 seconds
2017-01-09 00:05:11.2325 Info TaskManager: ExecuteQueuedTasks
2017-01-09 00:05:11.1916 Info LibraryMonitor: Watching directory /volume1/Film/Documentaire
2017-01-09 00:05:11.2176 Info LibraryMonitor: Watching directory /volume1/Film/Vidéos tests
2017-01-09 00:05:11.6261 Info LibraryMonitor: Watching directory /volume1/Film/Sketch
2017-01-09 00:05:11.6803 Info LibraryMonitor: Watching directory /volume1/Perso
2017-01-09 00:05:12.0969 Info LibraryMonitor: Watching directory /volume1/Dossier partagé
2017-01-09 00:05:15.2032 Info LibraryMonitor: Watching directory /volume2/Série
2017-01-09 00:05:18.1504 Info LibraryMonitor: Watching directory /volume1/Film/Film (L à Z)
2017-01-09 00:05:18.8178 Info LibraryMonitor: Watching directory /volume1/Film/Film (A à K)
2017-01-09 02:00:12.3726 Info TaskManager: DailyTrigger fired for task: Chapter image extraction
2017-01-09 02:00:12.3726 Info TaskManager: Queueing task ChapterImagesTask
2017-01-09 02:00:12.3734 Info TaskManager: Executing Chapter image extraction
2017-01-09 02:00:35.4101 Info App: Stopping chapter extraction for 06 - Superman sonne toujours deux fois because a chapter was found with a position greater than the runtime.
2017-01-09 02:00:39.8178 Info App: Stopping chapter extraction for Monique because a chapter was found with a position greater than the runtime.
2017-01-09 02:00:40.7710 Info App: Stopping chapter extraction for Firewall because a chapter was found with a position greater than the runtime.
2017-01-09 02:00:41.1284 Info App: Stopping chapter extraction for Jean-Philippe because a chapter was found with a position greater than the runtime.
2017-01-09 02:00:41.3765 Info App: Stopping chapter extraction for Hitman because a chapter was found with a position greater than the runtime.
2017-01-09 02:00:41.5304 Info App: Stopping chapter extraction for La Rumeur court because a chapter was found with a position greater than the runtime.
2017-01-09 02:00:42.0708 Info App: Stopping chapter extraction for Mission : Impossible 3 because a chapter was found with a position greater than the runtime.
2017-01-09 02:00:42.4607 Info App: Stopping chapter extraction for Harry Potter 8 et les Reliques de la Mort (2eme Partie) because a chapter was found with a position greater than the runtime.
2017-01-09 02:00:42.6062 Info App: Stopping chapter extraction for Harry Potter 3 et le Prisonnier d'Azkaban because a chapter was found with a position greater than the runtime.
2017-01-09 02:00:42.8162 Info App: Stopping chapter extraction for Le Jour d'après because a chapter was found with a position greater than the runtime.
2017-01-09 02:00:48.5969 Info TaskManager: Chapter image extraction Completed after 0 minute(s) and 36 seconds
2017-01-09 02:00:48.6417 Info TaskManager: ExecuteQueuedTasks
2017-01-09 02:00:49.7762 Info TaskManager: Daily trigger for Chapter image extraction set to fire at 1/10/2017 2:00:00 AM, which is 1439.1703977 minutes from now.
2017-01-09 02:01:00.0373 Info TaskManager: DailyTrigger fired for task: Remove Old Sync Data
2017-01-09 02:01:00.0373 Info TaskManager: Queueing task FireRetentionTask
2017-01-09 02:01:00.0373 Info TaskManager: Executing Remove Old Sync Data
2017-01-09 02:01:00.0697 Info App: Emby.Kodi.SyncQueue.Task: Retention Deletion Not Possible When Retention Days = 0!
2017-01-09 02:01:00.0697 Info TaskManager: Remove Old Sync Data Completed after 0 minute(s) and 0 seconds
2017-01-09 02:01:00.0967 Info TaskManager: ExecuteQueuedTasks
2017-01-09 02:01:01.2155 Info TaskManager: Daily trigger for Remove Old Sync Data set to fire at 1/10/2017 2:01:00 AM, which is 1439.97974288333 minutes from now.
2017-01-09 02:23:36.4814 Info HttpClient: HttpClientManager POST: https://mb3admin.com/admin/service/registration/validate
2017-01-09 08:00:25.9692 Info HttpServer: HTTP GET https://diskstationjr.ovh:8920/. UserAgent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
2017-01-09 08:00:26.0471 Info HttpServer: HTTP Response 302 to 192.168.1.254. Time: 78ms. https://diskstationjr.ovh:8920/
2017-01-09 08:00:27.1662 Error HttpServer: Error in ProcessAccept
	*** Error Report ***
	Version: 3.1.269.0
	Command line: /var/packages/EmbyServer/target/server/MediaBrowser.Server.Mono.exe -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -restartpath /var/packages/EmbyServer/scripts/restart
	Operating system: Unix 3.2.40.0
	64-Bit OS: False
	64-Bit Process: False
	Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Fri Dec 30 01:46:13 CST 2016)
	Processor count: 4
	Program data path: /var/packages/EmbyServer/target/var
	Application directory: /volume1/@appstore/EmbyServer/releases/v3.1.269-beta
	System.IO.IOException: The authentication or decryption has failed. ---> System.IO.IOException: Error while sending TLS Alert (Fatal:InternalError): System.NullReferenceException: Object reference not set to an instance of an object
	  at Mono.Security.Protocol.Tls.Handshake.Server.TlsServerHello.ProcessAsTls1 () [0x0009f] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () [0x00037] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process ()
	  at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.Handshake.HandshakeType handshakeType, System.AsyncCallback callback, System.Object state) [0x00008] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendRecord (Mono.Security.Protocol.Tls.Handshake.HandshakeType type) [0x00000] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.SslServerStream.EndNegotiateHandshake (System.IAsyncResult asyncResult) [0x0002b] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) [0x0000c] in <1d0bb82c94e7435eb09324cf5ef20e36>:0  ---> System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
	  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult result) [0x00033] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	   --- End of inner exception stack trace ---
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x000af] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.EndSendRecord (System.IAsyncResult asyncResult) [0x00040] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendRecord (Mono.Security.Protocol.Tls.ContentType contentType, System.Byte[] recordData) [0x0000b] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendAlert (Mono.Security.Protocol.Tls.Alert alert) [0x00027] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendAlert (System.Exception& ex) [0x00021] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	   --- End of inner exception stack trace ---
	   --- End of inner exception stack trace ---
	  at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) [0x00057] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsServer (System.IAsyncResult asyncResult) [0x00011] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00021] in <8f2c484307284b51944a1a13a14c0266>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at SocketHttpListener.Net.HttpConnection+<InitStream>d__27.MoveNext () [0x000f8] in <629bcd27c5904635a8233e8ab3f1ec20>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at SocketHttpListener.Net.HttpConnection+<Create>d__28.MoveNext () [0x000ad] in <629bcd27c5904635a8233e8ab3f1ec20>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at SocketHttpListener.Net.EndPointListener+<ProcessAccept>d__21.MoveNext () [0x000fb] in <629bcd27c5904635a8233e8ab3f1ec20>:0 
	System.IO.IOException
	  at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) [0x00057] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsServer (System.IAsyncResult asyncResult) [0x00011] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00021] in <8f2c484307284b51944a1a13a14c0266>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at SocketHttpListener.Net.HttpConnection+<InitStream>d__27.MoveNext () [0x000f8] in <629bcd27c5904635a8233e8ab3f1ec20>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at SocketHttpListener.Net.HttpConnection+<Create>d__28.MoveNext () [0x000ad] in <629bcd27c5904635a8233e8ab3f1ec20>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
	  at SocketHttpListener.Net.EndPointListener+<ProcessAccept>d__21.MoveNext () [0x000fb] in <629bcd27c5904635a8233e8ab3f1ec20>:0 
	InnerException: System.IO.IOException
	System.IO.IOException: Error while sending TLS Alert (Fatal:InternalError): System.NullReferenceException: Object reference not set to an instance of an object
	  at Mono.Security.Protocol.Tls.Handshake.Server.TlsServerHello.ProcessAsTls1 () [0x0009f] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () [0x00037] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process ()
	  at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (Mono.Security.Protocol.Tls.Handshake.HandshakeType handshakeType, System.AsyncCallback callback, System.Object state) [0x00008] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendRecord (Mono.Security.Protocol.Tls.Handshake.HandshakeType type) [0x00000] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.SslServerStream.EndNegotiateHandshake (System.IAsyncResult asyncResult) [0x0002b] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) [0x0000c] in <1d0bb82c94e7435eb09324cf5ef20e36>:0  ---> System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
	  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult result) [0x00033] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	   --- End of inner exception stack trace ---
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x000af] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.EndSendRecord (System.IAsyncResult asyncResult) [0x00040] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendRecord (Mono.Security.Protocol.Tls.ContentType contentType, System.Byte[] recordData) [0x0000b] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendAlert (Mono.Security.Protocol.Tls.Alert alert) [0x00027] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendAlert (System.Exception& ex) [0x00021] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	   --- End of inner exception stack trace ---
	InnerException: System.IO.IOException
	System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
	  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult result) [0x00033] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	   --- End of inner exception stack trace ---
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x000af] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.EndSendRecord (System.IAsyncResult asyncResult) [0x00040] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendRecord (Mono.Security.Protocol.Tls.ContentType contentType, System.Byte[] recordData) [0x0000b] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendAlert (Mono.Security.Protocol.Tls.Alert alert) [0x00027] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendAlert (System.Exception& ex) [0x00021] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x000af] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.EndSendRecord (System.IAsyncResult asyncResult) [0x00040] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendRecord (Mono.Security.Protocol.Tls.ContentType contentType, System.Byte[] recordData) [0x0000b] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendAlert (Mono.Security.Protocol.Tls.Alert alert) [0x00027] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	  at Mono.Security.Protocol.Tls.RecordProtocol.SendAlert (System.Exception& ex) [0x00021] in <1d0bb82c94e7435eb09324cf5ef20e36>:0 
	InnerException: System.Net.Sockets.SocketException
	System.Net.Sockets.SocketException (0x80004005): The socket has been shut down
	  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult result) [0x00033] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.Socket.EndSend (System.IAsyncResult result) [0x00033] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	  at System.Net.Sockets.NetworkStream.EndWrite (System.IAsyncResult asyncResult) [0x0005f] in <bd46d4d4f7964dfa9beea098499ab597>:0 
	
2017-01-09 08:00:29.0822 Info HttpServer: HTTP GET https://diskstationjr.ovh:8920/web/css/images/favicon.ico. UserAgent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
2017-01-09 08:00:29.1173 Info HttpServer: HTTP Response 200 to 192.168.1.254. Time: 35ms. https://diskstationjr.ovh:8920/web/css/images/favicon.ico

​Have a good day !

Jérem

Link to comment
Share on other sites

Hello @@Darkjeje

 

The log looks better, with nothing being written between 2017-01-09 02:23:36.4814 and 2017-01-09 08:00:25.9692.

 

The HDDs are coming out of hibernation a little more often than I would expect.

 

Do you have anything else running on your system?

 

The repeating wakeup at 23 minutes past each hour I expect is the write to wan.txt and connect.txt, as discussed above.

 

Best

- James

Link to comment
Share on other sites

Thank you James.

I don't know why my NAS is woke up.
Do you have any idea to see that ?

The log of my nas are not very detailed I think.

Link to comment
Share on other sites

Hello @@Darkjeje

 

You can run the command we used earlier across the whole system to find out what files have been modified.

 

e.g.

sudo find / -mmin -20

What have you currently got your HDD hibernate time set to?

 

For the value above (-20), I suggest using the hibernation time (in minutes) plus five.

 

The output will likely be a little noisy, but we should be able to pick through it and see what the cause is.

 

Best

- James

Link to comment
Share on other sites

Hello All

 

For those of you on the beta channel, the 3.1.272.0-1 package is now available.

 

This includes some additional improvements to enhance HDD hibernation.

 

Let us know how you get on...

 

- James

Link to comment
Share on other sites

The latest beta does indeed eliminate the disk writes to wan.dat and connect.txt. With the NLog filter applied, the only thing which was logged in the 5 hours from when I upgraded to the latest beta, to when I accessed Emby again, was a scheduled task. The following command confirms this:

$ sudo find /var/packages/EmbyServer/target/ -mmin -300
/var/packages/EmbyServer/target/var/logs/server-63619820047.txt
/var/packages/EmbyServer/target/var/data/ScheduledTasks/5f05bed2-acec-c7a8-a584-983041464d19.js

When I came home I found the disks of my NAS hibernated, something which I am not used to seeing. This is great!

I will continue monitoring it and possibly adjust some of the scheduled tasks to run either within the same time window of each other or less frequently, or both.

Link to comment
Share on other sites

Hello @@b0mb

 

Which XPEnology solution are you using to run DSM6 on your system?

 

A couple of questions...

 

1) What do you have the HDD hibernation time set to under Control Panel -> Hardware & Power?

 

2) Does your system reliably hibernate when the Emby Server package is stopped?

 

3) Have you applied this change? https://emby.media/community/index.php?/topic/39319-synology-nas-ds415-does-not-hibernate-after-installing-emby-server/?p=403693

 

4) Can you run the diagnostics and send logs utilities, details on the Wiki here: https://github.com/MediaBrowser/Wiki/wiki/Synology-:-Help-and-Support. (I just need the file reference the send logs utility will give you)

 

Best

- James

Link to comment
Share on other sites

Hi!

 

1. I've set both to 10 minutes so that the system is going down after 20 minutes

2. When emby package is stopped everything is working fine

3. Change has been applied

4. Have to check this later because of less time

 

I'm running xpenology DSM 6 on a HP n40l with Turion CPU ;-)

 

Gesendet von meinem LG-D855 mit Tapatalk

Link to comment
Share on other sites

Thanks @@b0mb, did you run the send logs utility? That will give me all the information I need.

 

You'll get a file reference at the end, so if you can post that here.

 

- James

Link to comment
Share on other sites

Thanks @@b0mb, did you run the send logs utility? That will give me all the information I need.

 

You'll get a file reference at the end, so if you can post that here.

 

- James

ok... i hope this is what you ment ;)
Upload completed successfully, please include this filename with your ticket...sendlogs_twilightzone_synology_bromolow_3615xs_20170114T150558UTC.tgz
Edited by b0mb
Link to comment
Share on other sites

Hello @@b0mb

 

Yes, that is what I needed. The reason your system is staying awake is DLNA.

 

See my earlier post here: https://emby.media/community/index.php?/topic/39319-synology-nas-ds415-does-not-hibernate-after-installing-emby-server/?p=405122

 

Let me know if you are using DLNA for playback or not.

 

Best

- James

 

I use Kodi and direct stream.... no DLNA needed at all ;)

Link to comment
Share on other sites

Hello @b0mb

 

Ok, then follow the instructions in the link above to disable DLNA on your system.

 

Let me know how you get on once you've done that.

 

Best

- James

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...