For AI agents and humans

Troubleshooting

Symptom, likely cause, how to check, fix. Current versions: Tracerlight 2.22.1-f136bd5, Gyroscopic 1.12.6-bcd8897, Tailfin 0.30.6-caca6e7. Messages are quoted as the programs print them; <…> marks a value that differs per host. Raise the log level with RUST_LOG=debug (see Logs) when a section says a detail is only logged at debug level.

LogsVersion & checksumNo probe replyInvalid rangeBind failuresGyroscopic gets no dataLoss at upgradeSlow server stopWindows: won't startWindows: delayed startrc.d: old binaryTLS, pins, allow listsNo CA certificates

1. Where to look

The table below is for the install-page services. For the Tracerlight-only deployment (one log file per instance, /var/log/solidfokus/tracerlight-<role>-<tag>.log) see its log files and its troubleshooting. Full stack over HTTP: Deploy option 2, troubleshooting.

OSStatusLogs
Linux (systemd)systemctl status tracerlight-server (or tracerlight-client, gyroscopic, tailfin)journalctl -u tracerlight-server -n 100, follow with -f. Log level: Environment=RUST_LOG=… in the unit, then systemctl daemon-reload and restart.
FreeBSD (rc.d)service tracerlight_server status (or tracerlight_client, gyroscopic, tailfin)tail -n 100 /var/log/solidfokus/<name>.log. Log level: sysrc <name>_env="RUST_LOG=debug", then service <name> restart.
OpenBSD (rc.d)rcctl check tracerlight_servertail -n 100 /var/log/solidfokus/<name>.log (Gyroscopic lines carry a syslog header). Log level: the login class /etc/login.conf.d/<name> with :setenv=RUST_LOG=debug:, then rcctl restart <name>.
Windows (service)Get-Service <NAME>, sc.exe query <NAME>, sc.exe qc <NAME> (path, account, start type), sc.exe qfailure <NAME>Get-Content "$env:ProgramData\solidfokus\logs\<NAME>.log" -Tail 100; a failed start-up leaves the error as the last line. Exit code 2 (log file cannot be opened): Event Viewer, Windows Logs > Application, source = service name, event ID 1. Log level: the service's Environment registry value, then restart.

Tracerlight writes stats to stdout and operational messages to stderr; under the services above both end up in the same log. Run the exact service command in the foreground first to see errors directly (Ctrl+C stops it).

2. Checking the installed version and the download checksum

tracerlight -V, gyroscopic -V, tailfin -V print <app> <version>-<git sha>, e.g. tracerlight 2.22.1-f136bd5; on Windows & "C:\Program Files\SolidFokus\tracerlight.exe" -V. Gyroscopic and Tailfin also report it in /health: curl -s http://127.0.0.1:3000/health → {"status":"ok","version":"…"}. A version that did not change after an upgrade means the service still runs the old file: restart it, and on FreeBSD/OpenBSD see section 11.

Each download has a .sha256 file next to it (<hex> <file name>); the digests are also in section 1 of each install page.

# Linux
sha256sum -c tracerlight-2.22.1-f136bd5.sha256
# FreeBSD / OpenBSD
[ "$(sha256 -q tracerlight-2.22.1-f136bd5)" = "$(cut -d ' ' -f1 tracerlight-2.22.1-f136bd5.sha256)" ] && echo OK
# Windows (PowerShell)
(Get-FileHash tracerlight.exe -Algorithm SHA256).Hash.ToLower() -eq (Get-Content tracerlight.exe.sha256).Split(' ')[0]

A mismatch: download both files again; never install a binary that does not match.

3. Client gets no reply: probing never succeeds

Symptom: the client logs probing <address>:<port>, then after 30 seconds probe timed out after 30s waiting for server response at <address>:<port> and exits 1. A Windows client service fails Start-Service with that line last in its log.

Likely causes, all of which look the same to the client because nothing authenticated answered:

