question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not resolve host: github.com

See original GitHub issue

Description

I create a new repository in my local and complete the changes . After that I opened my github desktop to push the changes to my GitHub repo. As soon as i click the publish button it gave me this error

Version

  • GitHub Desktop:1.22
  • Operating system: windows 10 64 bit

Steps to Reproduce

Expected Behavior

Should publish new repository

Actual Behavior

gave this error - fatal: unable to access ‘https://github.com/shiv1490/Burger-Builder.git/’: Could not resolve host: github.com

Additional Information

Logs

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:80 (10 by maintainers)

github_iconTop GitHub Comments

499reactions
imsrgadichcommented, Aug 14, 2018

Check this out as well. it helped me.

git config --global --unset http.proxy 
git config --global --unset https.proxy
154reactions
shiv1490commented, Jun 11, 2018

Hi All, Issue is resolved now. This was happening because I was behind a corporate proxy. I used below commnad to resolve the issue

git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git: Could not resolve host github.com error while cloning ...
I got a similar error, and it's caused by incorrect proxy setting. This command saved me: git config --global --unset http.proxy. https version:...
Read more >
fatal unable to access could not resolve host GitHub - Edureka
I am using the clone command in Git Bash, but it shows me the below error. fatal: unable to access could not resolve...
Read more >
Git Clone 'Could not resolve host: github.com' ...Firewall ports
DNS is required to resolve the name github.com to an IP address. That's what the. Could not resolve host: github.com. part of the...
Read more >
fatal unable to access could not resolve host GitHub
This can be caused by incorrect proxy settings, or error typing names, make sure you're using the exact URL of whatever you're trying...
Read more >
Deployment Fails: “Could not resolve host: github.com” 2.0
This was just happening again: Deployment Fails: “Could not resolve host: github.com” No visible incidents on any of the status pages…
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found