We have setup a Squid Proxy (To listen on https 10933 and do a reverse proxy )and configured multiple tentacles via this, when I access a tentacle using the proxy IP/DNS from a browser I get
Octopus Tentacle configured successfully
If you can view this page, your Octopus Tentacle is configured and ready to accept deployment commands.
This landing page is displayed when no X509 certificate is provided. Only Octopus Servers with a trusted certificate can control this Tentacle.
However when I try add the tentacle as a listening tentacle and try connecting from the Octopus Server
Server version: 4.1.10+Branch.master.Sha.b902062b52116fabe954e2aab57870f9cedcd9c5
I get
An error occurred when sending a request to ‘https://TentacleagentURL:10933/’, before the request could begin: A timeout while waiting for the proxy server at ::ffff:ProxyServerIP on port 10933 to respond.
A timeout while waiting for the proxy server at ::ffff:PROXYSERVERIP on port 10933 to respond
Retry attempt 4
January 28th 2019 17:53:31Info
Opening a new connection
January 28th 2019 17:53:31Info
Creating a proxy client
January 28th 2019 17:53:31Info
Connecting to proxy at PROXYSERVERIP:10933
January 28th 2019 17:53:31Info
Sending unauthorized server CONNECT command for TENTACLEAGENTDNS.com:10933 to proxy
January 28th 2019 17:53:47Error
Unexpected exception executing transaction. Halibut.Transport.Proxy.Exceptions.ProxyException: A timeout while waiting for the proxy server at ::ffff: PROXYSERVERIP on port 10933 to respond.
at Halibut.Transport.Proxy.HttpProxyClient.WaitForData(NetworkStream stream)
at Halibut.Transport.Proxy.HttpProxyClient.SendConnectionCommand(String host, Int32 port)
at Halibut.Transport.Proxy.HttpProxyClient.CreateConnection(String destinationHost, Int32 destinationPort, TimeSpan timeout)
at Halibut.Transport.SecureClient.CreateConnectedTcpClient(ServiceEndPoint endPoint)
at Halibut.Transport.SecureClient.EstablishNewConnection()
at Halibut.Transport.SecureClient.ExecuteTransaction(Action1 protocolHandler) January 28th 2019 17:53:50Error Unexpected exception executing transaction. Halibut.Transport.Proxy.Exceptions.ProxyException: A timeout while waiting for the proxy server at ::ffff: PROXYSERVERIP on port 10933 to respond. at Halibut.Transport.Proxy.HttpProxyClient.WaitForData(NetworkStream stream) at Halibut.Transport.Proxy.HttpProxyClient.SendConnectionCommand(String host, Int32 port) at Halibut.Transport.Proxy.HttpProxyClient.CreateConnection(String destinationHost, Int32 destinationPort, TimeSpan timeout) at Halibut.Transport.SecureClient.CreateConnectedTcpClient(ServiceEndPoint endPoint) at Halibut.Transport.SecureClient.EstablishNewConnection() at Halibut.Transport.SecureClient.ExecuteTransaction(Action
1 protocolHandler)
Squid Logs say
NONE/400 40243 NONE error:invalid-request - HIER_NONE/- text/html
I can provide more logs from squid and octopus server/tentacle
Please let me know how to go about solving this