I suspect this may be being caused by a network/connectivity issue. If possible, are you able to temporarily switch to a mobile data connection and check if the error persists? This can help to determine if the issue is network/ISP related.
Otherwise, our general connectivity solutions may be of help here: