Homestead: unable to access 'https://github.com/laravel/homestead.git~/Homestead/': Could not resolve host: github.com

Created on 11 Jul 2019  路  5Comments  路  Source: laravel/homestead

$ git clone https://github.com/laravel/homestead.git~/Homestead
Cloning into 'Homestead'...
fatal: unable to access 'https://github.com/laravel/homestead.git~/Homestead/': Could not resolve host: github.com

Please note that the Homestead issue tracker is reserved for bug reports and enhancements. We are not always able to debug Vagrant, Provider or Operating System issues, but will do our best to help. Thank you!

Versions

  • Vagrant: Run vagrant -v to show the version.
  • Provider: Virtualbox, VMWare, Hyper-V, or Parallels and its version.
  • Homestead: You should be on the most recent release branch.

A lot of issues can be resolved by simply updating vagrant, provider or homestead.

Note: Virtualbox users, please upgrade to 6.x. You'll need to download a newer version of Virtualbox.

Host operating system

This is the operating system that you run locally.

Homestead.yaml

# Copy-paste your Homestead.yaml here

Vagrant destroy & up output

Provide a link to a GitHub Gist containing the complete output of vagrant destroy && vagrant up.
Do NOT paste the debug output in the issue, just paste the link to the Gist.

Expected behavior

What should have happened? Please include as much detail as possible.

Actual behavior

What actually happened? Please include as much detail as possible.

Steps to reproduce

1.
2.
3.

References

Are there any other GitHub issues (open or closed) that should be linked here?
For example:

  • GH-1234
  • ...

Most helpful comment

git config --global --unset https.proxy, it saved me

All 5 comments

You're missing a space between the repo URL and the destination folder.

Run this: git clone https://github.com/laravel/homestead.git ~/Homestead

I am also facing the same issue:

fatal: unable to access 'https://githuab.com/CSB-book/CSB.git/': Could not resolve host: githuab.com

None of the above mentioned solutions didn't work for me :)

Please help!!!

@rijithjayarajan You've misspelled github.com

git config --global --unset https.proxy, it saved me

git config --global --unset https.proxy, it saved me

Saved me too, thanks! Why does this work btw?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

it-can picture it-can  路  3Comments

teleclimber picture teleclimber  路  3Comments

Modelizer picture Modelizer  路  5Comments

mattmcdonald-uk picture mattmcdonald-uk  路  3Comments

Quix0r picture Quix0r  路  4Comments