laravel / homestead

MIT License
3.87k stars 1.44k forks source link

php_network_getaddresses: error #1521

Closed pepijndik closed 4 years ago

pepijndik commented 4 years ago

Versions

Host operating system

Windows 10 pro

Homestead.yaml

---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: A:/projecten/code
      to: /home/vagrant/code
sites:
    - map: quidro.test
      to: /home/vagrant/code/quidro/public

databases:
    - quidro

features:
    - mariadb: false
    - ohmyzsh: false
    - webdriver: false

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp

When trying to run vagrant provision

I am getting the following error,

homestead: [Composer\Downloader\TransportException]

homestead:   The "https://getcomposer.org/versions" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resol

ution homestead: failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution

svpernova09 commented 4 years ago

Could be an issue with your internet connection, or Virtualbox networking.