Hi there,
I’m trying to setup a polling tentacle behind a transparent squid proxy to communicate with the Octopus server. The polling tentacle is able to verify the given credentials and even register itself in the Octopus server but as soon as the wizard finishes, the Tentacle logs shows errors like this:
System.Net.Sockets.SocketException (0x80004005): No such host is known
Here are the steps performed in the Tentacle box:
- Install Octopus Tentacle 3.4.9
- In the wizard, set the Communication style to
Polling Tentacle
- Check the option
Use the proxy server configured in Internet Explorer
- Set the Octopus Credentials and click to verify credentials (as image 01.png)
- Assign environment and roles to register the new Tentacle. At this point I was able to see all the existing environments and roles from the server.
- Install the Tentacle as the image 02.png.
The wizard finishes successfully (it is possible to see the new tentacle registered in the Octopus Server) but from this point the Tentacle is not able to reach the Octopus server. Analysing the OctopusTentacle.log
it shows multiple errors like the following one:
2016-09-19 05:22:18.3758 7 INFO Agent will trust Octopus servers with the thumbprint: 5EAC769061E79FDB69xxxxxxxxxxxxxxxx
2016-09-19 05:22:18.3758 7 INFO Agent will poll Octopus server at https://oc.inside.xxxxxxxxxxx:10943/ for subscription poll://9x2mcx4823yxxxxxxwl/ expecting thumbprint 5EAC769061E79FDB69xxxxxxxxxxxxxxxx
2016-09-19 05:22:18.3758 7 INFO Agent configured to use the system proxy, but no system proxy is configured for https://oc.inside.xxxxxxxxxxx:10943/
2016-09-19 05:22:18.3758 7 INFO Agent will not listen on any TCP ports
2016-09-19 05:22:18.3758 7 INFO The Windows Service has started
2016-09-19 05:22:18.3913 8 INFO https://oc.inside.xxxxxxxxxxx:10943/ 8 Opening a new connection
2016-09-19 05:22:18.4070 8 INFO https://oc.inside.xxxxxxxxxxx:10943/ 8 No such host is known
System.Net.Sockets.SocketException (0x80004005): No such host is known
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult)
at Halibut.Transport.TcpClientExtensions.ConnectWithTimeout(TcpClient client, String host, Int32 port, TimeSpan timeout) in Z:\BuildAgent\work\e1bda71fea4b4831\source\Halibut\Transport\TcpClientExtensions.cs:line 34
at Halibut.Transport.TcpClientExtensions.ConnectWithTimeout(TcpClient client, Uri remoteUri, TimeSpan timeout) in Z:\BuildAgent\work\e1bda71fea4b4831\source\Halibut\Transport\TcpClientExtensions.cs:line 12
at Halibut.Transport.SecureClient.CreateConnectedTcpClient(ServiceEndPoint endPoint) in Z:\BuildAgent\work\e1bda71fea4b4831\source\Halibut\Transport\SecureClient.cs:line 138
at Halibut.Transport.SecureClient.EstablishNewConnection() in Z:\BuildAgent\work\e1bda71fea4b4831\source\Halibut\Transport\SecureClient.cs:line 118
at Halibut.Transport.SecureClient.ExecuteTransaction(Action`1 protocolHandler) in Z:\BuildAgent\work\e1bda71fea4b4831\source\Halibut\Transport\SecureClient.cs:line 54
2016-09-19 05:22:23.4226 8 INFO https://oc.inside.xxxxxxxxxxx:10943/ 8 Opening a new connection
2016-09-19 05:22:23.4226 8 INFO https://oc.inside.xxxxxxxxxxx:10943/ 8 No such host is known
System.Net.Sockets.SocketException (0x80004005): No such host is known
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult)
at Halibut.Transport.TcpClientExtensions.ConnectWithTimeout(TcpClient client, String host, Int32 port, TimeSpan timeout) in Z:\BuildAgent\work\e1bda71fea4b4831\source\Halibut\Transport\TcpClientExtensions.cs:line 34
at Halibut.Transport.TcpClientExtensions.ConnectWithTimeout(TcpClient client, Uri remoteUri, TimeSpan timeout) in Z:\BuildAgent\work\e1bda71fea4b4831\source\Halibut\Transport\TcpClientExtensions.cs:line 12
at Halibut.Transport.SecureClient.CreateConnectedTcpClient(ServiceEndPoint endPoint) in Z:\BuildAgent\work\e1bda71fea4b4831\source\Halibut\Transport\SecureClient.cs:line 138
at Halibut.Transport.SecureClient.EstablishNewConnection() in Z:\BuildAgent\work\e1bda71fea4b4831\source\Halibut\Transport\SecureClient.cs:line 118
at Halibut.Transport.SecureClient.ExecuteTransaction(Action`1 protocolHandler) in Z:\BuildAgent\work\e1bda71fea4b4831\source\Halibut\Transport\SecureClient.cs:line 54
From the Tentacle box I’m able to reach the Octopus server on port 10943 (https://oc.inside.xxxxxxxxxxx:10943) and also the login page.
Seems that the proxy configuration the Tentacle is using to poll the Server is different from what was previously configured in the wizard setup.
Thank you,
Bruno Rubin.