Closed conradolandia closed 3 years ago
can you confirm the host entries for those domains are present in your hosts file?
I confirm the host entries are present.
do they match what the command output says? The error you're seeing in the browser should not be possible if the hosts file has correct entries. Not being able to resolve the domain to an IP should be impossible if the hosts file contains that mapping
Also does visiting the IP directly do anything? Did you try the develop
branch?
I know. It's weird. I tried:
currently deleting and reinstalling everything related to virtualbox and vagrant. We'll see.
After deleting and reinstalling VirtualBox and Vagrant, a new error appears, and the machine won't start:
vagrant up --provision
__ __ __ __
\ V\ V\ V / v3.7.2 Path:"/home/vantta/vvv-local"
\_/\_/\_/ git::stable(92758fd)
Platform: linux shell:/bin/zsh systemd vagrant-goodhosts CaseSensitiveFS shared_db_folder_disabled
Vagrant: v2.2.18, virtualbox: v6.1.28
Docs: https://varyingvagrantvagrants.org/
Contribute: https://github.com/varying-vagrant-vagrants/vvv
Dashboard: http://vvv.test
Bringing machine 'default' up with 'virtualbox' provider...
==> default: [vagrant-goodhosts] - found entry for: 192.168.50.4 vvv.test
==> default: [vagrant-goodhosts] - found entry for: 192.168.50.4 paz.test
==> default: [vagrant-goodhosts] Checking for host entries
==> default: Clearing any previously set network interfaces...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["hostonlyif", "ipconfig", "vboxnet1", "--ip", "192.168.50.1", "--netmask", "255.255.255.0"]
Stderr: VBoxManage: error: Code E_ACCESSDENIED (0x80070005) - Access denied (extended info not available)
VBoxManage: error: Context: "EnableStaticIPConfig(Bstr(pszIp).raw(), Bstr(pszNetmask).raw())" at line 242 of file VBoxManageHostonly.cpp
These are the installed versions:
VBoxManage --version
6.1.28r147628
vagrant --version
Vagrant 2.2.18
So... after fiddling around for a while, I changed the value of private_network_ip
in config.yml and everything works now. No idea why the old IP won't work anymore.
@conradolandia did you have an IP specified in config.yml
? You shouldn't add it at all unless you absolutely have to
No I didn't; Adding one solved the issue.
Expected Behavior
It should connect to http://vvv.test/ and show the dashboard
Current Behavior
The browser times out. VM is running, all seems to work. Yesterday it worked fine. Only think that happened was a kernel update. Host was rebooted. Still doesn't work. The browser gives ERR_NAME_NOT_RESOLVED
Your Environment
Logs