Roon Core 'failed to auth'

Roon Core Machine

FreeBSD with VM running Ubuntu 20.04 on AMD 7272 with 8GB RAM

Networking Gear & Setup Details

1Gb ethernet

Connected Audio Devices

RoPieee
MacOS laptops
Android phones

Number of Tracks in Library

~65,000 tracks

Description of Issue

I took a backup of the VM I use to run Roon and moved it to a different volume. When I start Roon now it says I need to login, when I login it says “Are you online?”. Looking in the logs it shows:

04/21 08:28:58 Trace: [broker/accounts] Updating Machine Allocation machineid=*** hwserial= machinename=*** machinetype=Server
04/21 08:28:58 Trace: [fiveaccountserver] POST https://accounts5.roonlabs.com/accounts/3/machineallocate
04/21 08:28:58 Trace: [fiveaccountserver] BODY token=***&machine=***&name=***&type=Server
04/21 08:28:59 Debug: [easyhttp] [287] POST to https://accounts5.roonlabs.com/accounts/3/machineallocate returned after 436 ms, status code: 200
04/21 08:28:59 Trace: [fiveaccountserver] GOT {"status":"Success","licenseid":"***"}
04/21 08:28:59 Warn: [broker/accounts] failed to auth: Result[Status=Unauthorized]

I have network connectivity. How can I resolve this issue?

It’s now resolved. Is there some kind of 12 hour timeout on the server side? The logs now show:

04/21 20:13:39 Trace: [broker/accounts] Updating Machine Allocation machineid=*** hwserial= machinename=*** machinetype=Server
04/21 20:13:39 Trace: [fiveaccountserver] POST https://accounts5.roonlabs.com/accounts/3/machineallocate
04/21 20:13:39 Trace: [fiveaccountserver] BODY token=***&machine=***&name=***&type=Server
04/21 20:13:39 Debug: [easyhttp] [1067] POST to https://accounts5.roonlabs.com/accounts/3/machineallocate returned after 480 ms, status code: 200
04/21 20:13:39 Trace: [fiveaccountserver] GOT {"status":"Success","licenseid":"***"}
04/21 20:13:40 Trace: [broker/accounts] Data updated. AccountStatus=LoggedIn MachineStatus=Licensed UserId=***
04/21 20:13:40 Trace: [broker/accounts] Machine Allocation Succeeded
04/21 20:13:50 Debug: [easyhttp] [1070] POST to https://device-map.roonlabs.net/1/register returned after 458 ms, status code: 200

I can connect to my Core now, but I’m unable to play tracks. As soon as I try it play a track it errors and attempts to play the next one. In the logs I see:

04/21 20:30:11 Trace: [System Output] [raatclient] SENT [161]{"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":24,"channels":2,"sample_subtype":"none"}}
04/21 20:30:11 Warn: [prebuffer] in buffer threadSystem.Exception: Read failure: UnknownFailure
   at Sooloos.Audio.MediaDecoderAudioSignal.Read(Byte[] buffer, Int32 offset, Int32 frames)
   at Sooloos.Audio.SeekableBufferedAudioSignal._Buffer(Int32 buffer_seq)
   at Sooloos.Audio.SeekableBufferedAudioSignal.<>c__DisplayClass31_0.<_StartBuffering>b__0()
04/21 20:30:11 Info: [zone Laptop] OnPlayFeedback Playing
04/21 20:30:11 Trace: [Laptop] [LowQuality, 24/44 MP3 => 24/44] [PLAYING @ 0:00] A Track - An Artist
04/21 20:30:11 Trace: [System Output] [raatclient] GOT [161] {"message":{"signal_path":[{"quality":"high","method":"coreaudio_shared","type":"output"}]},"status":"OutputMessage"}
04/21 20:30:11 Trace: [System Output] [raatclient] GOT [161] {"clock_port":53352,"status":"Success","audio_port":0,"audio_port_tcp":50369}
04/21 20:30:11 Trace: [Laptop] [zoneplayer/raat] Endpoint System Output State Changed: Idle => Prepared
04/21 20:30:11 Trace: [Laptop] [zoneplayer/raat] synced to endpoint System Output clock: realtime=40296859170 rtt=500us offset=-508230140us delta=-508230140us
04/21 20:30:11 Trace: [System Output] [raatclient] SENT [162]{"request":"stream","stream_id":1112663648,"first_seq":-1,"nak_port":-1,"buffer_size":10,"ready_threshold":0.2}
04/21 20:30:11 Trace: [System Output] [raatclient] GOT [162] {"status":"Buffering"}
04/21 20:30:11 Trace: [Laptop] [zoneplayer/raat] Endpoint System Output State Changed: Prepared => Buffering
04/21 20:30:11 Trace: [Laptop] [zoneplayer/raat] [zoneplayer/raat] selected System Output as clock master
04/21 20:30:11 Info: [Laptop] [zoneplayer] Track ended unexpectedly: Sooloos.Audio.BufferedReadException: error during buffered read
 ---> System.Exception: Read failure: UnknownFailure
   at Sooloos.Audio.MediaDecoderAudioSignal.Read(Byte[] buffer, Int32 offset, Int32 frames)
   at Sooloos.Audio.SeekableBufferedAudioSignal._Buffer(Int32 buffer_seq)
   at Sooloos.Audio.SeekableBufferedAudioSignal.<>c__DisplayClass31_0.<_StartBuffering>b__0()
   --- End of inner exception stack trace ---
   at Sooloos.Audio.SeekableBufferedAudioSignal.Read(Byte[] buffer, Int32 offset, Int32 frames)
   at Sooloos.Broker.Transport.ZonePlayerTrack._Stream.ReadImp(AudioBuffer buf, Int32 nsamples)
   at Sooloos.Audio.AudioStream.Read(AudioBuffer buf, Int32 nsamples)
   at Sooloos.Broker.Transport.ZonePlayerBase.ReadImp(AudioBuffer buf, Int32 nsamples)
04/21 20:30:11 Warn: [zone Laptop] Track Stopped Due to Error
04/21 20:30:11 Info: [zone Laptop] OnPlayFeedback StoppedEndOfMediaUnnatural
04/21 20:30:11 Debug: [zone Laptop] _Advance

Any idea what this could be?

Doing a sudo systemctl restart roonserver seems to have done the trick. Issue solved.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.