hashicorp/vagrant · error · VagrantPlugins::CommunicatorWinRM::Errors::WinRMNotReady
The box is not able to report an address for WinRM to connec
Error message
The box is not able to report an address for WinRM to connect to yet. WinRM cannot access this Vagrant environment. Please wait for the Vagrant environment to be running and try again.
What it means
Error "The box is not able to report an address for WinRM to connect to yet. WinRM cannot access this Vagrant environment. Please wait for the Vagrant environment to be running and try again." thrown in hashicorp/vagrant.
Source
Thrown at plugins/communicators/winrm/helper.rb:21
module VagrantPlugins
module CommunicatorWinRM
# This is a helper module that provides some functions to the
# communicator. This is extracted into a module so that we can
# easily unit test these methods.
module Helper
# Returns the host and port to access WinRM.
#
# This asks the provider via the `winrm_info` capability if it
# exists, otherwise defaulting to its own heuristics.
#
# @param [Vagrant::Machine] machine
# @return [Hash]
def self.winrm_info(machine)
info = {}
if machine.provider.capability?(:winrm_info)
info = machine.provider.capability(:winrm_info)
raise Errors::WinRMNotReady if !info
end
info[:host] ||= winrm_address(machine)
info[:port] ||= winrm_port(machine, info[:host] == "127.0.0.1")
return info
end
# Returns the address to access WinRM. This does not contain
# the port.
#
# @param [Vagrant::Machine] machine
# @return [String]
def self.winrm_address(machine)
addr = machine.config.winrm.host
return addr if addr
ssh_info = machine.ssh_info
raise Errors::WinRMNotReady if winrm_info_invalid?(ssh_info)View on GitHub (pinned to 35f3160f4a)
When it happens
Trigger: Thrown at plugins/communicators/winrm/helper.rb:21 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/bdaf1a19c926af33.
Report an issue: GitHub.