ashjan213 wrote:
https://discussions.apple.com/content/attachment/140db02d-bd7f-4055-a873-d52b9a85dd07
If you have an Ethernet port, you may in some cases be able to move your Mac close to the Router or connect to the Router using Ethernet cable.
Power Cycle your router
Disable any VPN or Proxy server
Uninstall any third party Cleaners,Optimizers,Anti-virus
Do a safe boot https://support.apple.com/en-us/HT201262
Recovery (both M1 and Intel) — https://support.apple.com/en-us/HT204904