Errors

vagrant

I received the following error when using Vagrant today

1
2
3
4
5
6
7
An error was encountered while generating the current list of
available VMware adapters in use on this system.

  Get http://localhost:49162/api/vmnet: GET http://localhost:49162/api/vmnet giving up after 5 attempts

Please resolve any problems reported in the error message above and
try again.

It was solved by executing the following

1
2
sudo launchctl stop com.vagrant.vagrant-vmware-utility
sudo launchctl start com.vagrant.vagrant-vmware-utility

I received the following error after the error above

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
Bringing machine 'ubuntu' up with 'vmware_fusion' provider...
==> ubuntu: Checking if box 'truemark/ubuntu-20.04-basic' version '20201012-162809' is up to date...
==> ubuntu: Verifying vmnet devices are healthy...
The VMware "vmnet" devices are failing to start. The most common
reason for this is collisions with existing network services. For
example, if a hostonly network space collides with another hostonly
network (such as with VirtualBox), it will fail to start. Likewise,
if forwarded ports collide with other listening ports, it will
fail to start.

Vagrant does its best to fix these issues, but in some cases it
cannot determine the root cause of these failures.

Please verify you have no other colliding network services running.
As a last resort, restarting your computer often fixes this issue.

It was solved by installing the latest version of VMware Fusion