I'd look at the router and WiFi signal and channel. Reboot router.
I use to see that message a couple years back. I'd turn WiFi off and back on.
A new router, firmware, a mini access point to better cover house - have a cement wall blocking signal.
While WiFi is on it may also be trying to use cellular data and could be trying to switch over.