Warning: Authentication failure. Retrying...
mikev1963 opened this issue · 6 comments
After building this image I get these errors:
virtualbox: Warning: Remote connection disconnect. Retrying...
virtualbox: Warning: Connection reset. Retrying...
virtualbox: Warning: Remote connection disconnect. Retrying...
virtualbox: Warning: Connection reset. Retrying...
.....
virtualbox: Warning: Authentication failure. Retrying...
virtualbox: Warning: Authentication failure. Retrying...
virtualbox: Warning: Authentication failure. Retrying...
virtualbox: Warning: Authentication failure. Retrying...
....
**Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem 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 increase
the timeout ("config.vm.boot_timeout") value.**
After doing some testing this line in the Vagrant file is causing the authentication Failures.
_config.vm.synced_folder '.', '/vagrant', type: 'nfs'
Not sure what is causing these errors yet:
_virtualbox: Warning: Connection reset. Retrying...
virtualbox: Warning: Remote connection disconnect. Retrying..._
I updated the NFS line to look like this:
config.vm.synced_folder '.', '/vagrant',
nfs: true,
nfs_version: 3,
nfs_udp: false
This worked, but still get these errors.
_virtualbox: Warning: Connection reset. Retrying...
virtualbox: Warning: Remote connection disconnect. Retrying..._
But the vm works.
Strange; in my testing with the current version of the geerlingguy/centos7
box, it seems to be working okay with NFS. Is this using the prebuilt box or a customized version you built with Packer?
I have the same issue ...
dangerous: try deleting ~/.vagrant.d
. vagrant caches the boxes, so all the subsequent box rebuilds are not actually saved.
Going to close this for now. This problem could stem from a number of different problems; it might be best to search through Vagrant issues on GitHub and see other suggestions for fixes. Also please verify whether the problem exists with the latest version of Vagrant and the geerlingguy/centos7
box.