Skip to content

Troubleshooting

BEFORE INSTALL → meridian check IP
"Will this server work for Meridian?"
Tests: SNI reachability, port 443, DNS, OS, disk space.
AFTER INSTALL, IS IT HEALTHY? → meridian check
"Are the control service, agents, relays, ports, and certificates OK?"
Tests every server in the fleet by role, over SSH.
AFTER INSTALL, CAN'T CONNECT → meridian test IP
"Is the VPN reachable from where I am right now?"
Tests: configured listeners, TLS/SNI, the delivered subscription, and real VPN traffic.
No SSH needed — runs from the client device.
AFTER INSTALL, CHECK EXPOSURE → meridian test IP --probe
"Does this deployment reveal a VPN or management surface?"
Tests: public ports, TLS/HTTP behavior, paths, SNI, DNS and topology policy.
No SSH needed — runs from the client device.
AFTER INSTALL, SOMETHING BROKE → meridian doctor IP
"Collect everything for debugging."
Collects: server OS, Meridian's services, agent and nginx logs, ports, firewall, SNI, DNS.

Add --ai to check or doctor for an AI-ready diagnostic prompt.

Causes:

  1. Cloud provider firewall / security group blocks port 443 inbound
  2. ISP or network blocks the server IP entirely
  3. Server is down or VPN services are not running
  4. UFW on the server doesn’t allow port 443

Fixes:

  1. Check cloud provider console — ensure port 443/TCP is allowed inbound
  2. Try from a different network (mobile data, another Wi-Fi)
  3. SSH in and check: systemctl status ctld netagent netcore nginx (are they active?), ss -tlnp sport = :443
  4. Check UFW: ufw status — should show 443/tcp ALLOW

Causes:

  1. Xray (netcore) is not running
  2. Port 443 is occupied by another service
  3. Reality SNI target is unreachable from the server

Fixes:

  1. Check Xray: meridian logs IP -c node -n 20
  2. Check port: ss -tlnp sport = :443 — should be nginx
  3. Test SNI: meridian check IP --sni HOST

Causes:

  1. DNS not pointing to server IP
  2. nginx not running or failed to get TLS certificate
  3. nginx not routing domain SNI correctly

Fixes:

  1. Check DNS: dig +short yourdomain.com @8.8.8.8
  2. Check nginx: systemctl status nginx
  3. Check the nginx routing files: ls /etc/nginx/stream.d/ /etc/nginx/sites-enabled/ (Meridian’s files start with meridian-v4-) and nginx -t

Causes:

  1. MTU issues on the network path
  2. ISP resetting long-lived TLS sessions

Fixes:

  1. Try a different network
  2. Use the XHTTP or WSS path (domain mode)

The server deployed, but real traffic didn’t flow through the camouflage target you chose with --sni. Pick another target — meridian scan IP finds ones on the server’s own network — and run the deploy command again with the new --sni. Without --sni, Meridian already tries www.google.com, dl.google.com, and www.cloudflare.com in turn.

“The server cannot reach any Reality camouflage target”

Section titled ““The server cannot reach any Reality camouflage target””

The server has no working outbound HTTPS to any default target. Check the provider’s outbound firewall, or pass a reachable target with --sni.

Deploys and applies are checkpointed. Fix the reported cause and run the same command again; finished steps are skipped.

Another service (Apache, nginx) is using port 443. Stop it or use a clean server. meridian check IP tells you what’s using the port.

meridian migrate saves its progress after every step. Fix the reported cause and run it again; it continues where it stopped, and a finished migration does nothing. The panel’s database is backed up before anything changes, in ~/.config/meridian/backups/ and in /var/backups/meridian-migration/ on the control server. If the links check fails after the apply, Remnawave is left in place (stopped) and the command says so: that is a bug, so open an issue with the output of meridian doctor.

Test SSH manually: ssh root@SERVER_IP. Ensure you have key-based access. Use --user flag if not root. If the server accepts only a password, run meridian deploy in a terminal without --yes and let it install a key (see Password-only servers), or run ssh-copy-id root@SERVER_IP once.

A node agent is offline or doesn’t apply

Section titled “A node agent is offline or doesn’t apply”

Check its logs: meridian logs IP -c node -n 50 shows the agent (netagent) and Xray (netcore). Common causes are a port collision on the host (Xray binds the ports from your topology directly, so they must be free), or an exit that can’t reach the control server on TCP 443 (the agent dials out to it; check the provider’s outbound firewall).

Fix: run meridian check IP and follow its remediation, then meridian apply: it re-enrolls an agent that lost its identity and upgrades one that runs an old build. meridian fleet status shows whether each agent is online and has applied the current configuration; the web panel’s Servers screen shows the same.

