Vagrant/VMWare – “default: Warning: Connection timeout. Retrying…” – Keeps occuring after a couple hours after having a box/setup that appears to work.

I'm new to this so please let me know if any more information might help.

I'm required to have a setup for dev testing for work. I'm using vagrant and vmware on a Macbook. Essentially, I make a hashicorp/precise 32 box, I set the private network IP to a manual IP, download apache/php/mysql/etc. Now, once I have it all set up I can vagrant up/ssh, connect to my db with sequel pro, view my IP in browser, etc. However, it seems that without me making any changes, the error above will occur after a few hours.

Can anyone give any pointers for this, as it is happening almost daily to me and I'm not able to move forward with my work until I have a stable setup.

Thank you.

EDIT: I think it has to do with the vm server not shutting down properly as described in this discussion: http://stackoverflow.com/questions/22575261/vagrant-stuck-connection-timeout-retrying. However, I was not able to fix it using the steps mentioned. And to be honest, I really need to stop it from occuring more so than fix one instance of it as it is happening to fresh setups daily.

1 thought on “Vagrant/VMWare – “default: Warning: Connection timeout. Retrying…” – Keeps occuring after a couple hours after having a box/setup that appears to work.”

  1. happens with virtualbox provider too, it doesn’t seem to be related to os bootup time either, it does seem to only happen after a few starts of the vm, not straight away. setting the timeout value doesn’t seem to help either. i heard its something to do with dhcp, but i don’t use it.

    Reply

Leave a Comment