Error connecting through gh auth login

Hi, I have been trying to set up a private repo using Github CLI but everytime I try authenticating using

gh auth login, I get the following error:

error connecting to api.github.com
check your internet connection or githubstatus.com

Has anybody dealt with this before?

:wave: Welcome!

That’s a DNS error - are you working behind a proxy, or anything else that might block traffic? We haven’t had any reported recent downtime:

1 Like

I think the university VPN was an issue. It’s working now. Thank you!

1 Like