Intermittently unable to load websites for a few minutes in Safari
I asked this question before, but all I got was a suggestion to update the macOS, which wasn't actually relevant… The problem has persisted from 12.2 through to 13.2.1! The problem has occurred 3 times in the last 24 hours, and most apps won't launch while the computer is in this state.
I need some pointers as to where to go next please… I've had this problem for a while now, and it has persisted across an update from Monterey to Ventura. (Started in macOS 12.2 within a fortnight of getting this machine in March 2022.)
Every now and then Safari will not be able to load any webpages. I can still ping and do DNS lookups from the Terminal. The problem goes away after a few minutes. I can not predict when it will happen – I thought it was after waking from sleep, but it isn't…
When the machine is in this state, if I try to launch Google Chrome I get a message that "Google Chrome can not be opened". Once the problem has cleared, Google works fine – but if it was open when the problem started it also loses the ability to load webpages.
I've tried "sudo lsof -n -I TCP" to see what has open ports, but it also hangs during the fault. Activity Monitor's giving me no clues either.
iStat Menus also hangs during this issue, but quitting it doesn't help. Turning off Wi-Fi doesn't help – I have a LAN connection too. Other devices (iPad, etc) work normally during these outrages.
I'd be grateful even for a decent Google search to suggest more troubleshooting steps! I'd love to be able to figure out what exactly is temporarily hanging when this happens…
Thanks!
[Re-Titled by Moderator]
MacBook Pro (M1, 2020)