I encountered a very strange problem that I couldn't find anybody ever reported anywhere using Google.

On my MacBook using my iPhone SE's personal hotspot, it is almost not possible to access GitHub. It may work once at the beginning (i.e. the first connection), then "Safari cannot find the server", and after waiting for 15-20 minutes, it may work again.

Some important observations:

  • The issue does not happen for any other websites than GitHub.

  • On the iPhone, it works. Thus the phone's 4G connection is not an issue.

  • Using another iPhone (6S) with another 4G network (different carrier) as personal hotspot, it works.

I've desperately searched for a solution on Google but it seems nobody ever had the same issue.

Could you please help? Thank you very much in advance!

Update: Google Chrome doesn't work either, so the issue is not specific to Safari.

  • I’d take a look at the output of curl -v https://github.com on both hosts. See if it’s safari or the network intercepting traffic.
    – jsbillings
    Jul 12, 2020 at 15:14
  • @jsbillings Thanks for your comment. I obtained: Could not resolve host: github.com. However, I can access GitHub on Safari...
    – f10w
    Jul 12, 2020 at 15:20
  • @jsbillings Currently I have no issue accessing GitHub on Safari, but I think it is coming soon, I'll run again curl to see if there's a difference.
    – f10w
    Jul 12, 2020 at 15:22
  • @jsbillings Now I can no longer access GitHub on Safari and, unsurprisingly, curl gave Could not resolve host: github.com...
    – f10w
    Jul 12, 2020 at 16:21
  • Google Chrome doesn't work either.
    – f10w
    Jul 12, 2020 at 16:26

1 Answer 1


It was an DNS issue (thanks to @jsbillings for pointing out). Using Cloudflare's DNS is a workaround.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .