hashicorp/vagrant · error

HandleBoxUrl middleware is deprecated. Use HandleBox instead

Error message

HandleBoxUrl middleware is deprecated. Use HandleBox instead.

What it means

Error "HandleBoxUrl middleware is deprecated. Use HandleBox instead." thrown in hashicorp/vagrant.

Source

Thrown at lib/vagrant/action/builtin/handle_box_url.rb:9

# Copyright IBM Corp. 2010, 2025
# SPDX-License-Identifier: BUSL-1.1

module Vagrant
  module Action
    module Builtin
      class HandleBoxUrl < HandleBox
        def call(env)
          env[:ui].warn("HandleBoxUrl middleware is deprecated. Use HandleBox instead.")
          env[:ui].warn("This is a bug with the provider. Please contact the creator")
          env[:ui].warn("of the provider you use to fix this.")
          super
        end
      end
    end
  end
end

View on GitHub (pinned to 35f3160f4a)

When it happens

Trigger: Thrown at lib/vagrant/action/builtin/handle_box_url.rb:9 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of hashicorp/vagrant@35f3160f4a (2026-08-21). Data as JSON: /api/errors/a69f96b1b995f24b. Report an issue: GitHub.