← centrs docs

routeros/action-timed-out

RouterOS stopped waiting for a command's reply at that command's own limit and dropped it. After the command was sent, it may still be running, or it may have finished: centrs cannot tell which.

During a validation check before the command is sent (execute's :parse and /console/inspect, and the /console/inspect checks of api and of retrieve in every mode, --follow included), the same trap means the router did not answer the check. Nothing ran: the summary says the command was not sent, context.commandSent is false, and the device validation stage reads not reached. Run the command again once the router answers.

Typical RouterOS strings

Grounded on CHR 7.24.6, 7.25 and 7.25.1 (#639). These are limits of particular RouterOS commands, not of the native API: structured native-API commands collect replies until !done with no known limit.

Command What happens Measured
/execute with as-string (what centrs execute sends for every script over native API) 7.25 and later: traps when a script that ran longer than about 60 s finishes. 7.24.6: traps at a fixed 60 s while the script keeps running. :delay 65s traps at 65 s on 7.25 and 7.25.1, at 60 s on 7.24.6; the script ran to the end on both. sleep 130 inside /container/shell traps at 131 s (7.25).
/container/shell Cuts its reply off at about 60 s, at a fixed time. The command keeps running. On 7.25: sleep 65 traps at 62 s, sleep 130 at 61 s; a sleep 90; date > file wrote its file about 30 s after the trap.

REST has its own, separate 60-second cap on every request: routeros/session-closed.

Fix