-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An unexpected error occurred: Vagrant Cloud request failed - Method Not Allowed #13571
Comments
I have the same issue. Tried to downgrade vagrant first, but had no luck there. Using Apple silicon MacOS 15.2, reproduced on vagrant 2.4.3 and 2.4.1 |
I have the same issue on local machine running Manjaro Linux, Yesterday worked just fine on both of them... |
I've been able to work around it by manually downloading the box files and importing them afterwards with Got it from here initially: Hope it helps as a workaround for someone. |
I'm seeing the same issue. Cannot download boxes, and login does not work.
Now, I don't see However, the box |
We are also hitting errors in CI:
|
I've tested a few of the linked images, and Vagrant Cloud seems to be functioning OK now. (also including our problematic image @ ubuntu/jammy64 |
We are still facing errors during
|
@anoopcs9 run |
I had a CI job that started on 2025-01-09T16:19:15Z, involved downloading an image from a Vagrant registry, and worked fine. the same job failed 24 hours later. Regarding ubuntu/jammy64, I also encounter issues with that image, so I'm surprised that you don't. For example, when checking for box updates, vagrant does:
I suppose that this used to return a JSON doc (based on the Accept:) but now returns an HTML page. |
I don't have the box downloaded yet. It fails while attempting to download at the first place.
See debug logs vagrant_up_debug.txt |
After further debug, this looks like a change introduced in HCP Vagrant Registry after 2025-01-09, that broke Vagrant versions before 2.4.0. I could confirm that everything works fine with Vagrant 2.4.0 (and later), but fails to work with Vagrant 2.3.7 (and earlier). I don't know if this change is intentional. I opened a ticket on HashiCorp's ZenDesk and will report back here. |
TL; DR: HashiCorp support says "you need to update the Vagrant version if you want to use HCP Vagrant boxes" Long version:
|
This is what happens when I try to download a box:
I haven't used Vagrant in years, but after a lot of digging, I think I need to log in to download boxes now. This is what happens when I try that:
The text was updated successfully, but these errors were encountered: