Re: [SlimDevices: SqueezeCenter] Disconnecting players

2021-08-17 Thread stephanvdplas


After a lot of investigating and cross-testing, the issues are
pinpointed as follows:

- The root couse of the issue can be: 
* network issue
* restart of the squeezeserver service.

This is of course not strange. A network issue or a restart of the
service leads to a disconnect. BUT imho the players should automatically
reconnect after a small time. My SB radio's and software players do
reconnect automatically. But the SB receivers and Boom don't. Only way
to reconnect is a power-cycle by unplugging the power cable for some
seconds.



stephanvdplas's Profile: http://forums.slimdevices.com/member.php?userid=44861
View this thread: http://forums.slimdevices.com/showthread.php?t=113698

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Disconnecting players

2021-01-19 Thread stephanvdplas


Some extra information:

When the player is disconnected (and as such presumable frozen), I see
this in the logfile:


Code:

[21-01-19 16:20:20.1919] Slim::Networking::Discovery::gotDiscoveryRequest 
(85) gotDiscoveryRequest: deviceid = 7, revision = 4.13, MAC = 00:04:20:18:05:9f
  [21-01-19 16:20:20.1921] Slim::Networking::Discovery::gotDiscoveryRequest 
(97) It's a Squeezebox
  [21-01-19 16:20:20.1923] Slim::Networking::Discovery::serverHostname (51)  
calculated Server length: 17
  [21-01-19 16:20:20.1926] Slim::Networking::Discovery::gotDiscoveryRequest 
(108) gotDiscoveryRequest: Sent discovery response.
  [21-01-19 16:20:21.7534] Slim::Networking::Discovery::gotTLVRequest (217) 
sending response
  [21-01-19 16:20:23.1924] Slim::Networking::Discovery::gotDiscoveryRequest 
(85) gotDiscoveryRequest: deviceid = 7, revision = 4.13, MAC = 00:04:20:18:05:9f
  [21-01-19 16:20:23.1926] Slim::Networking::Discovery::gotDiscoveryRequest 
(97) It's a Squeezebox
  [21-01-19 16:20:23.1928] Slim::Networking::Discovery::serverHostname (51)  
calculated Server length: 17
  etc



This 00:04:20:18:05:9f is an ethernet connected Receiver. It somehow
does a request to the server, but the server seems to be sending a
response, after which a new request is sent 3 seconds later which
repeats continuously.

In the network, I can see the packages sent by the Receiver are
broadcasts on UDP port 3483 and 17784. Server and Receiver are (in this
case) in the same subnet. There are no other LMS servers in the subnet
(or anywhere else in the network).

What has to be found out is, why there is sent a response by the LMS
server, but the Receiver doesn't react on that response.



stephanvdplas's Profile: http://forums.slimdevices.com/member.php?userid=44861
View this thread: http://forums.slimdevices.com/showthread.php?t=113698

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Disconnecting players

2021-01-19 Thread stephanvdplas


Redrum wrote: 
>  I would still encourage taking one at a time out of the mix. For
> example, a radio rebuffered and it cause the boom to lock things up.
> Take out either the radio or boom, and see what happens. Maybe you can
> zero in one one or two problem players.
> Jim

Hi Jim,

I will spend the next weeks (inbetween working at home sessions) to try
diferent configurations. I'll let you know the outcomes via a reply to
this post.
Thanks again for your help so far.



stephanvdplas's Profile: http://forums.slimdevices.com/member.php?userid=44861
View this thread: http://forums.slimdevices.com/showthread.php?t=113698

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Disconnecting players

2021-01-19 Thread Redrum


stephanvdplas wrote: 
> Hi Jim,
> 
> once again thanks for your reply. In my case, I am facing the issue with
> ALL receivers and I have a spare receiver having the same issue. Also
> the Boom has the same issue. Wether connected by Wi-Fi or cabled, a
> receiver disconnects and freezes AT THE MOMENT an other players
> (re)joins the server.
> Optimizing Wi-Fi is a part of the solution, because the issue than
> happens less often (because less moment of rejoining players), but it is
> not a solution itself. There must be a reason why players freeze when an
> other player joins.

