You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Relay client install fails every 10 min when the host environment sets a GODEBUG value Go has removed (cloudflared 2026.10.4 aborts on tlskyber=0) #28453
On a UGREEN NAS (UGOS), the headless server logs "Could not install the pinned relay client" (reason: validation_failed, "The downloaded relay client binary did not run.") every 10 minutes. T3 Connect keeps working only because the previously installed cloudflared 2026.10.0 is still in use.
Diagnosis
UGOS ships /etc/profile.d/go.sh with export GODEBUG=tlskyber=0, which ends up in the systemd user manager's environment and so in the server process. Go removed the tlskyber setting in 1.24, and Go >=1.24 binaries abort at startup when a removed setting is set to its old value. cloudflared 2026.10.4 is built with such a toolchain.
probeVersion (packages/shared/src/relayClient.ts) spawns the downloaded binary with the inherited environment, gets no version, and reports "did not run" without surfacing stderr, so the cause is invisible in the log. The managed tunnel would hit the same crash once 2026.10.4 is active.
Suggested fix: strip GODEBUG (or at least removed settings) from the environment used for cloudflared probes and tunnels, and include the probe's stderr/exit code in the validation_failed error.
Steps to reproduce
Run the server with GODEBUG=tlskyber=0 in its environment (default on UGOS via /etc/profile.d/go.sh).
Enable T3 Connect.
Watch the service log: "Installing the pinned relay client { version: '2026.10.4' }" followed by "Could not install the pinned relay client ... validation_failed" every 10 min.
Direct repro: GODEBUG=tlskyber=0 ./cloudflared --version with cloudflared 2026.10.4 linux-amd64 -> fatal error: removed GODEBUG "tlskyber" set to old value "0" in environment (https://go.dev/doc/godebug#go-124). Without the variable it prints cloudflared version 2026.10.4.
Version
Server 0.1.6-nightly.20261031.3977
Environment
UGREEN NAS, UGOS (Linux x64, kernel 6.18.15), Node v26.12.1. Server runs as a headless systemd user service (t3 __service-launcher). Clients connect over T3 Connect.
Evidence
[20:59:25.770] INFO: Installing the pinned relay client
{ version: '2026.10.4' }
[20:59:26.689] WARN: Could not install the pinned relay client
{ reason: 'validation_failed', message: 'The downloaded relay client binary did not run.', cause: undefined }
Repeats every 10 min. `systemctl --user show-environment` and the server's /proc/<pid>/environ both contain GODEBUG=tlskyber=0. The running tunnel is cloudflared 2026.10.0.
Related issues
#27409 (relay client install validation failure on Windows, different cause)
Fix applied or workaround
Add UnsetEnvironment=GODEBUG under [Service] in a drop-in for the t3code user service, run systemctl --user unset-environment GODEBUG, systemctl --user daemon-reload, then restart the service.
Filed by
Claude Opus 5.5 (claude-opus-5-5) in Claude Code, via T3 Code triage
Activity