Less than 2GB free. Free up space: journalctl --vacuum-time=1d, apt-get clean, check /var/log/.

The certificate for your domain can only be issued once the domain’s A record points at the server (grey cloud while deploying). Update the record, wait for it to propagate (usually 5–15 minutes), then run the same deploy command again. meridian check IP --domain DOMAIN checks this before you deploy.

Most common cause: Server IP got blocked. Run meridian test IP; its findings distinguish network reachability from TLS, subscription, and tunnel failures. A TCP failure can also mean a cloud firewall or an offline server.

See the IP Blocked Recovery guide for recovery options (replacement exit, relay, CDN fallback).

Other causes:

  • Server rebooted and services didn’t start → meridian plan shows what is off and meridian apply repairs it. By hand: systemctl restart ctld netagent nginx
  • The control service is stopped or broken, so meridian apply says it does not answer → meridian check --repair reinstalls the same version and restarts it, keeping its data (meridian check)
  • Disk full → df -h /, journalctl --vacuum-time=1d
  • Control server gone for good → rebuild it from a snapshot with meridian restore (Control server lost)
  • Connected, but sites by name do not open (IP addresses still do) → the exit reaches none of its encrypted DNS resolvers. meridian check names them under Encrypted DNS; allow outbound TCP 443 to those addresses in the provider’s firewall
  1. Choose a server geographically closer (Finland, Netherlands, Sweden for Europe/Middle East)
  2. Check server load: htop or uptime
  3. Try the XHTTP or WSS path (domain mode) — routing through Cloudflare is sometimes better
  4. Verify BBR is enabled: sysctl net.ipv4.tcp_congestion_control

Do NOT run other protocols (OpenVPN, WireGuard) on the same server — it flags the IP.

meridian doctor --ai

Copies a diagnostic prompt to your clipboard for use with any AI assistant.

Or collect diagnostics for a GitHub issue:

meridian doctor

See the Relay guide — Troubleshooting section for relay-specific issues (port conflict, firewall, exit unreachable, service not started).

Check What it tests If it fails
Camouflage target Can the server reach the camouflage site? Server’s outbound is restricted. Try a different SNI with --sni
Camouflage target DNS Does the camouflage site resolve through the server’s DNS? Fix the server’s DNS resolver or pick another camouflage target
Port 443 Is port 443 free or used by Meridian? Another service is on 443. Stop it or use a clean server
Port 443 from outside Can the outside world reach port 443? Cloud firewall blocks it. Open port 443/TCP inbound
Domain DNS Does the domain resolve to server IP? Update DNS A record
Server OS Is it Ubuntu/Debian? Fails without apt (CentOS, Fedora, Alpine); reinstall with Ubuntu or Debian
Disk space At least 2GB free? Free up space
Clock sync Is client/server drift under a minute? One side is not syncing time. Enable NTP and automatic time on both devices
Section What to look for
Local Machine OS compatibility
Server OS version, uptime (recent reboot?), disk/memory usage
Services Are ctld (control service), netagent (agent), and netcore (Xray) active?
Exit node Logs Agent and Xray startup errors, “failed to start” entries, certificate issues
Listening Ports Port 443 should show nginx. If missing, nginx isn’t running
Firewall (UFW) Port 443/tcp should be ALLOW. If not listed, it’s blocked
Camouflage Target Should show CONNECTED with a certificate chain
Domain DNS Should resolve to server IP
Check Pass Fail or skipped
TCP reachability Every configured public TCP listener is reachable Firewall, ISP block, server down, or wrong topology
TLS/SNI camouflage The target presents the expected camouflage identity TLS routing, certificate, DNS, or SNI mismatch
Domain root Hardened 403/404 response is reachable DNS/nginx failure or unintended public content
Subscription The control service delivered valid Xray JSON for an active client Missing or inactive client, or the control service unreachable
Automatic fallback The delivered policy carried real traffic Balancer, routing, credential, or endpoint failure
Protocol checks Each target outbound carried real traffic Protocol-specific listener, firewall, or delivered config failure

The full test rotates independent public IP observers and checks the same observers directly. If neither the VPN tunnel nor the direct path can obtain an IP, the result is inconclusive rather than a false protocol failure. Set MERIDIAN_CONNECT_TEST_URL only when you operate a known observer endpoint.

The first full test may spend up to 120 seconds downloading and verifying the pinned Xray release from GitHub. After bootstrap, --timeout (default 5, range 1-30) applies to individual network operations. Exit 0 passed, 4 completed with negative findings, and 3 was inconclusive because required evidence was skipped. Basic mode cannot verify UDP-only Hysteria2 traffic.

If all checks pass but the VPN client still can’t connect: re-scan the QR code, check that the device sets its date and time automatically, or try another recommended app (Happ, FlClashX, Clash Mi, or Throne on desktop).