This error will also be reported if requests to relevant third-party domains such as braintree-api.com or pay.google.com are being blocked by, for example, a browser privacy addon.
In my case, it was a browser addon that I had not yet disabled for my local development site which caused a few minutes of head scratching.