<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Troubleshooting on Goauld</title><link>https://Hazegard.github.io/Goauld-doc/06-troubleshooting/</link><description>Recent content in Troubleshooting on Goauld</description><generator>Hugo</generator><language>en</language><atom:link href="https://Hazegard.github.io/Goauld-doc/06-troubleshooting/index.xml" rel="self" type="application/rss+xml"/><item><title>Diagnose an agent</title><link>https://Hazegard.github.io/Goauld-doc/06-troubleshooting/01-diagnose/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://Hazegard.github.io/Goauld-doc/06-troubleshooting/01-diagnose/</guid><description>&lt;p&gt;Use this checklist when an agent does not appear in the client, repeatedly disconnects, or accepts control traffic but cannot open an SSH session.&lt;/p&gt;
&lt;h2 id="1-check-that-the-server-is-reachable"&gt;1. Check that the server is reachable&lt;a class="td-heading-self-link" href="#1-check-that-the-server-is-reachable" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Verify the listener used by the agent. For a direct SSH listener:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;nc -vz SERVER_HOST &lt;span class="m"&gt;2222&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Expected output:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;TODO_PLACEHOLDER_HERE
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For HTTP or HTTPS, request the server URL from the same network where the agent runs:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;curl -I https://SERVER_HOST/
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Expected output:&lt;/p&gt;</description></item><item><title>The agent does not appear</title><link>https://Hazegard.github.io/Goauld-doc/06-troubleshooting/02-agent-missing/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://Hazegard.github.io/Goauld-doc/06-troubleshooting/02-agent-missing/</guid><description>&lt;p&gt;An agent must complete its outbound control connection and registration before it appears in &lt;code&gt;tealc list&lt;/code&gt; or the TUI.&lt;/p&gt;
&lt;p&gt;Check these in order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Confirm that the process is running on the target machine.&lt;/li&gt;
&lt;li&gt;Confirm that the target resolves the configured server hostname.&lt;/li&gt;
&lt;li&gt;Test the configured egress port from the target machine.&lt;/li&gt;
&lt;li&gt;Confirm that the agent&amp;rsquo;s public age key matches the server&amp;rsquo;s private key.&lt;/li&gt;
&lt;li&gt;Confirm the server address, port, and access token in the agent build configuration.&lt;/li&gt;
&lt;li&gt;Read the agent log for the selected transport and registration error.&lt;/li&gt;
&lt;li&gt;Read the server log for a rejected connection or authentication failure.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;On the operator workstation, verify that the client is using the same server and access token:&lt;/p&gt;</description></item><item><title>Control works, but SSH fails</title><link>https://Hazegard.github.io/Goauld-doc/06-troubleshooting/03-ssh-fails/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://Hazegard.github.io/Goauld-doc/06-troubleshooting/03-ssh-fails/</guid><description>&lt;p&gt;If the agent is visible in &lt;code&gt;tealc list&lt;/code&gt; but &lt;code&gt;tealc ssh AGENT_NAME&lt;/code&gt; fails, the control path is working and the problem is probably in the data path.&lt;/p&gt;
&lt;p&gt;Check:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the agent&amp;rsquo;s SSH service is enabled;&lt;/li&gt;
&lt;li&gt;the server SSH listener or &lt;code&gt;ssh-websocket&lt;/code&gt; endpoint is enabled;&lt;/li&gt;
&lt;li&gt;the client is using the intended &lt;code&gt;--ssh-server&lt;/code&gt; or &lt;code&gt;--ws&lt;/code&gt; mode;&lt;/li&gt;
&lt;li&gt;the agent&amp;rsquo;s SSH port matches the server configuration; and&lt;/li&gt;
&lt;li&gt;the operator IP is allowed by &lt;code&gt;allowed-ips&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Run the client with verbose logging:&lt;/p&gt;</description></item><item><title>The agent repeatedly reconnects</title><link>https://Hazegard.github.io/Goauld-doc/06-troubleshooting/04-reconnects/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://Hazegard.github.io/Goauld-doc/06-troubleshooting/04-reconnects/</guid><description>&lt;p&gt;Repeated reconnects usually indicate an unstable egress path, an expired working window, a proxy interruption, or an agent process restart.&lt;/p&gt;
&lt;p&gt;Example healthy connection log:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;TODO_PLACEHOLDER_HERE
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Example reconnect/failure log:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;TODO_PLACEHOLDER_HERE
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Compare the agent and server logs and check:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;heartbeat RTT and timeout messages;&lt;/li&gt;
&lt;li&gt;reconnect count and transport failures in &lt;a href="https://Hazegard.github.io/Goauld-doc/03-server/07-metrics/"&gt;metrics&lt;/a&gt;;&lt;/li&gt;
&lt;li&gt;agent process restarts;&lt;/li&gt;
&lt;li&gt;proxy authentication or idle timeout messages;&lt;/li&gt;
&lt;li&gt;TLS certificate validity and clock skew; and&lt;/li&gt;
&lt;li&gt;&lt;a href="https://Hazegard.github.io/Goauld-doc/02-agent/08-working_days/"&gt;working-days&lt;/a&gt; and killswitch settings.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Try one transport at a time when isolating the problem. Start with the simplest path available, then test the configured fallback transports. Record which transport remains stable before changing the deployment permanently.&lt;/p&gt;</description></item></channel></rss>