How to check:

  1. On the server, check the service is running (section 1) and its ports are bound: Linux ss -ulpn | grep 90, FreeBSD sockstat -4 -6 -l | grep tracerligh (without the final t: sockstat cuts the COMMAND column to 10 characters, so the process shows as tracerligh) and OpenBSD fstat -u _tracerlight | grep udp (run both as root; as an ordinary user they hide the UDP sockets), Windows Get-NetUDPEndpoint -LocalPort 9000.
  2. Compare the target, -p, -n and --key in the client and server command lines (Linux unit ExecStart, FreeBSD sysrc tracerlight_<role>_args, OpenBSD rcctl get tracerlight_<role> flags, Windows sc.exe qc <NAME>).
  3. Look at the server's stats: a growing invalid_key means packets arrive with a different key.
  4. Firewall on the server: Linux iptables -S / firewall-cmd --list-ports, FreeBSD/OpenBSD pfctl -sr as root (on FreeBSD, /dev/pf: No such file or directory means pf is not loaded, so pf is not the firewall: check ipfw with ipfw list or ipf with ipfstat -io instead), Windows Get-NetFirewallRule -Direction Inbound | Where-Object DisplayName -like 'Tracerlight*'. Check also any network firewall between the hosts.
  5. Run the client in the foreground with RUST_LOG=debug to see each probe attempt.

Fix: start the server; open the full UDP range (install page, firewall section); correct the address, port or key on one side so both match. Starting the client before the server is fine as long as the server answers within 30 s; a client that exited is restarted by systemd (Restart=on-failure, after 5 s), FreeBSD daemon(8) (-r, after 1 s) and the Windows recovery actions (5 s, 10 s, then every 60 s). OpenBSD rc.d has no supervisor: run rcctl start tracerlight_client again. --no-probe skips the probe but then the client does not learn the server's range.

Once a server has answered with (0, 0) (draining) or a real range, the 30 s limit no longer applies: the client waits without limit, so a client that stays up but measures nothing is waiting for its server to come back.

4. Invalid port range

Symptom: after 30 seconds the client logs invalid probe port range <low>..=<high> received from <address>:<port> and exits 1.

Cause: an authenticated server answered, but with a range where low < 1 or low > high. Such replies are retried for the normal 30 s start-up budget (debug log: probe invalid port range <low> to <high>); they do not remove the limit. A correct server always answers with its configured range, so this points at a broken or non-matching server on that address.

Check and fix: confirm what listens on the target's base port (section 3, step 1), check its -V, and replace it with a current Tracerlight server.

A different error, Error: port range overflow: base_port <p> + num_sessions <n> exceeds u16::MAX (65535), means the local -p/-n go past port 65535: lower one of them.

Not an error: probed port range changed from <a>..=<b> to <c>..=<d> is logged when a server comes back with a new range; the client uses the new one (a --no-probe client keeps its own range, see section 7).

5. Bind failures

Server: Error: failed to bind <address>:<port>: <OS error>, and the server exits. It binds every port of its range or none. Usual causes: another process (often a second instance, or an old one still stopping) holds a port; on Windows a reserved range. A buffer size the OS refuses also shows up as a bind failure, e.g. Error: failed to bind 0.0.0.0:<port>: Failed to set recv buffer on 0.0.0.0:<port>: No buffer space available (os error 55); lower --recv-buffer/--send-buffer. Address in use looks like … Address already in use (os error 48) (the number differs per OS). Check: Linux ss -ulpn, FreeBSD sockstat -4 -6 -l, OpenBSD fstat | grep udp (both as root), Windows Get-NetUDPEndpoint -LocalPort <port> and netsh interface ipv4 show excludedportrange protocol=udp. Fix: stop the other process or move the range with -p/-n (then update the firewall and, for --no-probe clients, their arguments).

Client: Error: session <n> failed to bind socket: <OS error> or Error: session <n> failed to connect to <address>: <OS error>. At start-up the client exits 1 (the service manager restarts it). Once it has been running, it logs session bind failed, probing again and retries every second without exiting. Session sockets are bound only after a successful probe, so these errors appear once the server has answered, not while the client is still probing. A --recv-buffer larger than the OS allows fails this way, e.g. Error: session 1 failed to bind socket: Failed to set recv buffer on 0.0.0.0:0: No buffer space available (os error 55), and the client exits: lower it. An oversized --send-buffer was accepted without error in tests (OpenBSD). Running out of sockets or ephemeral ports is a possible cause, not confirmed in tests.

Gyroscopic: Failed to bind to <address>:<port>: <OS error>: the HTTP port (default 3000, MCP 3101) is in use or listen_address is not an address of this host.

6. Gyroscopic receives no data

Symptom: Tailfin shows no tags or stale data; /api/v1/tags lacks a client or server tag.

Causes and the client's message (client log; Tracerlight retries transient errors with backoff):

Check: on the Gyroscopic host curl -s http://127.0.0.1:3000/health; from the client host curl -s -o /dev/null -w '%{http_code}\n' -u "tracerlight:$SECRET" -X POST -H 'Content-Type: application/json' -d '{}' <url> (with the right secret, -d '{}' returns 400 {"error":"missing required field: event"}, which shows the host, port and secret are fine; a 401 means a wrong secret or a wrong URL path, because auth is checked before routing); firewall commands as in section 3 for TCP 3000. Gyroscopic data is RAM-only, so it is empty after its own restart until clients post again.

7. Loss reported around a server upgrade or reboot

Expected behaviour (2.19.0): on a graceful stop the server logs drain started, replying with zero ports for 5s; clients log server draining, stopping sessions, probe once a second and resume when the server is back, with no loss counted and no restart. Packets in flight at that moment stay in sent - received but are not counted as lost.

Loss is still reported when:

Check: -V on server and clients (section 2); look for the drain lines above in both logs at the time of the stop.

Fix: roll out in order: Gyroscopic, then all Tracerlight clients, then Tracerlight servers one at a time; stop servers with the service manager (systemctl, service, rcctl, Stop-Service) or Ctrl+C, never kill -9. Windows services from before Tracerlight 2.19.0 / Gyroscopic 1.11.9: reinstall once for the 30 s preshutdown timeout used at reboot. Procedures: Tracerlight, Gyroscopic, setup guide.

8. Server stop takes 5–15 seconds

Normal. A graceful server stop first drains for 5 s (zero-port replies), then stops its tasks and prints a final summary; with telemetry configured it then flushes pending snapshots (up to 5 s) and sends a final POST (up to about 5 s). Up to about 15 s in total; the 2.19.0 tests measured 5.0–5.2 s with a reachable Gyroscopic. A second Ctrl+C or SIGTERM ends the drain at once (losing its benefit); a Windows service always runs the full 5 s. A log line Aggregator drain timed out after 5s means the flush hit its limit. Clients do not drain and stop quickly.

9. Windows: service installed but won't start

Symptom: --install-service succeeds, but Start-Service fails, the service stops at once or reports access denied.

Cause: the .exe is under C:\Users\<user>\…. The service account NT SERVICE\<NAME> cannot read files in a user profile.

Check: sc.exe qc <NAME>, BINARY_PATH_NAME.

Fix (elevated PowerShell): & $exe --uninstall-service <NAME>, move the .exe to C:\Program Files\SolidFokus\, run --install-service again from there, the icacls line from the install page, then Start-Service <NAME>.

Other start-up failures: the error is the last line of %ProgramData%\solidfokus\logs\<NAME>.log (service-specific exit code 1: bad config, port in use, name that does not resolve, probe timeout). Exit code 2: the log file cannot be opened, reason in the Application event log (Get-WinEvent -LogName Application -MaxEvents 200 | Where-Object ProviderName -eq '<NAME>' | Select-Object -First 5 TimeCreated, @{n='Text'; e={$_.Properties[0].Value}}). Exit code 3: start-up took over 180 s. --install-service errors (recovery actions denied on 2.18.7 and earlier, log directory link or owner) are listed in the Windows section of each install page.

10. Windows: Tracerlight starts minutes after boot

Cause: Tracerlight services are installed as Automatic (Delayed Start), about two minutes after the other automatic services, so several minutes after boot. Gyroscopic is not delayed.

Effect: after a Windows server reboot, clients that were already running wait in probing and count no new loss, but have no measurements until it is back. A client whose first probe falls in the delay (one starting fresh) still exits 1 after 30 s because nothing answered; its service manager restarts it (on OpenBSD, start it again).

