Skip to content

Diagnostics ​

This chapter covers the diagnostics and debugging tools in the controller, and how to use them to track down connection problems.

Where to Find It ​

The diagnostic tools are in the controller under Settings → Diagnostics & Debugging. The command-line controller gives the same information; see CLI Diagnostics.

All diagnostic information comes directly from the client core and reflects its real state.


Connection Status ​

The top of the page shows three basic statuses:

ItemMeaning
Controller ↔ Client CoreWhether the controller is connected to the local core
CoordinatorWhether the core is connected to the coordinator
Virtual network adapterWhether the virtual network adapter is ready

It also shows the IPC protocol versions of the controller and core, the total number of disconnects, and the most recent error.

Common Status Combinations ​

SymptomPossible cause
Controller can't connect to the coreThe core isn't running, or the current user lacks access permission (see Controller)
Coordinator not connectedA local network problem, a misconfigured coordinator address, or the coordinator is temporarily unavailable
Virtual network adapter not readyThe core lacks administrator / root privileges; on Windows, wintun.dll is missing

Re-register ​

Click Re-register and the core immediately resubmits the device information (device name, mnemonic, public key, etc.) to the coordinator.

Useful when you've changed the device name or mnemonic and want it synced right away.


Viewing Logs ​

Click View Logs to see the client core's recent logs:

  • Filter by level
  • Refresh or Clear the log buffer
  • Export logs to make reporting problems easier

Logs never contain private keys, access tokens or passwords.


Advanced Options ​

Path Selection ​

OptionDescription
Disable P2P direct connectionsAlways forward traffic through relays; existing direct paths drop back to relayed at once
Lock current pathsPrevent any path switching
Relay preferencePick the best automatically, or pin an official relay (official relays only)

Relay Registration ​

Shows how this device is registered with the current relay:

  • Authenticated registration (sreg1): uses signed registration, so only the holder of the device's private key can change it
  • Legacy registration (unauthenticated): used when the relay doesn't support authenticated registration

It also shows the number of registration packets sent and when the relay path was last verified — meaning a round trip through this device's preferred relay has been confirmed to work.

If the current room specifies a room relay, the room relay's resolved address and registration count are shown as well.

Game Discovery (End to End over WireGuard) ​

Shows game discovery statistics:

ItemMeaning
SentDiscovery messages sent to room members (each broadcast × each member)
ReceivedDiscovery packets injected into this device
Not sent (member's version too old)Broadcasts not sent to a member because it runs client 3.1.5 or older
DroppedCounted per reason, see below
Drop reasonMeaning
Sender not a room memberThe sender isn't in the room this device is in
Not a game discovery broadcastThe content doesn't follow the game discovery rules (only UDP broadcasts and the two discovery multicast groups)
Over the rate limitOne sender exceeded 10 per second, or all senders together exceeded 100 per second

With a core of 3.1.5 or older, the controller doesn't show this section.

Path View (Read-Only) ​

Lists the current path and encryption state for each peer:

  • Selected: the path in use (relay or direct address)
  • Last change reason: e.g. "direct path not responding" or "no direct candidate responded"; see Connections for what each reason means
  • Encryption: WireGuard session state (not established / handshaking / encrypted / failed / no public key) and handshake time
  • The number of consecutive failed direct-probing rounds, and when the next probe will happen

The member cards on the home page also show the reason after the path, e.g. "Path: relayed (direct path not responding)". With a core up to 3.1.7, no reason is shown.

Network Transport ​

SettingDescription
MTU1280–1500, automatic (1280) by default; takes effect after restarting the core
DNS configuration mode (Linux only)Prefer split DNS, or DNS interception only
Bypass other VPNs' full tunnels (Linux only)On by default, see Client Configuration
Block other VPNs over MSST-Net (Linux only)On by default, see Client Configuration

Linux-only options are not shown in the mobile controller.

Traffic Counters ​

Shows data sent, received and dropped per peer. Reset automatically when the path switches.

NAT Traversal ​

  • Current endpoints: the direct-connection candidate addresses this device most recently reported
  • Endpoint history: the last 10 reported endpoints
  • Relay keepalive interval: 5–30 seconds, 25 seconds by default; applies to relay registration only — direct paths are checked every second
  • Force Refresh Endpoints: re-detect and report endpoints immediately

Other Diagnostic Tools ​

Ping Peer ​

Sends 10 probes (200 ms apart, 2-second timeout) to the specified device, and reports the number sent, received and lost, plus the average round-trip time. You can Select from Peer List or enter the target device ID directly.

Since 3.1.5 the probes take the path actually used to talk to that device, named in the result's Path line:

PathHow it probes
P2P directDirect probe packets to the direct address in use
Relayed (inside the WireGuard tunnel)Probe packets inside the encrypted tunnel via the relays, answered by the peer's core; without an encrypted session a handshake comes first, so the first result may include it

The peer's client core answers the probes itself, so the peer's Ping (ICMP) toggle doesn't matter:

  • All timed out: the path to the peer isn't working (compare with the encryption state in the path view)
  • Higher latency through a relay is normal; to find out why there is no direct path, check the direct probing state in the path view

Cores up to 3.1.4 always probed the peer's first direct candidate, which timed out for every relayed peer; with such a core the controller doesn't show the Path line.


CLI Diagnostics ​

With the command-line controller msst-net-cli, these commands show the same information (add --json for the core's raw data):

CommandShows
msst-net-cli statusConnection status, this device's identity, the room
msst-net-cli nodesKnown nodes and their paths (with change reasons)
msst-net-cli pathsPath view: direct candidates, encryption state, change reasons
msst-net-cli relaysRelays, registration state and game discovery counters
msst-net-cli trafficTraffic counters per node
msst-net-cli endpointsReported endpoints and their history (--refresh re-detects first)
msst-net-cli diag-ping <device ID>Ping a node over the path actually in use
msst-net-cli logsClient core log (-n sets the number of lines)

See Controller.


Troubleshooting Approach ​

When you can't reach a peer's service, we recommend checking in this order:

  1. Local status: are all three connection statuses normal?
  2. Is the peer reachable: check whether the peer's encryption state in the path view is "Encrypted", or test the current path with Ping Peer
  3. Peer firewall: ask the peer to check under Defense → Access Log whether your access was denied, and why
  4. The service itself: confirm the peer's service is listening, and not only on 127.0.0.1

Designed by the MSST-Net Developers, built with Claude Code