Bringing machine 'default' up with 'virtualbox' provider...==> default: Importing base box 'hashicorp/precise32'...==> default: Matching MAC address for NAT networking...==> default: Checking if box 'hashicorp/precise32' is up to date...==> default: Setting the name of the VM: VirtualMachineTest_default_1455731233974_75780==> default: Fixed port collision for 22 => 2222. Now on port 2200.==> default: Clearing any previously set network interfaces...==> default: Preparing network interfaces based on configuration...default: Adapter 1: nat==> default: Forwarding ports...default: 22 (guest) => 2200 (host) (adapter 1)==> default: Booting VM...==> default: Waiting for machine to boot. This may take a few minutes...default: SSH address: 127.0.0.1:2200default: SSH username: vagrantdefault: SSH auth method: private keyTimed out while waiting for the machine to boot. This means thatVagrant was unable to communicate with the guest machine withinthe configured ("config.vm.boot_timeout" value) time period.If you look above, you should be able to see the error(s) thatVagrant had when attempting to connect to the machine. These errorsare usually good hints as to what may be wrong.If you're using a custom box, make sure that networking is properlyworking and you're able to connect to the machine. It is a commonproblem that networking isn't setup properly in these boxes.Verify that authentication configurations are also setup properly,as well.If the box appears to be booting properly, you may want to increasethe timeout ("config.vm.boot_timeout") value.
==> default: Attempting graceful shutdown of VM...default: Guest communication could not be established! This is usually becausedefault: SSH is not running, the authentication information was changed,default: or some other networking issue. Vagrant will force halt, ifdefault: capable.==> default: Forcing shutdown of VM...
INFO ssh: Attempting SSH connection...INFO ssh: Attempting to connect to SSH...INFO ssh: - Host: 127.0.0.1INFO ssh: - Port: 2200INFO ssh: - Username: vagrantINFO ssh: - Password? falseINFO ssh: - Key Path: ["C:/Users/Egg/.vagrant.d/insecure_private_key"]INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO ssh: SSH not ready: #<Vagrant::Errors::NetSSHException: An error occurred in the underlying SSH library that Vagrant uses.The error message is shown below. In many cases, errors from thislibrary are caused by ssh-agent issues. Try disabling your SSHagent or removing some keys and try again.If the problem persists, please report a bug to the net-ssh project.Net::SSH::ConnectionTimeout>INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "showvminfo", "3d67b2af-df47-4610-9899-e022f39d50b6", "--machinereadable"]INFO subprocess: Command not in installer, restoring original environment...
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/e7139f57-b0c6-4b15-b2ee-5982b4be7e8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for the response. I have just tried ubuntu/trusty64 and have exactly the same problem, the VM starts in VBox but the vagrant up command times out. vagrant ssh seems to do nothing. Any other suggestions?
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/7fa5f3c6-e2ed-429e-afaf-d66d3b29086f%40googlegroups.com.
a) I can stop and start the virtual machine in virtualbox without any apparent problems.
b) I found this suggestion of trying precise32 on other forums, so that is what I was trying in my first post but it still has the same problem.
This is what made me wonder if it is a problem with the ssh itself. Possibly a problem with the port forwarding but disabling firewall and antivirus does not seem to help. Are there any other programs and or settings that may be causing the ssh to fail? Or diagnostics I could use to check whether the port forwarding is working?
Thanks.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/b9b064e2-a957-46ba-a1c3-f905c02e18b6%40googlegroups.com.
1. Press the
+ R keys to open the Run dialog.
2. Type inetcpl.cpl, and click/tap on OK.
3. Click on Connections tab.
4. Click on LAN settings button on the bottom. A LAN Settings Windows will open.
5. un-check "Automatically detect settings" and check on "Use a proxy server for your LAN..."
6. Click on "Advanced" button. A Proxy Settings window will open.
7. ONLY FILL the socks information, for example... Socks: 127.0.0.1 and port 1080 (leave everything else blank)
8. Uncheck "Use the same proxy server for all protocols." Click OK. Step 7 was only the thing that changed in my previous attempts.
So I followed the above and could ssh into my VM but lost my connection to the web. So I re-ticked "automatically detect settings" and unticked "Use a proxy server for your LAN..." and now both ssh and the web seem to work.
Thanks for your help,
Adam
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/c9e604b0-b933-43f8-a467-137bcc2ce53b%40googlegroups.com.