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

Can't connect on OS X #4

Closed
isaacroehm opened this issue Jan 28, 2015 · 9 comments
Closed

Can't connect on OS X #4

isaacroehm opened this issue Jan 28, 2015 · 9 comments
Assignees

Comments

@isaacroehm
Copy link

Hello,

I got the playground to run on VirtualBox 4.3.20 on OS X by adding a local host adapter in VirtualBox settings and disabling the serial adapter. The host only adapter is set to 192.168.56.1 and I can't change the third octet to anything besides starting with a 5. I try ssh -p 220x brandon@localhost from terminal and am unable to connect. What should I change, need to add etc to get connected?

@michealbeatty
Copy link

I am unable to connect using OS X as well. What is the result of running the ssh command with the -v flag? For example, ssh -v -p 2201 brandon@localhost

@brandon-rhodes
Copy link
Owner

All right!

After months of trying to work around this problem — and after several conversations with people who have more experience with virtualization than I do — I have deprecated my original scheme of distributing a bare VirtualBox image and expecting it to run across multiple operating systems correctly, especially with network forwarding turned on.

I have just rebuilt, repackaged, and re-uploaded the Playground as a Vagrant box, because Vagrant had a reputation for doing a better job of supporting cross-platform image support than do any of the raw native back-end mechanisms for virtualization like VirtualBox.

I have amended the Playground instructions to explain starting up a Vagrant box:

https://github.com/brandon-rhodes/fopnp/tree/m/playground

Could you try out the instructions and let me know if they work on your platform and, if not, at which step they fail? Thanks so much!

@brandon-rhodes brandon-rhodes self-assigned this Aug 17, 2015
@michealbeatty
Copy link

Getting a message when running

vagrant up --provider virtualbox

that the version of Virtualbox I have installed is not supported. I'm running Virtualbox 5.x and only 4.x is supported. I can try rolling back to 4.3 to see if it works.

@michealbeatty
Copy link

...and after downgrading to Virtualbox 4.3 the playground is working fine. Thank you for finding a solution for us.

@brandon-rhodes
Copy link
Owner

You are welcome! I am a bit surprised that Vagrant is a bit behind on Virtualbox versions, but given the problems that I myself had with getting a Virtualbox solution working, I would not be surprised if they are stalled on a bug in the 5.x series and are having to wait to upgrade. Thanks for being willing to downgrade to make this test, @amikiri!

I am closing this issue, but either of you is welcome to please open a new one if you have further problems — I hope you are able to enjoy the playground now!

@risdenk
Copy link

risdenk commented Aug 18, 2015

@amikiri - You need Vagrant 1.7.3 or higher to work with Virtualbox 5.x. See the changelog here: https://github.com/mitchellh/vagrant/blob/master/CHANGELOG.md#173-july-10-2015

@brandon-rhodes - The Vagrant box works with the latest version of Vagrant (1.7.4) and Virtualbox (5.0.2) on Mac OS X 10.10.5.

@michealbeatty
Copy link

confirmed that after updating to Vagrant 1.7.4 and Virtualbox 5, I am able to vagrant up thanks for the tip @risdenk

@brandon-rhodes
Copy link
Owner

Thank you both for your reports! I am re-opening this issue until I update the docs with this information in case anyone else runs into problems with the combination of versions.

And, I am glad that you are both able to access the playground now!

@brandon-rhodes
Copy link
Owner

This was resolved in 0d84912 when I updated the documentation — but I forgot to come back here and close the issue! :)

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

4 participants