Resolution
Communication issues with Polling or Listening Tentacles, like failing to register, reconnecting, or disconnecting with Octopus Cloud, are usually due to external networking interface around the communication ports used or TLS Traffic interruption. These are issues around implementation rather than with the Tentacle or the Octopus Platform itself.
- Make sure network communication isn't blocked, and ensure Ports 443/10943 are open outbound for Polling Tentacles, or that Port 10933 isn't being filtered Inbound for Listening Tentacles from your instance's Static IP Address.
- Make sure SSL Offload is turned off if you're communicating through a Proxy.
- Deactivate TLS Inspection for these communication ports.
- Confirm the Tentacle is configured with the correct Instance URL and Space.
Symptom
-
Most commonly, if you're failing to see your Tentacle installations in Infrastructure ➜ Deployment Targets (or Workers) in your Octopus Cloud instance after confirming that the service has started up where it's installed.
-
Alternatively, SSL Communication is being impacted and can prevent registration:
WARN | Checking that server communications are open failed with message The SSL connection could not be established, see inner exception.. Retrying (1/5) in 00:00:00.7500000.`
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
- Another manifestation of this new Tentacle that previously worked is showing as offline or failing to reconnect after you make changes to your preexisting networking infrastructure.
Scope: when this is the right article
When you're running into an issue with your Tentacle registering, connecting, or reconnecting to your Octopus Cloud instance, while you've made sure that the Tentacle service is running on the client service it's installed on and hasn't stopped.
Cause
There are numerous reasons this might be occurring, from device-level firewall rules filtering port communication in or out of the Tentacle to Octopus Cloud Servers, Firewall, or IDP rules that might be interrupting traffic, and even flows that disrupt normal TLS/SSL traffic via SSL Offloading.
When determining the exact cause, start at the device hosting the Tentacle service and work outward until you reach the upstream Octopus Cloud servers. Ruling out device-level firewall rules, security rules, logical switching and routing rules, and tunnel misconfigurations can be key to identifying which component is blocking the traffic.
It's also important to understand how our Tentacles communicate; simply using ping to confirm communication isn't enough since it uses TLS communication. We have diagnostic tools like Tentacle Ping that we've developed to help troubleshoot whether it can establish a TLS connection.
Diagnosis and fix
Issues with communication do differ a bit based on type, but ultimately the troubleshooting methodology is the same.
Start to diagnose the issue based on the stack. Our diagnostic tool Tentacle Ping can be used to determine whether or not communication is flowing normally.
Due to various potential ways communication can be impacted, this next section will be broken into smaller sections:
Make sure Tentacles are pointed at the correct Octopus Server Instance
-
On the host where Tentacle is installed:
-
For Windows in CMD or PowerShell:
Tentacle.exe show-configuration --instance <InstanceName> -
On Linux, run:
Tentacle show-configuration --instance <InstanceName> -
Verify the Octopus Server URL used, and make sure the thumbprint also matches what you see in the Octopus Cloud instance.
-
Also make sure it's registered in the right Space; otherwise, it won't appear in Infrastructure ➜ Deployment Targets (or Workers)
-
If you're utilizing a proxy for your Polling Tentacle, make sure it's configured properly.
Rule out issues with the Tentacle Host
-
Check your Host Firewalls; this will differ between Windows and Linux:
-
Outbound communication for Polling Tentacles requires ports 443 and 10943 to be allowed out.
- Listening Tentacles require inbound Port 10933 traffic from the Octopus Cloud Static IP
-
Also make sure system firewalls like the Windows Firewall explicitly allow this traffic; otherwise, it will be blocked at the host level.
-
Antivirus and security endpoint protection services might also impact this traffic; you'll need to whitelist Tentacle with those services, or with the communication ports depending on the communication mode used by the Tentacle.
Check Edge Devices
-
If these are going through proxies to communicate, SSL Offload will not work and needs to be disabled; otherwise, it will break the TLS traffic needed for the Tentacles to communicate properly.
-
Ensure TLS inspection is turned off for the port pertaining to Tentacle traffic.
-
Fragmentation might also interfere with Tentacle's ability to communicate properly with Octopus Cloud; please make sure this isn't occurring if you're customizing MTU beyond what's typically expected in most communication. IPsec communication is particularly vulnerable to this.
Check Tentacle Logs for Remaining Errors
-
Failed health checks are also indicators. For more detailed information, you can check the Tentacle logs located in either of their default directories:
-
Windows:
C:\Octopus/<Instance>
- Linux:
/etc/octopus/<Instance>
Verify
Outside of the UI indications within Octopus Cloud, here are some other ways of being able to verify that communication is working properly:
- You've verified Tentacle is pointed to the correct IP, Instance URL, and Space.
- Make sure the Status is showing Online.
- It can complete a full Health Check, not a simple connection test.
- The related Tentacle logs are showing no connection or certificate errors.
Related
Listening Tentacle Network Troubleshooting