Vagrant box add mynewbox .\newbox.box command throws URL using bad/illegal format or missing URL

Version: Vagrant 2.2.16
OS: Windows 10
Guest operating system: ubuntu/trusty64

Debug output:
vagrant box add mynewbox .\newbox.box
box: Box file was not detected as metadata. Adding it directly…
==> box: Adding box ‘mynewbox’ (v0) for provider:
box: Unpacking necessary files from: file://E/rails/tech_tips_blog/newbox.box
box:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

URL using bad/illegal format or missing URL

This is a known issue with Vagrant 2.2.16 vagrant 2.2.16 add local box error "using bad/illegal format or missing URL" · Issue #12340 · hashicorp/vagrant · GitHub. You can get around it by using a full path name, or downgrading to Vagrant 2.2.15.

Cheers!

2 Likes

Do you know when a new version that will fix this will be published?

Same problem. @rbid did you find a solution?

@rbid I’m not sure when will they publish the fix but you can track with this PR: vagrant 2.2.16 add local box error "using bad/illegal format or missing URL" · Issue #12340 · hashicorp/vagrant · GitHub.

@yosoylapaz17 Its working with version 2.2.15 so i downgraded it.