Troubleshooting Nomatron Server

Nomatron is in early access. Some advanced workflows may not be covered in the public docs.

When the Nomatron server is not behaving as expected, the fastest path to an answer is to narrow the problem down to one of five areas:

  • startup and process lifecycle;
  • PostgreSQL connectivity and initialization;
  • HTTP reachability and TLS;
  • Serf clustering and server membership; or
  • licensing and runtime health.

This page is meant to give operators a practical first-response flow.

First Checks

Start with the simplest checks first.

1. Is The Process Still Running

Confirm the server process is alive and not exiting immediately.

If the process will not stay up at all, focus first on:

  • config parsing;
  • database connectivity;
  • TLS file paths; or
  • Serf configuration.

2. What Do The Logs Say

The logs are usually the fastest place to identify which startup phase failed.

The key startup stages are:

  • config loaded;
  • database connection attempt;
  • migrations and bootstrap work;
  • RBAC seeding;
  • Serf startup;
  • HTTP server start;
  • licensing state transition.

If you do not get past one of those stages, you know which subsystem to investigate next.

3. Does The Health Endpoint Respond

Check:

text
/api/v1/health

or:

bash
nomatron health

If health is failing, that usually means the issue is not cosmetic. It is often tied to the database, Serf, or another runtime dependency.

Startup Failures

Symptom: The Process Exits Immediately

Most often caused by:

  • an invalid config file;
  • missing or unreadable TLS files;
  • bad PostgreSQL connection details;
  • a missing licence key or cluster key (licensing cluster_key is required for connected mode);
  • a missing or malformed NOMATRON_ENCRYPTION_KEY (NOMATRON_ENCRYPTION_KEY is required, or must be 32 bytes or base64-encoded 32 bytes); or
  • invalid Serf settings, including a removed serf.join or NOMATRON_SERF_JOIN value (NOMATRON_SERF_JOIN is removed; use NOMATRON_SERF_RETRY_JOIN instead).

Recommended checks:

  • validate the config path and file content;
  • check certificate and key file paths if TLS is enabled;
  • confirm the PostgreSQL DSN is correct;
  • confirm NOMATRON_LICENSE_KEY, NOMATRON_CLUSTER_KEY, and NOMATRON_ENCRYPTION_KEY reach the process (from your secret store, not the command line); and
  • confirm the Serf block is complete for non-dev mode and uses retry_join, not join.

Symptom: The Server Starts But Never Becomes Healthy

Most often caused by:

  • database connectivity that succeeded initially but is not stable;
  • Serf membership not becoming healthy;
  • licensing moving into a blocking state; or
  • an externally reachable api_addr mismatch causing dependent flows to fail.

Database Problems

The database is one of the most common failure points.

Symptom: The Server Cannot Connect To PostgreSQL

Check:

  • hostname and port;
  • username and password;
  • sslmode or TLS expectations;
  • security groups, firewalls, or private-network reachability; and
  • whether PostgreSQL is actually ready to accept connections.

Symptom: Startup Reaches The Database Stage But Then Fails

That usually points to:

  • migrations;
  • initialization not having been run yet;
  • insufficient database permissions; or
  • a database that is reachable but not usable by the configured account.

Verify:

  • nomatron database init has completed successfully;
  • the configured database user can create and modify what Nomatron needs;
  • you are pointing at the correct database, not an empty or stale one.

Symptom: Health Endpoint Is Down Because The Database Is Unhealthy

If the process is up but /api/v1/health is failing, confirm the database has not become unavailable after startup.

This can happen due to:

  • load balancer or firewall changes;
  • PostgreSQL restart or failover behavior;
  • certificate rotation problems; or
  • connection exhaustion.

HTTP And TLS Problems

Symptom: The UI Or API Is Not Reachable

Check:

  • the configured listen port;
  • whether the reverse proxy or load balancer points at the right backend;
  • whether Nomatron is listening on the expected interface; and
  • whether the environment expects direct TLS termination or external TLS termination.

Symptom: TLS Errors On Startup

If in-process TLS is enabled, confirm:

  • the certificate file exists;
  • the key file exists;
  • the files are readable by the Nomatron process; and
  • the certificate/key pair actually matches.

If you are terminating TLS at a load balancer, do not enable Nomatron TLS unless you intentionally want both layers.

Symptom: Integrations Or Callbacks Use The Wrong URL

This usually means server.api_addr is wrong or unset for the environment.

Set it to the real externally reachable base URL used by browsers and integrations.

Serf And Multi-Server Problems

Outside dev mode, Serf is part of normal server operation.

Symptom: Single-Server Node Never Becomes Healthy

Even in single-server mode, Serf still starts. Check:

  • node name;
  • bind address;
  • port; and
  • whether the local firewall allows that port on the host.

Symptom: Multi-Server Cluster Does Not Form

Check:

  • every node has a correct advertise_addr;
  • peer retry_join addresses (or cloud auto-join strings) are valid and reachable;
  • all nodes share the same Serf encryption key; and
  • the Serf port is open between nodes over both TCP and UDP.

Symptom: Some Nodes Join, Others Flap

That usually points to one of:

  • wrong advertise address behind NAT;
  • unstable host networking;
  • inconsistent encryption key;
  • different config rolled out to different nodes.

Licensing Problems

Licensing is part of runtime health, not just initial setup.

Symptom: The Server Starts But Shows Licensing Warnings Or Blocking State

Check:

  • the configured license_key and cluster_key;
  • that the licensing mode is connected (offline licensing for air-gapped environments is coming soon and is not supported in v0.1.7);
  • runtime licensing status in the UI or nomatron status --wide; and
  • whether quota exhaustion or entitlement limits are actually the real issue.

If the problem is clearly licensing-specific, use the dedicated licensing docs:

Operational Triage Flow

When a server issue is reported, a good operator sequence is:

  1. confirm the process is still running;
  2. inspect the latest startup and runtime logs;
  3. check /api/v1/health;
  4. confirm database connectivity;
  5. confirm Serf membership if not in dev mode;
  6. confirm the external URL and TLS model;
  7. confirm licensing is not the real blocker.

That sequence usually gets you to the right subsystem quickly.

When To Escalate Beyond The Server

Some issues that look like Nomatron server failures are really problems in adjacent systems, such as:

  • PostgreSQL;
  • reverse proxies and load balancers;
  • DNS or certificates;
  • firewall and private-network policy;
  • Nomad cluster-side reachability; or
  • GitHub App and callback wiring.

If the Nomatron logs clearly show one of those external boundaries failing, move the investigation there rather than continuing to treat it as an application-only problem.