The problem lies with the DNS resolution, causing the local machine to be unable to locate some or all hosts.
It can be frustrating, as some of the websites work, but tend to be slow. I had assumed that the problem was due to a slow internet connection, it took me some time to figure out that the issue was the DNS.
I’m using Docksal on my machine which overrides the systems’ DNS settings to facilitate local dev domains.
Even if Docksal is not up, run the following command:
fin config set –global DOCKSAL_DNS_DISABLED=1
fin system reset
This will fix the issue.
Source https://docs.docksal.io/core/system-dns/