ok, I think I have a clear understanding now. What you are seeing is a
player disconnecting (rebuffering?), then when it is ready to resume
(rebuffering complete), the syncing process starts, and that
disables/locks up one or more of the receivers/booms (who previously
were playing fine). Because they are synced this stops everything,
Correct?

maybe one of the dev's could help you with exactly what happens with the
syncing process. Also, maybe try the "Group Players" plugin.
https://forums.slimdevices.com/showthread.php?108558-ANNOUNCE-Group-Players=group
Philippe would have to tell you if syncing is handled any differently
with his plugin.

Other than that I am at a loss. I also have never synced more than, say
3 devices, although I own alot! :). I would still encourage taking one
at a time out of the mix. For example, a radio rebuffered and it cause
the boom to lock things up. Take out either the radio or boom, and see
what happens. Maybe you can zero in one one or two problem players.

Don't forget to suspect power supplies.

Good luck!
Jim



Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806
View this thread: http://forums.slimdevices.com/showthread.php?t=113698

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Disconnecting players

2021-01-19 Thread stephanvdplas


Redrum wrote: 
> if you are using wifi with a receiver, don't discount the possibility.
> Especially with receivers. Trust me and many others on this. Just search
> "receivers" in this forum :p. Since you have allot of players synced and
> carnage (more than one player affected) happens when one has an
> exception, I would strongly suggest taking a player/players out of the
> mix and see what happens, try to see if you can narrow it down to one
> player that is the troublemaker. If you find one, and you can, swap the
> power supply with another like ps. As the PS's fail, they can "work" but
> be bad. You can also try moving the troubled player, or temp hookup with
> ethernet.
> 
> You mentioned in your first post that it has been a year, which means it
> didn't used to happen. That could be a power supply, or, what else has
> changed?, new ISP, new router, moved the players, etc.
> 
> Jim
> 
> Jim

Hi Jim,

once again thanks for your reply. In my case, I am facing the issue with
ALL receivers and I have a spare receiver having the same issue. Also
the Boom has the same issue. Wether connected by Wi-Fi or cabled, a
receiver disconnects and freezes AT THE MOMENT an other players
(re)joins the server.
Optimizing Wi-Fi is a part of the solution, because the issue than
happens less often (because less moment of rejoining players), but it is
not a solution itself. There must be a reason why players freeze when an
other player joins.



stephanvdplas's Profile: http://forums.slimdevices.com/member.php?userid=44861
View this thread: http://forums.slimdevices.com/showthread.php?t=113698

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Disconnecting players

2021-01-18 Thread Redrum


stephanvdplas wrote: 
> Hello all,
> 
> Thanks for all your replies.
> 
> I understand your concerns about Wi-Fi. I know it strength doesn't say
> it all. But I am sure that Wi-Fi is not the issue I am facing now. As
> said I once in a while have short disconnects, but most of the times,
> this makes the player reconnect again, all other players start doing a
> resync and after a gap of abaout 1 sec all players including the one
> that was disconnected for shorter or longer time.
> 
> But this issue is different. AT THE MOMENT a disconnected player
> reconnects, 2 or 3 others freeze and stop playing. The disconnected
> player reconnecting can be, but not always is, one of the freezing
> players. The players that freeze keep on pingable (no time outs at all,
> even not during the moment they start freezing). Players freezing also
> sometimes include ethernet-connected players.
> 
> Thanks for your thoughts so far. I'll be analyzing this and let you know
> one I know more.
> If you have ideas e.g. what log levels are relevant, please let me know.

if you are using wifi with a receiver, don't discount the possibility.
Especially with receivers. Trust me and many others on this. Just search
"receivers" in this forum :p. Since you have allot of players synced and
carnage (more than one player affected) happens when one has an
exception, I would strongly suggest taking a player/players out of the
mix and see what happens, try to see if you can narrow it down to one
player that is the troublemaker. If you find one, and you can, swap the
power supply with another like ps. As the PS's fail, they can "work" but
be bad. You can also try moving the troubled player, or temp hookup with
ethernet.

You mentioned in your first post that it has been a year, which means it
didn't used to happen. That could be a power supply, or, what else has
changed?, new ISP, new router, moved the players, etc.

Jim

Jim



Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806
View this thread: http://forums.slimdevices.com/showthread.php?t=113698

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Disconnecting players

2021-01-18 Thread stephanvdplas


Hello all,

Thanks for all your replies.

I understand your concerns about Wi-Fi. I know it strength doesn't say
it all. But I am sure that Wi-Fi is not the issue I am facing now. As
said I once in a while have short disconnects, but most of the times,
this makes the player reconnect again, all other players start doing a
resync and after a gap of abaout 1 sec all players including the one
that was disconnected for shorter or longer time.

But this issue is different. AT THE MOMENT a disconnected player
reconnects, 2 or 3 others freeze and stop playing. The disconnected
player reconnecting can be, but not always is, one of the freezing
players. The players that freeze keep on pingable (no time outs at all,
even not during the moment they start freezing).

Thanks for your thoughts so far. I'll be analyzing this and let you know
one I know more.
If you have ideas e.g. what log levels are relevant, please let me know.



stephanvdplas's Profile: http://forums.slimdevices.com/member.php?userid=44861
View this thread: http://forums.slimdevices.com/showthread.php?t=113698

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Disconnecting players

2021-01-17 Thread edwin2006


w3wilkes wrote: 
> Here's one I came across with my Duet receivers. One on main floor, same
> as my router and one in the basement. I had put a powerline adapter so I
> could add a second access point in the basement. I set it up with
> separate SSID's so that I would have no trouble directing a connection
> to the desired wifi. Then I upgraded my main router and missed that I'd
> put its wifi on the same channel as my AP in the basement. For a couple
> of weeks I had all kinds of problems with my receivers disconnecting.
> One day after I'd had enough I got serious about figuring out what the
> issue was. I found 2 things 1- The AP and main router were using the
> same channel 2- The new main router had a much stronger / larger wifi
> footprint than the router it replaced. I've now removed my AP and
> powerline ethernet extender and haven't had a disconnect on either of my
> receivers since.
> 
> Wifi is finicky, check for neighboring routers using the same channel as
> your router. I've also found the wifi to be more stable for the
> receivers if I use an explicit channel vs having the router channel set
> in auto. The receivers seem to like it better when the wifi channel
> stays the same all the time.Not to mention a powerline ethernet extender. 
> Tried them several times,
multiple buildings/homes and always a headache. Now I don't use them at
all. Either a wireless bridge or a Ethernet cable.



