Skip to content

Troubleshooting ​

Check and repair ​

From the desktop app ​

While the host runs, it re-checks the .test resolver every 10 seconds and root trust every 60 seconds. If either check fails:

  • The tray icon switches to the alert badge and posts a desktop notification.
  • Click the notification, or open the tray menu and click Set up DNS or Trust certificate, to run the privileged repair.
  • For browser trust issues, open the dashboard's Certificate card to see system trust status (and Firefox's separate trust check when viewed in Firefox).

From the CLI ​

Run testd doctor any time something looks off:

sh
testd doctor
testd doctor --json
testd doctor --fix

doctor checks your config, operator secret, OS resolver route, actual .test DNS resolution, optional Caddy integration, PKI validity, and the HTTPS edge. (PKI is always required for registration TLS even when the built-in browser edge is disabled; OS root trust is required only when the built-in edge is enabled.)

Exit codeMeaning
0Everything is ready
1Missing or invalid configuration or state
2Resolver route or .test DNS resolution is broken
3PKI, certificate trust, or the HTTPS edge is not ready

testd doctor --fix applies privileged repairs: configures the OS resolver, writes a missing operator secret, adds the Caddyfile import and reloads Caddy if configured, and installs or reinstalls the root certificate.

Common problems ​

ProblemLikely cause and fix
Browser shows a certificate warningRoot CA is not trusted yet; run testd doctor --fix or click Trust certificate in the tray menu. In Firefox, open the dashboard to check Firefox trust and import the root if prompted.
.test name does not resolveOS resolver is not configured or the host daemon is not running; run testd doctor or click Set up DNS in the tray menu. On Windows, a stale answer may need ipconfig /flushdns.
404 from the edgeNo live registration for that name: the leaf stopped, you clicked Stop, or its grant was deleted.
502 from the edgeThe host cannot reach the target: wrong port/address, remote server bound only to loopback without a paired leaf, or a firewall blocking it.
Duplicate name errorAnother connection already owns the name; pass --force only if you want to take it over.
Authentication failedStale credential after revoking a token or resetting the host; delete ~/.config/testd/credentials/<profile> and run again.
Access request expiredNobody approved it within two minutes; run testd run again.
port 53 already in use on WindowsAnother local DNS service owns UDP port 53; stop it so testd can bind .test DNS.
nothing is serving HTTPSStart the desktop app or testd host and check edge_addr; on Linux, port 443 needs CAP_NET_BIND_SERVICE or a high port (see Privileged ports).
no daemon is runningStart the desktop app or testd host; the dashboard, shares, requests, and tokens live in the daemon.
Second daemon exits immediatelyOnly one host daemon can run per user (either the desktop app or testd host, not both).
Share has no URLTunnel provider is missing, not authenticated (ngrok), or failed to report a URL; check the daemon logs.

Layer-by-layer checks ​

LayerCommand or observation
Configuration presenttestd doctor; first check is config
Operator secret setdoctor check secret
Resolver routedoctor check resolver
Name resolves through the OSdoctor check resolution
PKI can issue a leafdoctor check pki, with the built-in edge enabled
Root trusteddoctor check certificate, with the built-in edge enabled
Edge listening and trusteddoctor check edge
Optional Caddy wiringdoctor checks caddy, caddyfile, reload
Live names and targetsDashboard Live names, or curl -H "Authorization: Bearer <dashboard_token>" http://127.0.0.1:7737/api/status
Pending requestsDashboard Access, or testd requests
Issued tokensDashboard Tokens, or testd tokens
Shares and URLsDashboard Shares, tray menu, or testd share --list

ISC licensed. No account, no telemetry.