Can't access GitHub when sharing wifi from phone #21566
-
I just moved to a flat without internet, so I have to share my connection from my phone using a hotspot. Everything works fine even with other git providers. But for some reason I can’t access any thing on GitHub, not even the main page. From the phone there’s no problem accessing but not from any of my laptops. |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
Hi @lifeBalance and welcome to the GitHub Support Community! If you’re able to connect from on your phone, I expect this is likely software running on your computer. First, I’d like to check if your computer’s DNS provider allows you to resolve GitHub. Could you please Next, I’d like to know the exact error message you’re receiving. Finally, I’d like you to try a test clone using both HTTPS and SSH, to determine if there is something blocking HTTPS traffic to GitHub. Please let me know what you find. Thanks! Allie |
Beta Was this translation helpful? Give feedback.
-
Nslookup GitHub gives me: |
Beta Was this translation helpful? Give feedback.
-
Hi @lifeBalance if you can’t get a DNS lookup reply for GitHub, this points to either a custom DNS server or software on your computer proxying DNS and blocking GitHub - do you have any security software running you can temporarily disable to test it? Can you please provide the full output from |
Beta Was this translation helpful? Give feedback.
-
Well I have the same issue on two machines: one running macos and another on Ubuntu. None have any software that I know off that could interfere. |
Beta Was this translation helpful? Give feedback.
-
That photo tells us that your laptop seems to be using an internal DNS cache. How about the query for github.com? |
Beta Was this translation helpful? Give feedback.
-
Hmm, is it possible to clean that cache? |
Beta Was this translation helpful? Give feedback.
-
That’s really odd, the cache should at least give you an error response! If you can try It’s probably possible to clear the cache, how depends on your system. E.g. on an Ubuntu or Debian desktop system you probably either have |
Beta Was this translation helpful? Give feedback.
-
Odd indeed, especially bc the issue appears in 2 different machines and only with GitHub.com |
Beta Was this translation helpful? Give feedback.
-
Ok, found the source of the issue. There’s a setting on my sh**ty android phone named Private DNS. I had to turn it off, and finally could access github from my laptop connected to my shared WIFi. (Go figure what that setting does…) |
Beta Was this translation helpful? Give feedback.
-
same issue even my Private DNS is off , i have on DNS again off and restart phone now it's working fine . thanks .. |
Beta Was this translation helpful? Give feedback.
Ok, found the source of the issue. There’s a setting on my sh**ty android phone named Private DNS. I had to turn it off, and finally could access github from my laptop connected to my shared WIFi. (Go figure what that setting does…)