*SqueezeBoxes:* 1x Transporter (Living room) 1x SB2 (shed), 1x Radio
(Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x
piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch
(Study 2), few spare unit's
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=113698

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Disconnecting players

2021-01-17 Thread w3wilkes


Here's one I came across with my Duet receivers. One on main floor, same
as my router and one in the basement. I had put a powerline adapter so I
could add a second access point in the basement. I set it up with
separate SSID's so that I would have no trouble directing a connection
to the desired wifi. Then I upgraded my main router and missed that I'd
put its wifi on the same channel as my AP in the basement. For a couple
of weeks I had all kinds of problems with my receivers disconnecting.
One day after I'd had enough I got serious about figuring out what the
issue was. I found 2 things 1- The AP and main router were using the
same channel 2- The new main router had a much stronger / larger wifi
footprint than the router it replaced. I've now removed my AP and
powerline ethernet extender and haven't had a disconnect on either of my
receivers since.

Wifi is finicky, check for neighboring routers using the same channel as
your router. I've also found the wifi to be more stable for the
receivers if I use an explicit channel vs having the router channel set
in auto. The receivers seem to like it better when the wifi channel
stays the same all the time.



Main system - Rock Solid with LMS 7.9.4 Official on WHS 2011 - 2 Duets
and Squeeseslave
Cabin system - Rock solid with LMS 7.9.4 Official on Win10 Pro - 1 RPi 3
Model B/Hifiberry DAC+ Pro/PiCorePlayer and Squeezeslave
Test system - LMS 8.0 nightly on Win10Pro - Squeezeplay
Squeezebox Boom - "At Large" player around both home and cabin
Headphones and car - Android phone/Bluetooth w/full library on MicroSD
card - PowerAmp music player app (similar to Material Skin)

w3wilkes's Profile: http://forums.slimdevices.com/member.php?userid=22973
View this thread: http://forums.slimdevices.com/showthread.php?t=113698

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Disconnecting players

2021-01-17 Thread Redrum


you might want to follow along as this new thread develops, 6 radios
which freeze and need power cycles.

https://forums.slimdevices.com/showthread.php?113696-Remotely-reboot-Squeezebox-Radio

As d6jg says, it can be wifi induced even if it doesn't appear to be so.
I have had exactly as you describe, but only with receivers on wifi,
either synced (with other player types) or not. I have only had
receivers get "lost" or "freeze" where only a factory reset can restore
functionality. If other players are synced, they also are disabled
(until I unsync them). One I put my receivers on ethernet I have not had
any problems like this. It has been years and my players are used
heavily. I should also mention that I got a better ISP, and upgraded my
routers (Asus 66U series).

You asked what you can do to troubleshoot. Since you say this happens
frequently, I would start to eliminate players from the mix, or, at
least disconnect a sync link (sync 4 together and 5 together) and see
one group fails while the other plays, if so, continue to narrow (say 2
and 2). If you get down to one you suspect, try a different power supply
or swap and see if the problem follows the supply. Since you suspect the
RX's and boom, maybe make this it's own group.

Also, if at all possible, run ethernet at least temporarily, and I
personally would suspect the receivers as well if any of them are wifi.

You can also have them play muted while you are not home/sleeping, then
come back and see if they are still playing, as you say that power cycle
is the only thing that fixes them. One final thought, if you do get a
lockup, try power cycling one at a time, trying to resume each time to
see if you can find the troubled player (if only one).

Jim



Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806
View this thread: http://forums.slimdevices.com/showthread.php?t=113698

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Disconnecting players

2021-01-17 Thread d6jg


You are aware that you can have 100% WiFi signal strength and still have
major WiFi issues? Signal strength is not a good indicator at all.



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* Joggler & Pi4/Khadas  -> Onkyo TXNR686 -> Celestion F20s

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Boom 
*Kitchen* UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes
Everything controlled by iPeng & Material on iOS

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=113698

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] Disconnecting players

2021-01-17 Thread stephanvdplas


Hello all,

I have a strange issue now for about some time (more than a year).

I 'm running LMS (latest beta) on Windows 10 for quite a while (used to
run Windows Home Server in the past, but upgraded to Windows 10 5 years
ago i think). I have 9 players connected: 3x receiver, 3x radio, 1x
boom, 2x squeezelite/squeezeplay software.

When 1 of my players disconnects for some seconds (e.g. because of wifi
signal) and reconnects after some seconds, most of the times there is a
small pause because of re-sync and then all players resume playing. This
is expected behaviour.

But sometimes, and this happens about once or twice per day now, at
exactly the moment that the temporary missing player reconnects, 2 or 3
other players (actually almost always 1 or 2 receivers and/or the boom)
disappear and are only returning after a power-cycle. The boom gives a
little more info, because of the display: it hangs completely. It says
resyncing and shows the current title at the time of reconnection of the
first disconnected player and does not react on any interaction. Rarely
it also happens with a jive-based (radio or squeezeplay). In that case
software doesn't hang, but can be reconnected by browsing to my music -
artists.

What can I do to troubleshoot? I already have been examining the logs
(even set some logging to info or debug, like network.*,
player.streaming*) but cannot find any explanation. 

Thanks for your replies!



stephanvdplas's Profile: http://forums.slimdevices.com/member.php?userid=44861
View this thread: http://forums.slimdevices.com/showthread.php?t=113698

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter