Following error is seen while trying to download Fedora boxes using vagrant:
# vagrant box add fedora/36-cloud-base --provider libvirt ==> box: Loading metadata for box 'fedora/36-cloud-base' box: URL: https://vagrantcloud.com/fedora/36-cloud-base ==> box: Adding box 'fedora/36-cloud-base' (v36-20220504.1) for provider: libvirt box: Downloading: https://vagrantcloud.com/fedora/boxes/36-cloud-base/versions/36-20220504.1/providers/libvirt.box Download redirected to host: download.fedoraproject.org An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again. HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
This started happening since last week and was wondering what happened in the background causing the error.
Note:- Our CI jobs are failing due to the above mentioned error.
Metadata Update from @davdunc: - Issue assigned to davdunc
Updated the 05/04 release configuration. I will do the testing now.
I just tried with f37 and it worked:
[dustymabe@media fn]$ vagrant up Bringing machine 'vanilla-f37' up with 'libvirt' provider... ==> vanilla-f37: Box 'fedora/37-cloud-base' could not be found. Attempting to find and install... vanilla-f37: Box Provider: libvirt vanilla-f37: Box Version: >= 0 ==> vanilla-f37: Loading metadata for box 'fedora/37-cloud-base' vanilla-f37: URL: https://vagrantcloud.com/fedora/37-cloud-base ==> vanilla-f37: Adding box 'fedora/37-cloud-base' (v37.20221105.0) for provider: libvirt vanilla-f37: Downloading: https://vagrantcloud.com/fedora/boxes/37-cloud-base/versions/37.20221105.0/providers/libvirt.box Download redirected to host: dl.fedoraproject.org vanilla-f37: Calculating and comparing box checksum... ==> vanilla-f37: Successfully added box 'fedora/37-cloud-base' (v37.20221105.0) for 'libvirt'! ... ... .. .
It think this is a problem with f35-cloud-base and f36-cloud-base boxes. I can successfully add f37-cloud-base box. Can you check?
reproduced this from my home laptop. Issue is specifically with the download.fedoraproject mirror requirement. switched to dl.fedoraproject.org while I work this out with infrastructure team.
Workaround in place for the moment: url for the libvirt download is set to dl.fedoraproject.org
Thanks, it works now.
@davdunc I'm facing the exact same error now with fedora/38-cloud-base libvirt box:
# vagrant box add fedora/38-cloud-base --provider libvirt ==> box: Loading metadata for box 'fedora/38-cloud-base' box: URL: https://vagrantcloud.com/fedora/38-cloud-base ==> box: Adding box 'fedora/38-cloud-base' (v38.20230413.1) for provider: libvirt box: Downloading: https://vagrantcloud.com/fedora/boxes/38-cloud-base/versions/38.20230413.1/providers/libvirt.box Download redirected to host: download.fedoraproject.org An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again. HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
There hasn't been any activity on the issue since couple of months. Meanwhile we managed to switch to container based approach and thus it is no longer an issue for us. Therefore closing the issue for now.
Metadata Update from @anoopcs: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.