cancel
Showing results for 
Search instead for 
Did you mean: 

GitHub.com blocked but WebSafe disabled

kingbenryi
Tuning in

2 days ago I got the new Virgin SuperHub 5. I didn't want it but Virgin said I had to have it and it's better, fair enough.

 

Anyway yesterday 'git push' stopped working. I spent a few hours looking into why this is and then realised it could be the new router. To test, I connected my laptop to a personal hotspot on my phone (4G) and it worked instantly. Switched back to wifi and nothing.

To test, I ran the following command:

ssh -vT git@github.com

This works fine through 4g but times out via WiFi.

The fixes online (change DNS) and disable WebSafe have been in place for years. The GitHub.com IP correctly resolves to the right IP.

Modifying ~/.ssh/config to move things to port 443 does fix it, but this isn't a real fix and I want to make sure I can use git as normal. I do not want Virgin interfering with my connection at all.

1 ACCEPTED SOLUTION

Accepted Solutions

I managed to fix this issue, although the fix itself doesn't make any sense. I will include it here in the hopes that one day, it will help someone else. Also, someone might see it and tell me why this fixes the issue. Anyway, to fix it, add the following to ~/.ssh/config Host * ConnectTimeout 10 Setting a connection timeout (which I tried just to make debugging quicker) makes it connect instantly using SSH. ssh -vT git@github.com This now works perfectly.

See where this Helpful Answer was posted

4 REPLIES 4

Anonymous
Not applicable

Adduxi
Very Insightful Person
Very Insightful Person

Try manually setting the DNS on your laptop to 8.8.8.8 and 8.8.4.4 and see if that works?

I'm a Very Insightful Person, I'm here to share knowledge, I don't work for Virgin Media. Learn more

Have I helped? Click Mark as Helpful Answer or use Kudos to say thanks

I managed to fix this issue, although the fix itself doesn't make any sense. I will include it here in the hopes that one day, it will help someone else. Also, someone might see it and tell me why this fixes the issue. Anyway, to fix it, add the following to ~/.ssh/config Host * ConnectTimeout 10 Setting a connection timeout (which I tried just to make debugging quicker) makes it connect instantly using SSH. ssh -vT git@github.com This now works perfectly.

Ryan_N
Forum Team (Retired)
Forum Team (Retired)

Thank you for updating the thread with the solution you've found :)! 

 

Cheers, 

Ryan.