Check: sc.exe qc tracerlight-server: START_TYPE shows 2 AUTO_START (DELAYED) or 2 AUTO_START.

Fix for a server that must return promptly (elevated): sc.exe config tracerlight-server start= auto (the space after start= is required). A reinstall with --install-service sets delayed start again, so repeat it after every reinstall.

11. FreeBSD/OpenBSD: a copied rc.d script runs the old binary

Symptom: a side-by-side or test instance, or a binary installed under another name, still reports the old version.

Cause: the rc.d scripts hardcode /usr/local/bin/<app>: on FreeBSD in command_args (and required_files for Tracerlight), on OpenBSD in daemon=.

Check: grep -n /usr/local/bin /usr/local/etc/rc.d/<name> (FreeBSD) or grep -n daemon= /etc/rc.d/<name> (OpenBSD), and ps -axww | grep <app> for the running path.

Fix: in the copied script, change the path to the new binary, then restart that instance. For a normal upgrade, replace /usr/local/bin/<app> itself.

12. TLS, pins and allow lists

Applies to Gyroscopic 1.12.0, Tailfin 0.30.0 and Tracerlight 2.20.0 and later. For a public or company certificate without a pin see section 13. Show the certificate any time with gyroscopic --config <file> --tls-info (or tailfin …): path and fingerprint, or no certificate yet at <path>.

Pin mismatch

