Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH Disconnect when VM tries to boot up #2

Open
mattam opened this issue Mar 22, 2013 · 1 comment
Open

SSH Disconnect when VM tries to boot up #2

mattam opened this issue Mar 22, 2013 · 1 comment

Comments

@mattam
Copy link

mattam commented Mar 22, 2013

Hi,
I'm using vagrant-lamp with puppet-laravel, but am running into an issue when I try to start up the VM after adding in the puppet-laravel git:

vagrant reload
[default] Attempting graceful shutdown of VM...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] -- 80 => 8082 (adapter 1)
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
/Applications/Vagrant/embedded/gems/gems/net-ssh-2.6.6/lib/net/ssh/transport/packet_stream.rb:87:in `next_packet': connection closed by remote host (Net::SSH::Disconnect)
    from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:172:in `block in poll_message'
    from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:167:in `loop'
    from /Applications/Vagrant/embedded/gems/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:167:in `poll_message'
.. etc

The VM seems to be up after that

vagrant status
Current machine states:

default                  running (virtualbox)

but going to localhost:8082 returns a "This webpage is not available" error
going to localhost:2222 returns:

SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1
Protocol mismatch.
@paolooo
Copy link
Owner

paolooo commented Mar 22, 2013

Hi Mattam,

This is an error on latest Vagrant version 1.1.2. They've upgraded Net-SSH that's why it throws new errors, but they've fixed it on 1.1.3 but as of now it still on there github (https://github.com/mitchellh/vagrant). If you want you can install a lower version at (http://downloads.vagrantup.com/). I'm actually using Vagrant 1.0.5.

I also added more instructions on how to install puppet-laravel.

Hope that helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants