GPG error on Vagrant up

I am getting the following error running vagrant up:

m312: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.KgORD8Uu7q --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
m312: gpg:
m312: requesting key A15703C6 from hkp server keyserver.ubuntu.com
m312: ?:
m312: keyserver.ubuntu.com: Host not found
m312: gpgkeys: HTTP fetch error 7: couldn't connect: Connection timed out
m312: gpg:
m312: no valid OpenPGP data found.
m312: gpg:
m312: Total number processed: 0
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Any ideas how to fix this?

Please check this link

Issues during building Virtual box for basic admin topic

Hi @Xenia_89564,

You need to edit your provision-m312 file in m312-vagrant-env directory.
Please search for the following line:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 0C49F3730359A14518585931BC711F9BA15703C6
Then replace it with the following:
sudo apt-key adv --keyserver "hkp://keyserver.ubuntu.com:80" --recv 0C49F3730359A14518585931BC711F9BA15703C6

Please let me know, if you have any questions.

Thanks,
Sonali