Symptom: certificate fingerprint mismatch: expected <pin>, got <actual>. Tracerlight: a retryable post error: line, POSTs retried, no data in Gyroscopic. Tailfin: a WARN on the first dashboard or /api/* request and data source unavailable (Tailfin itself starts fine).

Cause: Gyroscopic's certificate was regenerated (both files deleted, or a new tls_dir), the pin was mistyped, or the client reaches another Gyroscopic.

Fix: run gyroscopic --tls-info on the Gyroscopic host; if got equals that value, copy it into Tracerlight tls_sha256 / Tailfin gyroscopic_tls_sha256 and restart the client. Also refresh any NODE_EXTRA_CA_CERTS copy of cert.pem (OpenCode).

HTTPS rejected without a pin

An https:// url to a self-signed Gyroscopic with no pin fails the certificate check. Add the pin. A pin with an http:// url is a start-up config error. Do not pin a public certificate.

Connections dropped, no reply

Symptom: curl shows 000, connection reset or a timeout; Tracerlight logs post error: … operation timed out; nothing in the server log at info level.

Cause: the peer address is not on the listener's allow list. The list also applies to 127.0.0.1/::1, and behind NGINX the peer is NGINX.

Check: restart the server with RUST_LOG=debug (see Logs) and look for allow list dropped connection peer=<addr>; the start-up log shows allow list listener=<name> entries=<n>.

Fix: add the address or its CIDR (and 127.0.0.1, ::1 for local tools), or set "allow": [] to permit all; restart.

Plain HTTP to a TLS port

curl http://… to a listener with TLS on fails (curl exit 1 or 52/56, empty reply); there is no redirect or fallback. Use https:// with --cacert <cert.pem>, and update every client url. The reverse, https:// to a plain listener, fails with a TLS protocol error.

Browser or OpenCode: certificate not trusted / name mismatch

Browsers trust a self-signed cert.pem only after it is imported as a CA; OpenCode needs NODE_EXTRA_CA_CERTS=<cert.pem>. The host in the URL must be localhost, the hostname, a bind address or a tls_names entry; a 0.0.0.0/[::] bind does not cover LAN addresses. Add the name to tls_names, then regenerate (stop, delete both files, start) and update the pins.

Start-up errors

MessageCauseFix
key.pem is not readable by this accountkey.pem exists but belongs to another account, e.g. created by a foreground run as root or yourself.Linux/BSD: chown <service user> key.pem (mode 0600), or delete both files and let the service create them. Windows: delete both files from an elevated shell and start the service.
tls directory is incomplete: <dir>; remove it to regenerateOnly one of cert.pem/key.pem is present.Delete the remaining file (or the folder) and restart; update the pins afterwards.
certificate does not match private keyThe two files are from different generations, or your own PEM pair does not match.Self-signed: delete both and restart. Own files: fix the paths.
cannot create tls directoryThe parent folder is missing or not writable by the service account.Install the current service setup: systemd StateDirectory= (then systemctl daemon-reload), the rc.d install -d …/tls line, or reinstall the Windows service. A second Windows service name needs its own tls_dir, created and granted by an admin.
invalid listen addressA bare ::.Write [::] (IPv4 and IPv6 from Gyroscopic 1.12.1 / Tailfin 0.30.1, see below).

Warnings

Basic auth on http is unencrypted: a secret is set, TLS is off and the bind is not loopback; turn on TLS or bind loopback behind NGINX. tailfin listener has no auth: set dashboard_secret. Tailfin 401 on every page: user must be tailfin with the dashboard_secret; /health never asks.

Listener healthy but IPv4 clients refused or time out

Symptom: /health answers on [::1] or an IPv6 address, but IPv4 clients (Tracerlight POSTs, Tailfin, curl to an IPv4 address) get connection refused or time out.

Cause: listen_address/listen_addr is [::] on Gyroscopic 1.12.0 or Tailfin 0.30.0 (or older) on FreeBSD, OpenBSD or Windows, which served [::] IPv6 only. Gyroscopic 1.12.1 and Tailfin 0.30.1 listen on IPv4 and IPv6 for [::] on every OS.

Check: gyroscopic -V / tailfin -V; the fixed versions log Starting server on [::]:<port> (IPv4 and IPv6) (Gyroscopic; MCP Starting MCP server addr=[::]:<port> (IPv4 and IPv6)) or listening addr=[::]:<port> (IPv4 and IPv6) (Tailfin). Listeners: sockstat -l -P tcp -p 3000 (FreeBSD), fstat | grep gyroscopic (OpenBSD), Get-NetTCPConnection -LocalPort 3000 -State Listen (Windows): a fixed version shows both a ::/tcp6 and a 0.0.0.0/tcp4 listener.

Fix: upgrade to Gyroscopic 1.12.1 / Tailfin 0.30.1. If you cannot upgrade, set 0.0.0.0 or an explicit IPv4 address (also mcp.listen_address) and restart; then re-check the allow list and the self-signed names (a new bind address is not in an existing certificate: add it to tls_names and regenerate, or connect by a name already in it).

Start-up fails: cannot bind … (IPv4 half / IPv6 half of [::]:<port>)

Cause: from Gyroscopic 1.12.1 / Tailfin 0.30.1 a [::] listener opens two sockets on the same port, [::] (IPv6 only) and 0.0.0.0, and stops (exit code 1) if either fails. IPv4 half: something else already holds the port on IPv4 (often an old instance or another service on 0.0.0.0). IPv6 half: the port is taken on IPv6, or IPv6 is disabled on the host.

Check: sockstat -l -P tcp -p <port> (FreeBSD), fstat | grep :<port> (OpenBSD), ss -ltnp 'sport = :<port>' (Linux), Get-NetTCPConnection -LocalPort <port> -State Listen (Windows).

Fix: stop the other listener or pick another port. On a host without IPv6 set 0.0.0.0 (IPv4 only); for IPv6 only, use a concrete IPv6 address. A bare :: is still invalid.

Building Tailfin on FreeBSD/OpenBSD

For those with source access: use gmake, not the base make (which fails with Invalid line "endif"). Published binaries need no build.

13. No CA certificates / public certificate not trusted (Tracerlight 2.20.2, Tailfin 0.30.5)

Tracerlight (telemetry url) and Tailfin (gyroscopic_url) verify an https:// url without a pin against the operating system's CA store. A plain http:// url and a pinned self-signed Gyroscopic never need a CA bundle. Gyroscopic is not affected.

Start-up fails: no CA certificates found on this host

Symptom: the service exits with code 1 right after start. Tracerlight: Error: no CA certificates found on this host, needed to verify the unpinned https url <url>: <fix for this OS>, or set SSL_CERT_FILE to a PEM CA bundle. A self-signed gyroscopic needs tls_sha256 instead; a plain http:// url needs no CA bundle. Tailfin: failed to build gyroscopic HTTP client ... no CA certificates found on this host, … (pin key gyroscopic_tls_sha256). If the message ends with (SSL_CERT_FILE="…" is set and replaces the system locations) or the same for SSL_CERT_DIR, that variable is the cause.

Cause: the url is https://, has no pin, and the host has no system CA bundle (minimal installs and containers), or SSL_CERT_FILE/SSL_CERT_DIR point to an empty or wrong location. An empty value counts as set.

Fix, by OS:

OSFix
LinuxInstall the CA bundle: apt install ca-certificates (Debian/Ubuntu), dnf install ca-certificates (Fedora/RHEL), apk add ca-certificates (Alpine). The bundle is then e.g. /etc/ssl/certs/ca-certificates.crt, /etc/pki/tls/certs/ca-bundle.crt or /etc/ssl/cert.pem.
FreeBSDpkg install ca_root_nss (gives /usr/local/etc/ssl/cert.pem), or certctl rehash to rebuild /etc/ssl/certs from the base system.
OpenBSD (Tracerlight)Restore /etc/ssl/cert.pem from the OpenBSD base system.
Windows (Tracerlight)Uses the Windows certificate store, kept current by Windows Update; this start-up error does not occur there.

Or point SSL_CERT_FILE at a PEM CA bundle (or SSL_CERT_DIR at a certificate folder) for the service: systemd Environment=SSL_CERT_FILE=… then systemctl daemon-reload; FreeBSD <name>_env in rc.conf; OpenBSD setenv in the instance's login class. If such a variable is set to an empty or wrong value, remove or correct it. Alternatives: use a plain http:// url on a trusted network, or, for a self-signed Gyroscopic, set the pin (tls_sha256 / gyroscopic_tls_sha256). Then restart the service and check the log.

Older builds: abort or opaque error without a CA bundle

Tracerlight 2.20.1 aborted at start-up with exit code 134 and a panic cannot fail: reqwest client with valid timeout … No CA certificates were loaded from the system; Tailfin 0.30.4 exited with failed to build gyroscopic HTTP client … No CA certificates were loaded from the system. Both happened even with a plain http:// url. Fix: upgrade to Tracerlight 2.20.2 / Tailfin 0.30.5; then http:// works without a CA bundle, and for https:// follow the section above.

Public or company certificate not trusted after upgrading

Symptom: after upgrading from Tracerlight 2.20.0 or older / Tailfin 0.30.3 or older, a certificate verification error for an unpinned https:// url (Tracerlight: a retried post error: line and no data in Gyroscopic; Tailfin: data source unavailable).

Cause: older builds carried their own root list; now the OS CA store decides. A company (private) CA that is not installed in the OS store is not trusted, nor is a certificate whose name does not match the url host.

Check: on the same host, curl -sS -o /dev/null https://<host>/ (on FreeBSD fetch -o /dev/null https://<host>/) should complete without a certificate error.

Fix: install the company CA in the OS trust store (Debian/Ubuntu: copy it as .crt to /usr/local/share/ca-certificates/ and run update-ca-certificates; Fedora/RHEL: /etc/pki/ca-trust/source/anchors/ and update-ca-trust; FreeBSD: /usr/local/etc/ssl/certs/ and certctl rehash; OpenBSD: append it to /etc/ssl/cert.pem; Windows: import it into the Local Machine “Trusted Root Certification Authorities” store), then restart the client. A self-signed Gyroscopic is pinned instead (section 12).

No data after upgrading: http:// url redirected to https://

Symptom: Tracerlight 2.20.2 / Tailfin 0.30.5 with a plain http:// url get no data through, while the url works in a browser. curl -sI http://<host>/… answers 301/302/307/308 with Location: https://… (typically NGINX redirecting all plain HTTP to HTTPS).

Cause: a plain http:// url no longer follows a redirect to https://.

Fix: put the https:// url in the config (Tracerlight url, Tailfin gyroscopic_url), make sure the host has a CA bundle (above) or pin a self-signed Gyroscopic, and restart.