DocumentationBuild. Deploy. Operate.
DocsReference

Troubleshooting & FAQ

On this page 10 sections

QSCS is built to run quietly for months at a time. The questions below are the ones that come up while you are getting a fresh cluster wired up, almost all of them are configuration nudges rather than anything actually going wrong with the daemon.

A node came up as role=Node and I wanted it to be master

Role is decided by matching the local Tag against the Master entry of the [Domain] block. Two things to check:

  1. Make sure there is no stray lowercase tag = … line in [QSCS Daemon] shadowing your Tag. If there is, remove it and restart.
  2. Confirm the master designation in Infrastructure → Manage → Master & Fallback. Select Master, choose the intended member and save. Running nodes poll for the new configuration every 20 seconds and apply it automatically; check the applied revision in the journal if the role has not changed.

If an elected fallback has not taken over, confirm that its configuration includes the Fallback role and that it can reach the control plane. Automatic promotion requires sustained master failure, an expired master lease, and control-plane confirmation that the master is unreachable. A failed origin alone is not a master failure. The fallback must also be able to reach the configured backend when promoted. See Choosing the Master for the election and recovery flow.

A thin client returned 503 instead of HEADLESS

HEADLESS serves URLs from the local cache, so it only covers URLs the node has already seen. The very first request for a brand-new URL while the master is unreachable is the one case HEADLESS cannot answer, the response is 503 with X-QSCS-Mode: full. As soon as the master is reachable again the URL is cached and HEADLESS covers it from then on.

I see Implicit upstream resolved to 0.0.0.0:8080 in the log

That means the thin client has not yet found a peer marked Master in its [Domain] block. Designate the master in the control panel and allow the automatic configuration update to apply. If it does not, check the node's control-plane connectivity and applied revision. A deliberate qscs subscribe domain <cluster-tag> followed by a restart can reconcile a node after the underlying issue is fixed.

The cluster works from inside the host but not from the outside

This is a firewall / binding question, not a QSCS one. Confirm:

  • Your cloud provider's security group allows TCP 8080 inbound to the master from each thin client's IP.
  • The master is binding 0.0.0.0 rather than 127.0.0.1 (see [HTTP Listener].Bind).
  • The thin client's [Origins] entries point at the master's public address.

qscs subscribe says “domain not found”

Cluster tags are case-sensitive and must match exactly what is in the control panel. If you have just created the cluster, give the panel a moment to commit before re-running.

The cache appears to start empty on every restart

That is EphemeralMode doing its job. It is a hardening option for secure environments that signs every request with a per-request key and deliberately does not persist cache state to disk between runs. If you want the cache to survive restarts (the normal production setting), leave EphemeralMode at its default false in [QSCS Daemon].

Where is my license key?

A fresh anonymous deployment receives its free entitlement automatically: unlimited nodes, domains and origins, with no registration or manually entered license. Use qscs status to find its account handle. For nodes installed directly under an existing account, use the licensing instructions in Infrastructure → Register a server. See joining, claiming and licensing for both flows.

Can I run QSCS in a container?

Yes. The image is docker.io/spooksystems/qscs:latest. It runs in the foreground as UID/GID 10001, uses a separate persistent volume per node at /var/lib/qscs, and supports environment-based enrollment and origin setup. Application traffic uses TCP 8080 and peers use TCP 4443 by default. Keep the default image command. The Kubernetes guide covers automatic one- or two-node enrollment, storage permissions, ingress, claiming and adding members.

How big does the cache get?

It is bounded by default to a fraction of host RAM and managed by QSCS itself, you do not have to size it manually. Watch qscs_cache_bytes on the metrics endpoint if you want to see the current footprint.

I have a question that is not on this list

Drop us the relevant journal line (journalctl -u qscs) and your userID to support@spook.systems. Every internal log line is tagged with the source subsystem and a stable identifier, so even short snippets are usually enough to pin down what is happening.

Need a hand with your deployment?Contact support ↗Back to top ↑