Hi Kenneth,
I was capping stdout. I’ve got octopus server listening on somedomain.example.com:443 and i have the tentacle port open at somedomain-tentacles.example.com:443. It sounds like your saying I must have them both on the same domain?
Note this log has the output from my extra trust command in it.
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] ===============================================
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Configuring Octopus Deploy Tentacle
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] - server endpoint ‘https://us-octopus-tentacles.drawboard.com’
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] - api key ‘##########’
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] - communication mode ‘Polling’ (Active)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] - server port 443
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] - environment ‘DEV,QA’
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] - role ‘Server’
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] - host ‘ComputerName’
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] ===============================================
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Creating empty configuration file: /etc/octopus/tentacle.config
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Saving instance: Tentacle
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Setting home directory to: /etc/octopus
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Setting directory paths …
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Application directory set to: /home/Octopus/Applications
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] These changes require a restart of the Tentacle.
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Configuring communication type …
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Tentacle will not listen on a port
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] These changes require a restart of the Tentacle.
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Updating trust …
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Removing all trusted Octopus Servers…
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] These changes require a restart of the Tentacle.
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Creating certificate …
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] A new certificate has been generated and installed. Thumbprint:
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] 33F088777810F5BE5AFA9194F426479E72CFF1F0
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] These changes require a restart of the Tentacle.
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Setting server thumbprint …
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Adding 1 trusted Octopus Servers
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] These changes require a restart of the Tentacle.
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Registering with server …
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Registering Tentacle with api key
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Checking connectivity on the server communications port 443…
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Connected successfully
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Registering the tentacle with the server at https://us-octopus-tentacles.drawboard.com/
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Detected automation environment: NoneOrUnknown
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] The following certificate errors were encountered when establishing the HTTPS connection to the server: RemoteCertificateNameMismatch, RemoteCertificateChainErrors
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Certificate subject name: CN=Octopus Portal
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Certificate thumbprint: 2756CF60248D7D0FAF97D43C2AE15B9015DEBA93
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] The following certificate errors were encountered when establishing the HTTPS connection to the server: RemoteCertificateNameMismatch, RemoteCertificateChainErrors
THIS REPEATS A LOT, REMOVED SOME FOR BREVITY
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Certificate subject name: CN=Octopus Portal
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Certificate thumbprint: 2756CF60248D7D0FAF97D43C2AE15B9015DEBA93
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] The following certificate errors were encountered when establishing the HTTPS connection to the server: RemoteCertificateNameMismatch, RemoteCertificateChainErrors
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Certificate subject name: CN=Octopus Portal
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Certificate thumbprint: 2756CF60248D7D0FAF97D43C2AE15B9015DEBA93
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] The following certificate errors were encountered when establishing the HTTPS connection to the server: RemoteCertificateNameMismatch, RemoteCertificateChainErrors
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Certificate subject name: CN=Octopus Portal
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Certificate thumbprint: 2756CF60248D7D0FAF97D43C2AE15B9015DEBA93
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] ===============================================================================
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Unable to connect to the Octopus Deploy server. See the inner exception for details.
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] System.Exception
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Client.OctopusAsyncRepository.LoadRootDocumentInner()
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Client.OctopusAsyncClient.Create(OctopusServerEndpoint serverEndpoint, OctopusClientOptions options, Boolean addHandler, String requestingTool)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Client.OctopusAsyncClient.Create(OctopusServerEndpoint serverEndpoint, OctopusClientOptions options)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Tentacle.Commands.OptionSets.OctopusClientInitializer.CreateClient(ApiEndpointOptions apiEndpointOptions, IWebProxy overrideProxy) in OctopusClientInitializer.cs:line 17
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Tentacle.Commands.RegisterMachineCommandBase1.StartAsync() in RegisterMachineCommandBase.cs:line 110 [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Tentacle.Commands.RegisterMachineCommandBase
1.Start() in RegisterMachineCommandBase.cs:line 80
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Shared.Startup.AbstractCommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Shared.Startup.OctopusProgram.Start(ICommandRuntime commandRuntime)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Shared.Startup.ConsoleHost.Run(Action1 start, Action shutdown) [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Shared.Startup.OctopusProgram.RunHost(ICommandHost host) [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Shared.Startup.OctopusProgram.Run() [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] --Inner Exception-- [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] The SSL connection could not be established, see inner exception. [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] System.Net.Http.HttpRequestException [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken) [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken) [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken) [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) [octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task
1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Client.OctopusAsyncClient.DispatchRequest[TResponseResource](OctopusRequest request, Boolean readResponse)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Client.OctopusAsyncClient.Get[TResource](String path, Object pathParameters)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at Octopus.Client.OctopusAsyncRepository.LoadRootDocumentInner()
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle]
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] --Inner Exception–
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] The remote certificate is invalid according to the validation procedure.
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] System.Security.Authentication.AuthenticationException
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func
2 endFunction, Action1 endAction, Task
1 promise, Boolean requiresSynchronization)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] -------------------------------------------------------------------------------
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Terminating process with exit code 100
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Full error details are available in the log files at:
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] /etc/octopus/Logs
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] Octopus/Logs
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] If you need help, please send these log files to Octopus Deploy Help & Support - Octopus Deploy
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle] -------------------------------------------------------------------------------
[octopus-tentacle-5b966b69d9-xbc58 octopus-tentacle]