Have you tried turning off the Sonos and the router at the wall. Then turn the router back on and let it fully boot up, then turn the Sonos back on?
I tried that, but it didn’t solve my problem.
In that case, I would recommend that you submit a system diagnostic within 10 minutes of experiencing this problem, and call Sonos Support to discuss it. But don’t post the resulting diagnostic number here, they get sensitive about GDPR.
There may be information included in the diagnostic that will help Sonos pinpoint the issue and help you find a solution.
When you speak directly to the Support staff, they have tools at their disposal that will allow them to give you advice specific to your network and Sonos system.