When attempting to register an active tentacle, the client seems to disregard the --server-comms-port
. Details below. Notice the logs claims to check for connectivity to the default port while the exception thrown shows the port for the Octopus server.
Am I missing some configuration for the Tentacle or it this a (known) issue with the client?
Tentacle.exe register-with --instance Tentacle --server https://<HOST>:51981 --name <NAME> --apiKey <KEY> --force --console --comms-style TentacleActive --server-comms-port 10943 --environment <ENV> --role <ROLE>
2015-08-24 09:20:46.8845 1 INFO Checking connectivity on the server communications port 10943...
2015-08-24 09:21:53.1567 1 FATAL System.Exception: Unable to connect to the Octopus Deploy server. See the inner exception for details. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond <some-ip>:51981
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at Octopus.Client.OctopusClient.DispatchRequest[TResponseResource](OctopusRequest request, Boolean readResponse) in y:\work\refs\heads\master\source\Octopus.Client\OctopusClient.cs:line 445
at Octopus.Client.OctopusClient.EstablishSession() in y:\work\refs\heads\master\source\Octopus.Client\OctopusClient.cs:line 286
--- End of inner exception stack trace ---
at Octopus.Client.OctopusClient.EstablishSession() in y:\work\refs\heads\master\source\Octopus.Client\OctopusClient.cs:line 308
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Octopus.Client.OctopusClient.get_RootDocument() in y:\work\refs\heads\master\source\Octopus.Client\OctopusClient.cs:line 58
at Octopus.Client.OctopusRepository.CertificateRepository.GetOctopusCertificate() in y:\work\refs\heads\master\source\Octopus.Client\OctopusRepository.cs:line 636
at Octopus.Tentacle.Commands.RegisterMachineCommand.Start() in y:\work\refs\heads\master\source\Octopus.Tentacle\Commands\RegisterMachineCommand.cs:line 73
at Octopus.Shared.Startup.AbstractCommand.Octopus.Shared.Startup.ICommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions) in y:\work\refs\heads\master\source\Octopus.Shared\Startup\AbstractCommand.cs:line 55
at Octopus.Shared.Startup.ConsoleHost.Run(Action`1 start, Action shutdown) in y:\work\refs\heads\master\source\Octopus.Shared\Startup\ConsoleHost.cs:line 36