Skip to content

Instantly share code, notes, and snippets.

@lukewatts
Created December 11, 2019 11:57
Show Gist options
  • Save lukewatts/2c82f08a88f5d40f5f00c5f719416e5b to your computer and use it in GitHub Desktop.
Save lukewatts/2c82f08a88f5d40f5f00c5f719416e5b to your computer and use it in GitHub Desktop.
Composer self-update fails in Laravel/Homestead due to no proxy settings
==> homestead: Checking if box 'laravel/homestead' version '9.1.0' is up to date...
==> homestead: Clearing any previously set forwarded ports...
==> homestead: Clearing any previously set network interfaces...
==> homestead: Preparing network interfaces based on configuration...
homestead: Adapter 1: nat
homestead: Adapter 2: hostonly
==> homestead: Forwarding ports...
homestead: 80 (guest) => 8000 (host) (adapter 1)
homestead: 443 (guest) => 44300 (host) (adapter 1)
homestead: 3306 (guest) => 33060 (host) (adapter 1)
homestead: 4040 (guest) => 4040 (host) (adapter 1)
homestead: 5432 (guest) => 54320 (host) (adapter 1)
homestead: 8025 (guest) => 8025 (host) (adapter 1)
homestead: 9600 (guest) => 9600 (host) (adapter 1)
homestead: 27017 (guest) => 27017 (host) (adapter 1)
homestead: 22 (guest) => 2222 (host) (adapter 1)
==> homestead: Running 'pre-boot' VM customizations...
==> homestead: Booting VM...
==> homestead: Waiting for machine to boot. This may take a few minutes...
homestead: SSH address: 127.0.0.1:2222
homestead: SSH username: vagrant
homestead: SSH auth method: private key
homestead: Warning: Connection aborted. Retrying...
homestead: Warning: Connection reset. Retrying...
homestead: Warning: Remote connection disconnect. Retrying...
==> homestead: Machine booted and ready!
==> homestead: Checking for guest additions in VM...
homestead: The guest additions on this VM do not match the installed version of
homestead: VirtualBox! In most cases this is fine, but in rare cases it can
homestead: prevent things such as shared folders from working properly. If you see
homestead: shared folder errors, please make sure the guest additions within the
homestead: virtual machine match the version of VirtualBox you have installed on
homestead: your host and reload your VM.
homestead:
homestead: Guest Additions Version: 6.0.0
homestead: VirtualBox Version: 5.2
==> homestead: Setting hostname...
==> homestead: Configuring and enabling network interfaces...
==> homestead: Mounting shared folders...
homestead: /vagrant => C:/Users/lwatts/homestead
homestead: /home/vagrant/code => C:/Users/lwatts/projects/laravel/homestead/0.0.1/code
==> homestead: Running provisioner: file...
homestead: C:/Users/lwatts/homestead/aliases => /tmp/bash_aliases
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: C:/Users/lwatts/AppData/Local/Temp/vagrant-shell20191211-12424-ccel6o.sh
==> homestead: Running provisioner: shell...
homestead: Running: C:/Users/lwatts/AppData/Local/Temp/vagrant-shell20191211-12424-153sgss.sh
==> homestead: Running provisioner: shell...
homestead: Running: script: Creating Certificate: homestead.test
==> homestead: Running provisioner: shell...
homestead: Running: script: Creating Site: homestead.test
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: C:/Users/lwatts/AppData/Local/Temp/vagrant-shell20191211-12424-1glf657.sh
==> homestead: Running provisioner: shell...
homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
homestead: Running: script: Clear Variables
==> homestead: Running provisioner: shell...
homestead: Running: script: Restarting Cron
==> homestead: Running provisioner: shell...
homestead: Running: script: Restarting Nginx
==> homestead: Running provisioner: shell...
homestead: Running: script: Creating MySQL Database: homestead
==> homestead: Running provisioner: shell...
homestead: Running: script: Creating Postgres Database: homestead
==> homestead: Running provisioner: shell...
homestead: Running: script: Update Composer
==> homestead: Running provisioner: shell...
[Composer\Downloader\TransportException]
The "https://getcomposer.org/versions" file could not be downloaded: failed
to open stream: Connection timed out
self-update [-r|--rollback] [--clean-backups] [--no-progress] [--update-keys] [--stable] [--preview] [--snapshot] [--set-channel-only] [--] [<version>]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment