I have a custom WinServer2012 box (vbox on a Mac host) that starts up fine, but vagrant can't detect that it has and just times out eventually. "VAGRANT_LOG=info vagrant up" returns:
INFO winrmshell: Attempting to connect to WinRM... INFO winrmshell: - Host: 127.0.0.1 INFO winrmshell: - Port: 55985 INFO winrmshell: - Username: vagrant INFO retryable: Retryable exception raised: #<Errno::ECONNREFUSED: Connection refused - connect(2) (http://127.0.0.1:55985)> INFO subprocess: Starting process: ["/usr/bin/VBoxManage", "showvminfo", "7b177612-bb11-4bf9-9485-71a8cb652fb3", "--machinereadable"] (prev line repeats) INFO retryable: Retryable exception raised: #<WinRM::WinRMHTTPTransportError: Bad HTTP response returned from server (401).> (this block of errors repeats) My Vagrantfile is set up like this: Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.provider "virtualbox" do |v| v.name = "BoxName" v.gui = true end config.vm.box = "WinServer2012" config.vm.communicator = "winrm" config.vm.network "forwarded_port", host: 3389, guest: 3389 config.vm.synced_folder "path", "/path" end and my WinRM on the box is setup is like this: Config MaxEnvelopeSizekb = 500 MaxTimeoutms = 7200000 MaxBatchItems = 32000 MaxProviderRequests = 4294967295 Client NetworkDelayms = 5000 URLPrefix = wsman AllowUnencrypted = true Auth Basic = true Digest = true Kerberos = true Negotiate = true Certificate = true CredSSP = false DefaultPorts HTTP = 5985 HTTPS = 5986 TrustedHosts Service RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD) MaxConcurrentOperations = 4294967295 MaxConcurrentOperationsPerUser = 1500 EnumerationTimeoutms = 240000 MaxConnections = 300 MaxPacketRetrievalTimeSeconds = 120 AllowUnencrypted = true Auth Basic = true Kerberos = true Negotiate = true Certificate = false CredSSP = false CbtHardeningLevel = Relaxed DefaultPorts HTTP = 5985 HTTPS = 5986 IPv4Filter = * IPv6Filter = * EnableCompatibilityHttpListener = false EnableCompatibilityHttpsListener = false CertificateThumbprint AllowRemoteAccess = true Winrs AllowRemoteShellAccess = true IdleTimeout = 7200000 MaxConcurrentUsers = 10 MaxShellRunTime = 2147483647 MaxProcessesPerShell = 25 MaxMemoryPerShellMB = 1024 MaxShellsPerUser = 30 can anyone help me figure out why Vagrant doesn't see my box as "up"? Thanks. -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
