Bug 9526 - player not connected to at startup
: player not connected to at startup
Status: CLOSED FIXED
Product: SB Controller
Classification: Unclassified
Component: SB Server
: unspecified
: PC Other
: -- critical (vote)
: 7.3
Assigned To: Ben Klaas
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-17 15:14 UTC by Ben Klaas
Modified: 2008-12-15 12:07 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Klaas 2008-09-17 15:14:35 UTC
I'm seeing an issue on desktop squeezeplay, which is probably also an issue on the controller (will confirm that later). When starting up, jive doesn't send out Comet requests to get the various *status notifications (menu, server, player). This issue happens most, but not all of the time. It seems to never happen in 7.1.

When the issue is not hit, serverNew jnt notification is sent out, and Comet calls _handshake(), which then sends pending subs after connecting:

152906:311 INFO (NetworkThread.lua:190) - NetworkThread starting...
152906:426 INFO (SlimServer.lua:365) - SlimServer {DaddyMac-367.local}: address set to 10.37.129.2:9000 netstate=disconnected
152906:426 ERROR (Comet.lua:172) - Comet {DaddyMac-367.local}: setEndpoint state=UNCONNECTED, 10.37.129.2, 9000, /cometd
152906:427 INFO (NetworkThread.lua:249) - NOTIFY: serverNew(SlimServer {DaddyMac-367.local})
152906:427 INFO (SlimServer.lua:476) - SlimServer {DaddyMac-367.local}:connect
152906:427 DEBUG (Comet.lua:196) - Comet {DaddyMac-367.local}: connect state=UNCONNECTED
152906:427 DEBUG (Comet.lua:557) - Comet {DaddyMac-367.local}: _handshake(), calling: http://10.37.129.2:9000/cometd
152906:427 DEBUG (Comet.lua:569) - Will re-subscribe to /slim/serverstatus
152906:427 DEBUG (Comet.lua:569) - Will re-subscribe to /slim/menustatus/97:09:44:af:c6:36
152906:427 DEBUG (Comet.lua:569) - Will re-subscribe to /slim/playerstatus/97:09:44:af:c6:36
152906:427 DEBUG (Comet.lua:569) - Will re-subscribe to /slim/displaystatus/97:09:44:af:c6:36
152906:427 DEBUG (Comet.lua:538) - Comet {DaddyMac-367.local}: state is CONNECTING
152906:437 DEBUG (Comet.lua:629) - Comet {DaddyMac-367.local}: _handshake, advice updated from server
152906:437 DEBUG (Comet.lua:636) - Comet {DaddyMac-367.local}: _handshake OK, clientId: b35e456a
152906:437 DEBUG (Comet.lua:657) - Comet {DaddyMac-367.local}: _connect()
152906:437 DEBUG (Comet.lua:680) - Sending pending request(s):


When this issue is hit, serverNew notification is sent out, but Comet's _getHandshakeSink() closure is never called at all.

152557:326 INFO (NetworkThread.lua:190) - NetworkThread starting...
152559:2247 INFO (SlimServer.lua:365) - SlimServer {DaddyMac-367.local}: address set to 10.37.129.2:9000 netstate=disconnected
152559:2247 ERROR (Comet.lua:172) - Comet {DaddyMac-367.local}: setEndpoint state=UNCONNECTED, 10.37.129.2, 9000, /cometd
152559:2248 INFO (NetworkThread.lua:249) - NOTIFY: serverNew(SlimServer {DaddyMac-367.local})
<nothing>
Comment 1 Ben Klaas 2008-09-25 09:06:50 UTC
fixed, r2970
Comment 2 James Richardson 2008-12-15 12:07:50 UTC
This bug has been fixed in the 7.3.0 release version of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.