Created
July 21, 2015 15:53
-
-
Save leafmulch/141581a4fd89150be49e to your computer and use it in GitHub Desktop.
vagrant up - winrm output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Clearing any previously set forwarded ports... | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 5985 => 55985 (adapter 1) | |
default: 5986 => 55986 (adapter 1) | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
default: WinRM address: 127.0.0.1:55985 | |
default: WinRM username: vagrant | |
default: WinRM transport: plaintext | |
An error occurred executing a remote WinRM command. | |
Shell: powershell | |
Command: hostname | |
if ($?) { exit 0 } else { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } } | |
Message: Unable to parse WinRM response: #<REXML::ParseException: Missing end tag for 'meta' (got "head") | |
Line: 13 | |
Position: 575 | |
Last 80 unconsumed characters: | |
> | |
/opt/vagrant/embedded/lib/ruby/2.0.0/rexml/parsers/baseparser.rb:338:in `pull_event' | |
/opt/vagrant/embedded/lib/ruby/2.0.0/rexml/parsers/baseparser.rb:183:in `pull' | |
/opt/vagrant/embedded/lib/ruby/2.0.0/rexml/parsers/treeparser.rb:22:in `parse' | |
/opt/vagrant/embedded/lib/ruby/2.0.0/rexml/document.rb:287:in `build' | |
/opt/vagrant/embedded/lib/ruby/2.0.0/rexml/document.rb:43:in `initialize' | |
/opt/vagrant/embedded/gems/gems/winrm-1.3.3/lib/winrm/http/response_handler.rb:42:in `new' | |
/opt/vagrant/embedded/gems/gems/winrm-1.3.3/lib/winrm/http/response_handler.rb:42:in `response_xml' | |
/opt/vagrant/embedded/gems/gems/winrm-1.3.3/lib/winrm/http/response_handler.rb:61:in `raise_if_wsman_fault' | |
/opt/vagrant/embedded/gems/gems/winrm-1.3.3/lib/winrm/http/response_handler.rb:51:in `raise_if_error' | |
/opt/vagrant/embedded/gems/gems/winrm-1.3.3/lib/winrm/http/response_handler.rb:35:in `parse_to_xml' | |
/opt/vagrant/embedded/gems/gems/winrm-1.3.3/lib/winrm/http/transport.rb:50:in `send_request' | |
/opt/vagrant/embedded/gems/gems/winrm-1.3.3/lib/winrm/winrm_service.rb:430:in `send_message' | |
/opt/vagrant/embedded/gems/gems/winrm-1.3.3/lib/winrm/winrm_service.rb:126:in `open_shell' | |
/opt/vagrant/embedded/gems/gems/winrm-1.3.3/lib/winrm/winrm_service.rb:299:in `run_cmd' | |
/opt/vagrant/embedded/gems/gems/winrm-1.3.3/lib/winrm/winrm_service.rb:317:in `run_powershell_script' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/communicators/winrm/shell.rb:93:in `block in execute_shell_with_retry' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/retryable.rb:17:in `retryable' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/communicators/winrm/shell.rb:91:in `execute_shell_with_retry' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/communicators/winrm/shell.rb:84:in `execute_shell' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/communicators/winrm/shell.rb:57:in `powershell' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/communicators/winrm/communicator.rb:99:in `block in ready?' | |
/opt/vagrant/embedded/lib/ruby/2.0.0/timeout.rb:66:in `timeout' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/communicators/winrm/communicator.rb:98:in `ready?' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/communicators/winrm/communicator.rb:49:in `block in wait_for_ready' | |
/opt/vagrant/embedded/lib/ruby/2.0.0/timeout.rb:66:in `timeout' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/plugins/communicators/winrm/communicator.rb:29:in `wait_for_ready' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/wait_for_communicator.rb:16:in `block in call' | |
/opt/vagrant/embedded/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call' | |
/opt/vagrant/embedded/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context' | |
... | |
Missing end tag for 'meta' (got "head") | |
Line: 13 | |
Position: 575 | |
Last 80 unconsumed characters: | |
Line: 13 | |
Position: 575 | |
Last 80 unconsumed characters: | |
(502). |
OK, I found the problem. In my case it was because of a Proxy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Have you managed to fix the problem exposed in this gist? I have the same problem and couldn't find the cause :(