Skip to content

Commit

Permalink
Add troubleshooting for WinRM error
Browse files Browse the repository at this point in the history
  • Loading branch information
webprofusion-chrisc committed Feb 21, 2019
1 parent 2be46f3 commit f833c7d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,12 @@ There are a couple of difference between the [verifier service]() and this envir

## Troubleshooting

You get this error: "A Vagrant environment or target machine is required to run this command. Run `vagrant init` to create a new Vagrant environment. Or, get an ID of a target machine from `vagrant global-status` to run this command on. A final option is to change to a directory with a Vagrantfile and to try again." - please ensure you are on the correct working directory (where this ReadMe and `Vagrantfile` is) of this repo and try again.
### Error: "A Vagrant environment or target machine is required to run this command."

Run `vagrant init` to create a new Vagrant environment. Or, get an ID of a target machine from `vagrant global-status` to run this command on. A final option is to change to a directory with a Vagrantfile and to try again." - please ensure you are on the correct working directory (where this ReadMe and `Vagrantfile` is) of this repo and try again.

### Error: "WinRM: Warning: Authentication failure. Retrying..." and when the machine boots the C:\packages" folder is not present (and other configuration has not occurred).

Edit Vagrantfile and find the `# Port forward WinRM / RDP` section. uncomment `#, host_ip: "127.0.0.1"` (remove the `#`). Run `vagrant up` again.

config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true , host_ip: "127.0.0.1"

0 comments on commit f833c7d

Please sign in to comment.