Bugzilla – Bug 10250
SBC does not reconnect to SN when coming out of sleep (power up)
Last modified: 2009-09-08 09:20:10 UTC
When the SBC is attached to SN, it fails to reconnect to the last player it was attached to when recovering from sleep. This will happen if the player is any IP3K or SBR device. Steps to reproduce: Attach Duet to SN Leave SBC in our out of dock stop any music playback Allow the SBC to go to sleep Bring the SBC out of sleep and notice that it has dropped the player and is at the 'choose player' menu. SBC is at white network icon. This has been reproduced with 7.2 3191 as well as 7.3 nightly firmware. Which SBC Logs would you like me to attempt to capture?
James will get net.comet logs from the controllers and attach to this.
Created attachment 4398 [details] 1st log set
Created attachment 4399 [details] 2nd log set
Ben: See the 2 attached logs, tell me if that helps or not?
afaict, playerConnected message is not being generated by Player.lua That's the same conclusion I came to when investigating one of the other bugs that have been open in the past few weeks related to SN/SC switching. No cause as of yet, but my hunch is a race condition, esp. since it seems to show up with SN. Will investigate further tomorrow.
Ben: here are 2 more logs, from the SBC's I have at home
Created attachment 4401 [details] SBC 1
Created attachment 4402 [details] SBC 2
From the attachment marked "SBC 1", I'm seeing that the controller does not think that SN has any attached players. James, any chance your player is attaching itself to a different SN account than your controller? Dec 8 19:43:33 SqueezeboxController user.debug jive: (Comet.lua:795) - Comet {SqueezeNetwork}: _response, /116538X01ddddbfe4d0beae215d2384d6000320X1228775412Xc247165f/slim/serverstatus id=1 OK Dec 8 19:43:33 SqueezeboxController user.debug jive: (Comet.lua:855) - Comet {SqueezeNetwork}: _response, notifiying callbacks for /slim/serverstatus Dec 8 19:43:33 SqueezeboxController user.debug jive: (Comet.lua:858) - callback to: function: 0x154c80 Dec 8 19:43:33 SqueezeboxController user.info jive: (SlimServer.lua:201) - SlimServer {SqueezeNetwork}: has no players! Dec 8 19:43:55 SqueezeboxController user.info jive: (SqueezeboxJiveApplet.lua:584) - setPowerState=sleep acpower=true Dec 8 19:43:55 SqueezeboxController user.info jive: (SqueezeboxJiveApplet.lua:997) - Set CPU speed 200000 Dec 8 19:43:57 SqueezeboxController user.info jive: (SlimDiscoveryApplet.lua:189) - Removing player Player {Squeezebox 161147} Dec 8 19:43:57 SqueezeboxController user.info jive: (Player.lua:430) - Player {Squeezebox 161147} delete for false Dec 8 19:43:57 SqueezeboxController user.info jive: (NetworkThread.lua:249) - NOTIFY: playerDelete(Player {Squeezebox 161147})
SN builds the list of connected players by using the serviceip database field. There is another bug where somehow players are connected to SN but this field is null. This would cause the player list to be empty. Wonder if they are related.
(In reply to comment #9) > From the attachment marked "SBC 1", I'm seeing that the controller does not > think that SN has any attached players. James, any chance your player is > attaching itself to a different SN account than your controller? > Nope, that is my unit from home, only ever been attached to a single SN account, with a Boom and SB3 as the players. This controller was attached to the Boom before going to sleep
Comment #10 from Andy sounds promising, given what I saw in the log and reported in Comment #9. A bunch more test cycles here at my house waking up to an SN-connected player. Just can't get it to fail here...
Moving to 7.3.1 for further investigation
Changing target to next release
*** Bug 10460 has been marked as a duplicate of this bug. ***
with only these exceptions, my bug list is being retargetted for 8.0 for 7.3.2 (very soon): https://bugs-archive.lyrion.org/show_bug.cgi?id=7186 Browse albums/artists/genres/ years should remember previous state for 7.3.3 (later, but before 8.0): https://bugs-archive.lyrion.org/show_bug.cgi?id=7139 Add editable "Network Settings" page https://bugs-archive.lyrion.org/show_bug.cgi?id=7502 Add setup mode to set Static IPs (even if DHCP is present) https://bugs-archive.lyrion.org/show_bug.cgi?id=7829 Jive menu broken if BLOCK_SIZE == list count + 1 and "Pla... https://bugs-archive.lyrion.org/show_bug.cgi?id=8878 Party Mode https://bugs-archive.lyrion.org/show_bug.cgi?id=10064 SqueezeCenter doesn't always auto-generate playerstatus w... (which will fix 8300) https://bugs-archive.lyrion.org/show_bug.cgi?id=6334 add applet for network diagnostics (currently assigned to Tom)
I'm testing this now with the updated Jive firmware, if it's still valid, I'll assign it back to the appropriate person
I have been unable to reproduce this with 7.3.2/3 and r3856
James to verify with older firmware as well
Created attachment 4761 [details] Failed to connect from Power UP I have been able to repo this again, but it's intermittent. This time was with r3993, from a Power UP See attached log
On the SBC I see the 'home' menu with only 2 options: Now Playing & Settings if I go to Settings > Music Source > SN (only thing listed) the SBC tries to connect to SN bug fails with 'Problem Connecting' message
Created attachment 4762 [details] Failed to connect from Power UP
I updated the log file, powered off SBC, then powered it back on, this time it connected to SN fine
I am only able to get this to fail on TEST.SN (Genisis). Prod.SN has not had an error for me yet.
Created attachment 4763 [details] another serial capture Another serial capture of r3993. I was plugging / unplugging AC, browsing music sources, playing content, controller was sleeping/suspending/waking. Near the end of the log the SBC went red, then would not connect back to test.sn
(In reply to comment #24) > I am only able to get this to fail on TEST.SN (Genisis). Prod.SN has not had > an error for me yet. > I have reproduced the Red Wifi icon on Prod.sn now as well
We are now planning to make a 7.3.3 release. Please review your bugs (all marked open against 7.3.3) to see if they can be fixed in the next few weeks, or if they should be retargeted for 7.4 or future. Thanks!
QA to retest with latest firmware.
So far So good...been testing r5149 for 3 days, no red icon when waking from sleep while attached to SN
I'm also not seeing this any more with 5151, Actiontec MI 424 WR.
Fixed in 7.3.3 - r5225. If you've experienced this bug please update to latest nightly 7.3.3 build. Install the new version of SqueezeCenter, update your Duet firmware, factory reset both Controller and Receiver and setup one more time. Please post here in the bug with your findings. 7.3.3 nightly download here: http://downloads.slimdevices.com/nightly/?ver=7.3
This bug has been fixed in the 7.3.3 release version of SqueezeCenter! If you haven't already. please download the new version from http://www.logitechsqueezebox.com/support/download-squeezecenter.html If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.