Relay troubleshooting

A Relay edge collects Network devices, vCenter, Hyper-V, SolarWinds, firewall policy (Check Point, Fortinet and SCALANCE S/SC) and monitoring data inside a network the cinqstack server cannot reach, and sends signed results back to the server. Relay needs the Enterprise edition.

Before you start

Enrol and start an edge like this:

cinqstack edge enrol --hub https://cinqstack.example.com --code ABCD-EFGH-JKLM-NPQR --name "Halden Foods site 2"
cinqstack edge run
cinqstack edge status

Run cinqstack edge run as a service. The edge polls the server about every 20 seconds.

Common problems

Message you seeWhat it meansWhat to do
enrolment refused: enrolment code is unknown, used or expiredThe code was mistyped, already used, or older than 30 minutes.Create a new enrolment code on the Relay page and enrol again.
enrolment refused: too many failed enrolment attempts; wait 10 minutesTen failed attempts came from this address. Enrolment is blocked for 10 minutes.Wait 10 minutes, then enrol with a fresh code.
already enrolled as … with …; delete …/edge.json to re-enrolThis state directory already holds an enrolled edge.Use the existing enrolment, or delete edge.json in the state directory to enrol again.
cannot reach the cinqstack server: …The edge could not open HTTPS to the server. It retries with a growing wait, up to 5 minutes.Check outbound HTTPS from the edge, the --hub address, a proxy, and the CA bundle.
POST /relay/v1/poll: 401 timestamp outside the 120s window (skew …s); check the edge clockThe edge and server clocks differ by more than 120 seconds.Set up time synchronisation on the edge (and the server) and let it retry.
POST /relay/v1/poll: 401 unknown or revoked edgeThe server no longer accepts this edge. It was revoked or deleted.Create a new enrolment code, delete edge.json on the edge and enrol again.
Relay edge … did not collect within 6 h.The run waited for the edge, but the order was not delivered within 6 hours.Check on the Relay page that the edge is online, and run cinqstack edge status on the edge.
Relay edge …: …The edge tried to collect and failed. Its message follows, for example SSH authentication failed or vCenter login failed.Fix the cause named in the message. The collector pages for that module explain each one.

Other run messages you may see on a routed run:

If an older collection arrives after a newer one was applied, the server marks it superseded and never applies it. That is not an error.

Collect details for support

On the server:

  1. Open the failed run of the routed job and click Download log. The file is named <module>-run-<run id>.log.
  2. Note the edge name and the work order on the Relay page under Recent work orders.

On the edge, in the state directory ($CINQSTACK_EDGE_DIR, or ./data/edge by default):

Edge-side messages in the table above appear in edge.log and as the last error in status.json.

Send the server run log, edge.log, status.json, the cinqstack version on server and edge, and the edge's operating system. Never send edge.json: it holds the edge's private keys.

An admin can also download a diagnostics bundle under Settings › Support › Download diagnostics. The page lists every file in it before you download, so you can check what you send. It never contains passwords, API keys, NetBox tokens, the licence file, device configurations or photos.