Bugzilla – Bug 12654
SC keeps reporting crashed server
Last modified: 2009-10-05 14:34:59 UTC
I've got a problem with the "other players" feature of the serverstatus. It keeps reporting a player/server combo that is no longer there. Scenario: I run a test server on my Mac (latest 7.4) and that crashed yesterday and hasn't been active since. However, all my other servers on the network (7.3.3 and 7.4) still report it's player in the "other players" loop of the "serverstatus" query: other_players_loop => [ { model => "squeezeslave", name => "SqueezeslaveMac", playerid => "01:01:01:01:01:01", server => "JoergsAir", serverurl => "http://JoergsAir:9000/", }, ], What is this, how does it get out of there and why doesn't my controller show it? I also don't see the extra player/server on the Web UI. I use cometd for communication and the serverstatus command I use is: [ "serverstatus", 0, 255, "prefs:ignoredarticles,browseagelimit,noGenreFilter,PLUGIN_TRACKSTAT,language,audiodir", "playerprefs:playtrackalbum,digitalVolumeControl,plugin.irblaster:volumeup_count", "subscribe:60" ] Oh, the player is squeezeslave and not running anymore (since the crash), too.
Let QA know if there's anything we can do to help, Michael.
I should probably add that I'm seeing generally a lot of issues with the reporting of players connected to other servers in 7.4. If server A is on 7.4 and Server B is on 7.3.3 I can generally see all players connected to A also through B while it does not work the other way around. A can sometime see players on a third server C (also 7.4) but these seem to stick around even when the server is gone (original issue).
OK, this is NOT limited to 7.4 and NOT limited to crashed servers, but also to ones that are alive (at least again). Look at this, amusing, just got ot from a 7.3.3 server: "JoergsAir" is NOT running (and the machine is actually not even present on the network right now) "JoergAppy" IS running, but only "Squeezebox2" and "Squeezebox3" are connected to it, the duplicate ones are connected to the server reporting all this (so the OWN players reported are correct). [{ "data":{ "other player count":5, "ignoredarticles":"The El La Los Las Le Les Der Die Das A", "language":"EN", "info total albums":"880", "player count":4, "version":"7.3.3", "players_loop":[{ "playerid":"00:04:20:10:11:0d", "displaytype":"graphic-320x32", "connected":1, "ip":"192.168.0.59:32481", "model":"transporter", "name":"Transporter", "uuid":null, "isplayer":1, "canpoweroff":1, "digitalVolumeControl":"1", "playtrackalbum":"1", "power":0 },{ "playerid":"00:04:20:12:3b:42", "displaytype":"graphic-320x32", "connected":1, "ip":"192.168.0.110:16757", "model":"squeezebox3", "name":"JoergsSqueezy", "uuid":null, "isplayer":1, "canpoweroff":1, "digitalVolumeControl":"1", "playtrackalbum":"1", "power":0 },{ "playerid":"00:04:20:16:0d:8a", "displaytype":"none", "connected":1, "ip":"192.168.0.107:37375", "model":"receiver", "name":"EssSqueezy", "uuid":"4c8246f9d867b1b8ae8439884e1d2bfe", "isplayer":1, "canpoweroff":1, "digitalVolumeControl":"1", "playtrackalbum":"1", "power":"1" },{ "playerid":"00:04:20:1e:01:de", "displaytype":"graphic-160x32", "connected":1, "ip":"192.168.0.111:20888", "model":"boom", "name":"JoergsBoom", "uuid":"c9834e8bbbe2ab860cf2b7820b049598", "isplayer":1, "canpoweroff":1, "digitalVolumeControl":"1", "playtrackalbum":"1", "power":0 }], "sn player count":0, "audiodir":"/media/data0/public/Media", "info total artists":"379", "info total songs":"8283", "other_players_loop":[{ "playerid":"00:04:20:26:00:4d", "serverurl":"http://JoergsAppy:9000/", "model":"squeezeplay", "name":"Squeezebox2", "server":"JoergsAppy" },{ "playerid":"00:04:20:10:11:0d", "serverurl":"http://JoergsAppy:9000/", "model":"transporter", "name":"Transporter", "server":"JoergsAppy" },{ "playerid":"00:04:20:22:00:94", "serverurl":"http://JoergsAppy:9000/", "model":"squeezeplay", "name":"Squeezebox3", "server":"JoergsAppy" },{ "playerid":"01:01:01:01:01:01", "serverurl":"http://JoergsAir:9000/", "model":"squeezeslave", "name":"SqueezeslaveMac", "server":"JoergsAir" },{ "playerid":"00:04:20:1e:01:de", "serverurl":"http://JoergsAppy:9000/", "model":"boom", "name":"JoergsBoom", "server":"JoergsAppy" }], "info total genres":"91", "browseagelimit":"100", "noGenreFilter":"0" }, "id":"1", "channel":"/9c18d4c0/slim/serverstatus", "ext":{"priority":""} }]
Jörg - what's the exact query you're using to get this result? > ones that are alive (at least again). Look at this, amusing, just got ot > from a 7.3.3 server: Which machine is the 7.3.3 server?
> Jörg - what's the exact query you're using to get this result? Oops... already answered in an earlier comment. Do you see the same results in eg. Firebug? Do you see the same wrong list in the web UI, on the Controller etc.?
As before: The web interface shows it correctly.
change 27863 - purge players who've not been seen for more than two minutes, or whose controlling server has disappeared. After a few minutes your list should be clean.
OK, will try. BTW, in 7.4 currently my list is ALWAYS clean. As in: it never shows any other server's players. Not in the Web UI, not in the query. The reverse does work, though: 7.3.3 shows my 7.4 server's players (albeit with this error).
*** Bug 13201 has been marked as a duplicate of this bug. ***
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server! * SqueezeCenter: 28672 * Squeezebox 2 and 3: 130 * Transporter: 80 * Receiver: 65 * Boom: 50 * Controller: 7790 * Radio: 7790 Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.