michaelherger / Spotty-Plugin

A Spotify plugin for the Lyrion Music Server (fka. Logitech Media Server) and Squeezebox compatible players
113 stars 21 forks source link

Connect daemon is running, but not connected - shutting down to force restart #130

Open sbr2004 opened 2 months ago

sbr2004 commented 2 months ago

Hello,

I'm getting a lot of errors below for my players. They appear from time to time in spotify app (on iphone and desktop) for a short time, but vanish soon. I'm able to play from app to player while it is visible in app. Switching from wifi to cable does not help.

[24-07-06 17:49:47.2952] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:1f:26:07 Boom [24-07-06 17:50:47.1751] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:2a:f4:bd Guest Room [24-07-06 17:50:47.2312] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:1f:26:07 Boom [24-07-06 17:51:47.2006] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:2a:f4:bd Guest Room [24-07-06 17:51:47.8619] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:1f:26:07 Boom [24-07-06 17:52:47.2368] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:1f:26:07 Boom [24-07-06 17:52:47.2435] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210) Connect daemon is running, but not connected - shutting down to force restart: 00:04:20:2a:f4:bd Guest Room

nrl909 commented 1 month ago

To expand on this, I am also experiencing the following loop in the logs that results in no players showing up in Spotify Connect:

[24-08-02 10:08:48.8027] Plugins::Spotty::Connect::DaemonManager::initHelpers (92) Checking Spotty Connect helper daemons...
[24-08-02 10:08:48.8032] Plugins::Spotty::Connect::DaemonManager::initHelpers (122) This is the sync group's master, or a standalone player with Spotify Connect enabled: 9c:9c:1f:f3:0e:88
[24-08-02 10:08:48.8036] Plugins::Spotty::Connect::DaemonManager::startHelper (143) Need to create Connect daemon for 9c:9c:1f:f3:0e:88
[24-08-02 10:08:48.8061] Plugins::Spotty::Connect::Daemon::start (90) Starting Spotty Connect daemon: 
/config/cache/InstalledPlugins/Plugins/Spotty/Bin/i386-linux/spotty-x86_64 -c /config/cache/spotty/9c9c1ff30e88 -n Kitchen --disable-audio-cache --bitrate 96 --player-mac 9c:9c:1f:f3:0e:88 --lms 192.168.68.116:9000 --ap-port=12321

...

[24-08-02 10:08:49.5580] Plugins::Spotty::Connect::DaemonManager::checkAPIConnectPlayers (210) Connect daemon is running, but not connected - shutting down to force restart: 9c:9c:1f:f3:0e:88 Kitchen
[24-08-02 10:08:49.5581] Plugins::Spotty::Connect::DaemonManager::stopHelper (176) Shutting down Connect daemon for 9c:9c:1f:f3:0e:88 (pid: 421)
[24-08-02 10:08:49.5582] Plugins::Spotty::Connect::Daemon::stop (144) Quitting Spotty Connect daemon for 9c:9c:1f:f3:0e:88