My experience is that the question comes up if it can't reach some (unknown) Roku server, so if it's coming up it points to some problem with your router, but it's hard to say what. Try connecting to your phone's hotspot and if that works it's another indicator that your network equipment is to blame. As a first attempt at fixing it, restart everything involved - gateway/modem/router and Roku.
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.