vagrant
vagrant copied to clipboard
`vagrant up` fails on IPv6-only host
Vagrant version
Vagrant 2.2.14
Host operating system
Debian Linux 11 (IPv6-only)
Guest operating system
N/A
Vagrantfile
N/A
Debug output
INFO downloader: download redirected to https://archivist.vagrantup.com/v1/object/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJib3hlcy84YWRjZjY3Mi0yOTIzLTQ2ZDQtODQ0Ni1jNjJiYTAzZjNmODEiLCJtb2RlIjoiciIsImV4cGlyZSI6MTY1NzE4Njc4M30.ss6RH4dYC4XnliyLNaZxBCSL_tWnEF4qr97zer4V_tM
100 300 0 300 0 0 345 0 --:--:-- --:--:-- --:--:-- 345
* Connection #0 to host vagrantcloud.com left intact
* Issue another request to this URL: 'https://archivist.vagrantup.com/v1/object/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJib3hlcy84YWRjZjY3Mi0yOTIzLTQ2ZDQtODQ0Ni1jNjJiYTAzZjNmODEiLCJtb2RlIjoiciIsImV4cGlyZSI6MTY1NzE4Njc4M30.ss6RH4dYC4XnliyLNaZxBCSL_tWnEF4qr97zer4V_tM'
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
INFO interface: detail: Progress: 100% (Rate: 345/s, Estimated time remaining: --:--:--)
Progress: 100% (Rate: 345/s, Estimated time remaining: --:--:--)DEBUG subprocess: stderr: * Trying 18.205.36.100:443...
DEBUG subprocess: stderr: * Immediate connect fail for 18.205.36.100: Network is unreachable
* Trying 54.162.128.250:443...
* Immediate connect fail for 54.162.128.250: Network is unreachable
* Trying 54.157.58.70:443...
* Immediate connect fail for 54.157.58.70: Network is unreachable
* Trying 52.204.242.176:443...
* Immediate connect fail for 52.204.242.176: Network is unreachable
* Closing connection 1
curl: (7) Couldn't connect to server
Expected behavior
Vagrant box is properly downloaded.
Actual behavior
I get this error:
Couldn't connect to server
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Couldn't connect to server
Steps to reproduce
- Disable IPv4 on the host
- Use any Vagrantfile that needs a new box to be downloaded
References
The Vagrant boxes server does not have any IPv6 address:
$ host archivist.vagrantup.com
archivist.vagrantup.com is an alias for archivist.vagrantup.com.herokudns.com.
archivist.vagrantup.com.herokudns.com has address 54.157.58.70
archivist.vagrantup.com.herokudns.com has address 18.205.36.100
archivist.vagrantup.com.herokudns.com has address 52.204.242.176
archivist.vagrantup.com.herokudns.com has address 54.162.128.250