Start with Health in the console (or sudo safeaictl status): most problems show up there with the reason. For the service log:
sudo safeaictl logs 500.
A device can't be read
The device page and Coverage say why. The usual causes:
| What it says | What to do |
|---|---|
| Wrong password, or authentication refused | Check the saved account (Devices & accounts) and that the account exists on the device. On FortiOS, check trusthost allows SafeAI's address. |
| No SSH answer | Check the route and any firewall between SafeAI and the device's management address, and that SSH is enabled on that interface (FortiOS: set allowaccess ... ssh; Cisco: a vty access-class must allow SafeAI). |
| Not enough privilege / empty configuration | Cisco IOS below privilege 15 returns an empty show running-config; SafeAI then reads more system:running-config, which needs file privilege 7 and privilege exec level 7 more. ASA and EOS accounts that land at the > prompt need their enable password saved with the account. Junos needs a class with view-configuration (the built-in read-only class lacks it). |
| The SSH host key changed | SafeAI stops reading that device and sends no password, on purpose. If the device was replaced or re-keyed, compare the fingerprint on the device page with the one the device shows, and confirm it there. |
| Only old SSH algorithms offered | Allowed by default and listed on Health so you can update the device. If you turned allow_legacy_ssh off, such devices can't be read. |
| Certificate not trusted (Palo Alto, WinRM, vCenter) | For a self-signed certificate, the first failed read shows its fingerprint: add the device option tls_sha256=<fingerprint>. For your own CA: sudo safeaictl ca-install. |
| Timed out | Large FortiGate configurations take time: raise collect.fortios_timeout_s (default 300 s). Others: collect.timeout_s (default 90 s). |
| Configuration not stored: a secret was found in clear | SafeAI's blocking check found a certain secret it couldn't remove, so it refused to store the configuration. That is a missing redaction rule: tell SafeCadence. |
Windows: WinRM must be over HTTPS (5986); the account must be in Remote Management Users; choose transport=kerberos or
credssp if NTLM is disabled. BitLocker status needs a local administrator; without one, only that item is missing.
Changes are found late, or without who made them
That means device logs aren't reaching SafeAI, so changes come from the scheduled read (every 15 minutes) instead.
- Check the device sends to SafeAI's address and the right port (the console's Device logs page shows the exact lines for your installation, including a non-default port).
- Check nothing filters UDP/TCP 514 between the device and SafeAI.
- Logs are matched to devices by address. A device added by host name is matched by what the name resolves to (looked up every 10 minutes). Devices sharing one address (behind NAT) can't be told apart; their changes are found by the scheduled read.
- Logs relayed by a log server count only if that server is listed under Device logs → Trusted relays.
A change shows "No matching approval"
SafeAI found no maintenance window, ServiceNow change or approved fix covering that device at that time. It isn't an accusation: review it and record the outcome. If the change was planned:
- The window must cover the device (or its site) and the time. A change found by the scheduled read counts as planned only when one window covers the whole period since the previous read, because SafeAI can't know exactly when within it the change was made. Send device logs so changes are timed to the second.
- For ServiceNow, the change request's configuration item or short description must name the device.
A computer with the agent doesn't appear, or stops reporting
- The agent connects out on TCP 8444: check that nothing blocks it.
- The agent refuses a server whose certificate doesn't match the CA fingerprint in its install command. If computers reach SafeAI under another name or address than the one shown, set it under Agents → Agent settings and use a new install command.
- Enrollment codes expire and are limited to a number of computers: create a new one if needed.
- On the computer:
safeai-agent status;safeai-agent collectprints what it would send (sends nothing). - A computer that hasn't reported for 48 hours raises an
agent_silentalert: it may be off or away, or the agent was stopped.
The console
| Problem | What to do |
|---|---|
| The browser warns about the certificate | It is self-signed until you install yours: sudo safeaictl tls-install fullchain.pem key.pem. |
| Anyone on the network can reach the console, even with ufw on | Docker publishes the ports ahead of the server's firewall. Restrict them on your network firewall, or bind SafeAI to one address (BIND= in /etc/safeai/safeai.env, then sudo safeaictl restart). |
| The owner forgot the password or lost the phone | sudo safeaictl reset-admin <username> on the server: a new password, owner role, and two-step sign-in reset. |
| Someone lost their phone | They sign in with a recovery code, or an owner presses Reset two-step on their row (Settings → Users). |
| Single sign-on refuses someone | Group names must match exactly; a person in no mapped group can't sign in. A client group that names a client that doesn't exist refuses the sign-in. If "refuse sign-ins without a second step" is on, the identity provider must report MFA in the amr claim. |
| A demoted approver's approval stopped a fix | Intended: when the window comes, AgentGuard checks the approver still holds a role that can approve. Approve it again. |
SafeAI itself
| Problem | What to do |
|---|---|
/healthz answers 503 |
SafeAI's own checks haven't run for 15 minutes: sudo safeaictl status and sudo safeaictl logs 500. With ?strict=1, a failing check (for example no device can be read) also gives 503. |
| The disk is filling up | Usually stored logs: lower logs.retention_days or logs.max_mb_per_day. Old versions: sudo safeaictl prune. Backups: 14 nightly are kept on the server; copy them off and keep fewer if you need to. |
| An upgrade failed | If the new version doesn't come up within three minutes, safeaictl goes back to the previous version on its own, with the data as it was. It also stops before starting if there isn't enough disk space. |
| After a restore, every secret shows as changed | The keys weren't imported. Restore with sudo safeaictl key-import <file> first next time; for now, acknowledge those changes once. |
| Something else | sudo safeaictl support-bundle writes a file with versions, health, settings (addresses masked) and the service log, but no passwords, keys, tokens, accounts or configurations. Look through it, then send it to SafeCadence. |
Pages that look empty
- Automated attacks shows no detections: SafeAI needs sign-in and connection logs (Cisco
login on-failure log; FortiGateset logtraffic all; sshd; pfSense/OPNsense filterlog). The page lists which devices give it those logs. - AI readiness says a change "can't be previewed": SafeAI can prepare that fix, but can't yet simulate it on that platform (FortiOS configuration lines, for example). Review the plan by hand before approving.
- Lines "not in the catalog": SafeAI doesn't know what that line does on that platform, and says so rather than guessing. Common on preview platforms. Tell SafeCadence about lines that matter to you.
- Live check "Recent log messages" refused on Cisco IOS: a privilege-7 account also needs
privilege exec level 7 show logging.
Frequently asked questions
Does SafeAI change my devices? Not unless you turn on approved fixes. Then only built-in fixes run, each one approved by a person (by default someone other than the person who proposed it), with a separate write account, inside a change window, and checked by a new read, with an automatic rollback if the problem is still there.
Does any data leave my network, or go to SafeCadence? Nothing goes to SafeCadence. Everything SafeAI reads stays on your server. It connects out only to what you set up: cloud and identity-provider APIs for the accounts you add, and optionally your SSO, ServiceNow, alert channels and an AI model.
Does it need internet access? No. It installs and upgrades from a signed bundle, and runs fully offline (tested with every packet to the internet dropped).
Is SafeAI a firewall? Does it block attacks? No. It sits beside your network, not in the traffic path. It finds the doors an attack would use, detects attacks in your logs, and recommends the exact change. For a FortiGate it can draft a block as a change request; a second person approves it and a person applies it. Your firewall enforces it.
Do I need to install the agent? No. SafeAI reads network devices, Linux, Windows, VMware and clouds without one. The agent is for laptops and computers outside the management network, macOS, and seeing the AI tools on computers.
What does the AI do, and what does it see? The AI is optional and off by default. If you set one up (your own or a cloud model), it receives only redacted text, and can suggest causes, answers and rules that SafeAI then checks with its own fixed code. It can't run a command, pick a check or choose a fix. Every finding, change and fix in SafeAI is fixed code.
Which platforms does it support, and what does "preview" mean? See Installation guide, "What SafeAI reads in this release". Preview platforms are built from vendor documentation and sample configurations and haven't been run at a customer yet (ASA, NX-OS, IOS XR, EOS, Junos and PAN-OS not yet on a real device); the console labels them. Compatibility matrix lists, platform by platform, what SafeAI does and where it was tested.
How long does it take to install? About 30 minutes, most of it creating read-only accounts. With zero-touch, the lab appliance went from power-on to 44 routers and switches added and read in about 2 minutes.
Is there high availability? Not in this release: SafeAI is one server. If it is down, nothing is watched, but your network is not affected. Nightly backups and a documented restore bring it back on a new server.
Can an MSP use it for several customers? Yes: clients, client-limited accounts, client sign-off for changes, and per-client reports. Overlapping private addresses between clients are kept apart.
These pages are the documentation that ships inside SafeAI 2.9.85.1, the version you download. Something unclear or wrong? Tell us.