Troubleshooting

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

Licensing problems are easiest to troubleshoot when you separate them into three questions:

  1. what mode is the server running in?
  2. what validation state is it reporting?
  3. is the problem informational, degraded, or blocking?

Start With Runtime State

The most important fields to inspect are:

  • runtime_mode
  • license_mode
  • validation_status
  • license_status
  • issues
  • blocking

Use either:

bash
nomatron status --wide

or the licensing area in the Nomatron UI.

Healthy, Degraded, Invalid

These states mean different things operationally.

Healthy

Validation is succeeding and there are no blocking issues.

Degraded

Nomatron previously had a usable valid state, but fresh validation is not currently succeeding and the runtime is relying on cached state.

This should trigger investigation even if the installation is still functioning.

Invalid

The installation no longer has an acceptable valid state to rely on.

This is the state most likely to cause blocking behavior or loss of licensed functionality.

Common Symptoms

Operators usually notice licensing problems through one of these paths:

  • startup logs show an unhealthy or invalid licensing transition;
  • the UI shows warnings, degraded health, or blocked features;
  • new resource creation starts failing near quota limits; or
  • a licensed feature is suddenly unavailable.

Common Troubleshooting Flow

1. Confirm The Intended Mode

Make sure the deployment is actually supposed to be:

  • connected
  • offline (coming soon for air-gapped environments; not supported in v0.1.7)
  • or dev_bypass

Most production installs should be connected.

If the mode itself is unexpected, fix that first.

2. Check The License Key Configuration

Confirm the configured licensing stanza matches the intended deployment model.

For most public-facing installs, that means a licence key and, in connected mode, a cluster key:

hcl
licensing {
  license_key = "YOUR_LICENSE_KEY"
  cluster_key = "YOUR_CLUSTER_KEY"
}

If startup or nomatron database init fails with licensing cluster_key is required for connected mode, set licensing.cluster_key or NOMATRON_CLUSTER_KEY. If this is a new installation, generate a cluster key yourself, for example with openssl rand -base64 32. If the installation already has one, use that same value; Nomatron does not store cluster keys and cannot recover a lost one. Every server in the installation must use the same value.

3. Inspect Startup Logs

Look for licensing state transition lines in the server logs.

Example:

text
INFO  nomatron: licensing state changed: runtime_mode=connected validation_status=healthy healthy=true warnings=0 errors=0 blocking=false

If later transitions move to degraded or invalid, that change is often more useful than the first startup line alone.

4. Check For Quota Pressure

If the installation is still validating but specific actions are failing, check whether the current usage is close to or beyond quota limits.

This is especially important before blaming a feature path or API behavior.

5. Distinguish Entitlement From Validation Problems

Sometimes the license is healthy, but the requested feature is simply not entitled under the current license.

That is different from:

  • invalid key;
  • degraded validation path; or
  • blocked runtime state.

When To Escalate Quickly

Treat licensing as urgent when:

  • validation_status=invalid;
  • blocking=true;
  • the entitlement set is clearly wrong for the current environment; or
  • normal rollout work is now blocked by licensing state.

In those cases, licensing is no longer just commercial metadata. It is actively affecting control-plane availability or delivery workflows.