Setup:
- Roon Version 1.6 (Build 390)
- Running on Synology DS1512+ with DSM 6.2.1-23824 Update 4
- 2 x Squeezebox Touch + 1 x Squeezebox Receiver
- Windows 10 and iOS clients
Network:
- NAS wired (2 x 1Gb LACP) to NetGear GS108T switch
- Switch wired (1 Gb) to ASUS RT-AC3200 running Merlin 384.6 firmware
Issue:
After upgrading to version 1.6, the Server is mostly in “Initializing” state. Re-starting helps sometimes, but the client UI is very slow and connection goes back to “Initializing” after some time. This happens with both Windows and iOS clients. I had encountered the same problem in earlier versions, but re-starting the server once fixed it and the clients did connect reliably afterwards.
There have been no changes in NAS, network or client setup. It is really getting frustrating to not have a reliable server for streaming music.
Looking at the RoonServer logs on the NAS, I did notice one correlation between unsuccessful client connection attempt and the following traceback:
01/29 17:39:52 Info: [brokerserver] Client connected: 192.168.10.144:64242
01/29 17:39:52 Trace: [SOOD] Adding User IP 192.168.10.144
01/29 17:39:55 Trace: SENT NONFINAL DistributedBroker.ConnectResponse={ BrokerId=6b6b2fdd-5bc5-430e-8b57-e6009b8cce7b BrokerName='********' }
01/29 17:39:55 Trace: SENT NONFINAL DistributedBroker.UpdatesChangedResponse={ IsSupported=True WasJustUpdated=False Status='UpToDate' HasChangeLog=False CurrentVersion={ MachineValue=100600390 DisplayValue='1.6 (build 390) stable' Branch='stable' } }
01/29 17:39:55 Trace: [push] restarting connection (Unable to read data from the transport connection: interrupted.)
01/29 17:39:55 Trace: [push] retrying connection in 67997ms
01/29 17:39:57 Critical: scx: System.NullReferenceException: Object reference not set to an instance of an object
at Sooloos.Broker.Music.LibraryApi.Sooloos.Broker.Api.Library.get_Playlists () [0x00000] in <dcbcf4f91fec401e800a83ba373c6044>:0
at Sooloos_Broker_Api_Library_Adapter.Serialize (System.Object obj, System.IO.Stream stream) [0x0002c] in <288ef57a6dc74b17996de9c331282b59>:0
at Sooloos.Broker.Remoting.RemotingServer._PutObject (System.Object o, System.IO.Stream stream, System.Boolean inline) [0x0010b] in <56788e8bfcfa4a02b27f94e6455c3d92>:0
at Sooloos.Broker.Remoting.RemotingServer.Sooloos.Broker.Remoting.IRemotingContext.PutObject (System.Object o, System.IO.Stream stream, System.Boolean inline) [0x00000] in <56788e8bfcfa4a02b27f94e6455c3d92>:0
at Sooloos_Broker_Api_Broker_Adapter.Serialize (System.Object obj, System.IO.Stream stream) [0x00227] in <288ef57a6dc74b17996de9c331282b59>:0
at Sooloos.Broker.Remoting.RemotingServer._PutObject (System.Object o, System.IO.Stream stream, System.Boolean inline) [0x0010b] in <56788e8bfcfa4a02b27f94e6455c3d92>:0
at Sooloos.Broker.Remoting.RemotingServer+<>c__DisplayClass28_0.<OnGetService>b__0 (Base.Result`1[T] result) [0x0002b] in <56788e8bfcfa4a02b27f94e6455c3d92>:0
at Sooloos.Broker.Distributed.ServerConnection.OnGetService (System.Guid guid, Base.ResultCallback`1[T] cb_result) [0x0001e] in <dcbcf4f91fec401e800a83ba373c6044>:0
at Sooloos.Broker.Remoting.RemotingServer.OnGetService (System.Int32 rid, System.Byte[] body) [0x0001f] in <56788e8bfcfa4a02b27f94e6455c3d92>:0
at Sooloos.Broker.Remoting.RemotingServer+<>c__DisplayClass22_0.<OnRequestReceived>b__0 () [0x00011] in <56788e8bfcfa4a02b27f94e6455c3d92>:0
at Sooloos.SynchronizationContextThread+<>c__DisplayClass45_0.<Post>b__0 (System.Object _) [0x00000] in <7f0a74b68d2a4a0ba3084b62b8028591>:0
at Sooloos.SynchronizationContextThread._Dispatch (Sooloos.SynchronizationContextThread+SendOrPostWrapper& ret) [0x00012] in <7f0a74b68d2a4a0ba3084b62b8028591>:0