Troubleshooting

Find your symptom: each entry follows “what you see → likely cause → fix → verify”. If none match, jump to the end-of-walkthrough backtrack guide.

Symptom 1: The invite link fails to join

What you see: joining fails after pasting the zr-net:// link, or the passphrase is rejected, expired, or over its use limit.

Likely cause: the key was rotated (rotate-key invalidates every old link); the invite expired (default 168 hours / 7 days, configurable 1–720 h) or hit its max uses (default 10, configurable 1–1000); or the #passphrase segment was dropped during copy.

Fix: run rotate-key in the console to generate a fresh key (resetting expiry and use count), then copy the full zr-net://gateway/networkId#passphrase link — all three parts are required (see the zr-net protocol spec).

Verify
dsh-zen-remote peer join "zr-net://full-link"

Symptom 2: CLI says pending approval; the device stays offline

What you see: the CLI reports waiting for approval, and the device stays non-green in the console.

Likely cause: the network uses “approve every device” admission mode and your request is waiting in the queue.

Fix: open the network in the console → “Join requests” → approve the device.

Verify: the device shows online in the console; dsh-zen-remote peer status lists peers on the local machine.

Symptom 3: Devices online, but traffic stays on Relay instead of P2P

What you see: peer status shows Relay persistently.

Likely cause: at least one side sits behind Symmetric NAT or a restricted corporate network where UDP hole-punching cannot traverse.

Fix: no action needed — this is the designed fallback with identical end-to-end encryption; the plugin silently re-probes for direct after 3 s, 8 s, then every 25 s and upgrades without dropping the session. To enable direct immediately, place both devices on the same LAN or Tailscale mesh.

Verify: P2P in the output means it switched back
dsh-zen-remote peer status

Symptom 4: UDP hole punching connects, then dies instantly — first packet passes, everything after is lost

What you see: the host sits behind an OpenWrt router NAT; the first inbound UDP packet gets through, then everything times out — almost indistinguishable from "hole punching failed" or "connects then drops in seconds", and easy to misattribute to the ISP or zen-remote itself.

Likely cause: the router runs both FullCone NAT and Shortcut-FE (SFE) flow offload — SFE copies forwarded flows into its own fast path, bypassing netfilter, so the inbound translation FullCone depends on never runs. Static UDP port forwarding with SFE enabled shows the same failure — this is not FullCone-specific.

Fix: disable SFE, keep FullCone — never run both. Prefer the LuCI switch: uncheck "Shortcut-FE flow offload" on the Turbo ACC/firewall page, save and apply; disable the fast-classifier variant too. On fw4/nftables firmware (23.05+) SFE carries compatibility risks around the conntrack event interface and is not recommended. If you need acceleration, use kernel software flow offloading where the firmware supports it, then re-verify inbound UDP. Once SFE is actually off, keep FullCone unchanged and re-test with several consecutive packets along the same UDP path — stable restored connectivity supports SFE involvement; the first packet usually passes in both states, so testing one or two packets cannot tell them apart.

Self-check and disable: verify modules and the fullcone value; modules must be gone after stopping SFE
# if the first command prints nothing: SFE is not loaded, offload ruled out
lsmod | grep -E 'shortcut_fe|fast_classifier'
# fullcone matches the same line enabled or disabled — check whether the value is 1 or 0
uci show firewall | grep -i fullcone
# stop SFE: prefer the firmware service manager
/etc/init.d/shortcut-fe stop
# confirm it is actually off (expect no output):
lsmod | grep -E 'shortcut_fe|fast_classifier'

Symptom 5: The phone PWA session list won’t refresh or open

What you see: the session list on the phone is stale, or the site will not load.

Likely cause: ① the plugin or DSH stopped on the computer; ② the ingress path is down (tunnel dropped, Caddy stopped, or Wi-Fi changed); ③ pairing or session expired.

Fix: back on the computer, confirm DSH and the plugin are running; run dsh-zen-remote status for gateway state; run “Re-test connectivity” in the wizard (or host ingress verify). Pull to refresh on the phone, or re-pair if needed.

Verify: once both are green, refresh the phone
dsh-zen-remote status
dsh-zen-remote host ingress verify

Symptom 6: The console sign-in code never arrives

What you see: clicked “Send code” and no email arrives.

Likely cause: ① you requested a code within the last 60 seconds (cooldown active); ② the message landed in spam; ③ SMTP is not configured on a self-hosted gateway.

Fix: wait one minute and resend; check spam; on a self-hosted gateway, review SMTP setup in Self-hosted gateway. Repeated failures show a gateway error on the page rather than an inbox issue.

Verify: resend after the cooldown; the code usually lands within seconds.

Symptom 7: The console “New network” button is disabled

What you see: the button is disabled and greyed out.

Likely cause: quota is full — a self-hosted gateway allows 3 networks per person by default (ZR_GATEWAY_MAX_NETWORKS_PER_USER), adjustable per user group by the admin; the console shows your current limit.

Fix: delete an unused network (network settings → delete) so quota frees immediately, or ask an admin to raise your group quota.

Verify: the switcher count (X / N created) drops and the button becomes clickable.

Symptom 8: The console network list is empty or fails to load

What you see: existing networks are missing from the list, or a “network list failed to load” error card appears.

Likely cause: the browser-to-gateway request failed (a transient network blip or gateway restart) — your networks were not deleted.

Fix: click “Retry” on the error card or refresh the page. Existing networks and quota survive failed fetches.

Verify: the list returns and the switcher count reads normally.

Nothing matched? Backtrack a stalled walkthrough

Every path in Scenario walkthroughs ends with a concrete check. Work backwards from the missing check:

  • Identify which finish-line check is missing (device offline / phone unreachable / sidebar empty) and jump back to that step.
  • Re-run the verification command for that route (peer status / status / client list); the first error marks the breakpoint.
  • Still stuck: click “Export diagnostics” in plugin settings, or run dsh-zen-remote status --debug to generate a sanitized diagnostic report for a GitHub issue.
Sanitized diagnostic report
dsh-zen-remote status --debug