Troubleshooting a failed sign-in
By the end you can
- Use the console tools in the right order to localise a failure
- Read the common reject messages and their causes
- Tell "no reply at all" apart from "a reply that says no"
- Collect what support needs
Start with the console
Most questions are answered without a shell. Work in this order.
- Try It → Auth Simulator runs the decision for any user, device and source address and shows each step.
- Live Auth → Logs shows RADIUS decisions as they happen.
- Audit Trail → Auth History and OTP Funnel show past attempts and code delivery.
- System shows container states and health.
Then the quick checks from the first operations module: docker compose ps, the health call, "ready to process" in the RADIUS log, and free disk space.
Two very different failures
The first question is always: did Authcha answer?
- A reply that says no. Authcha received the request and refused it. The reason is in Live Auth and Auth History. Read it.
- No reply at all. The device times out. Authcha silently drops requests it cannot authenticate, so there is nothing to read in the log of a refusal.
When there is no reply
Check, in this order:
- The device is not a known RADIUS client, or the secret is wrong. Check Authorization Policies → RADIUS Clients and wait for Applied.
- A firewall blocks UDP 1812 between the device and Authcha.
- The device timeout is too short. The first request waits for your messaging provider. Use at least 10 seconds.
- The device sends from a different address than the one you registered. Set the device's RADIUS source interface.
To see whether packets arrive at all: docker compose logs -f freeradius | grep -i "<device-ip>". If that is not enough, turn on RADIUS debug mode for a few minutes, and turn it off afterwards.
What the reject messages mean
| Message | Meaning and fix |
|---|---|
Authentication failed | Deliberately generic. Causes: unknown user, disabled or locked user, disabled user type, unregistered device, no jump server rule for the source (when required), no mobile number, or a lockout. Run the same login in the Auth Simulator |
account is locked after repeated failures or by an administrator | Shown in Live Auth and Auth History only. The device still gets the generic message, on purpose. Users → Unlock clears it |
Incorrect credentials | Wrong password or code. Three failures lock the account for the code lifetime |
Service temporarily unavailable | The code could not be sent. See codes, below |
Service busy, try again shortly | The server refused on purpose: overloaded, or the device sends too many password logins per second. The reason is in Live Auth |
OTP rate limit exceeded, please wait | The user asked for too many codes in the window |
OTP sent, submit it as your password | Normal in trigger-phrase mode. Log in again with the code |
Missing User-Name or NAS-IP-Address | The device does not send NAS-IP-Address. Configure a RADIUS source interface |
One-time codes not arriving
- Try It → OTP Delivery: send a test code to the same number. If that fails, the problem is the provider path, not the login.
- Audit Trail → OTP Funnel: find
send_failedevents and their error text for the user. docker compose logs --tail 100 otp_service.
Usual causes: invalid provider credentials, a WhatsApp template that is not approved or has the wrong ID, an SMS sender or DLT template that is not registered (India), no outbound internet from the host (set a proxy), a missing or badly formatted mobile number, or a mismatched token after a manual edit (REST_OTP_TOKEN missing from VALID_API_KEYS; recreate otp_service, freeradius and admin).
802.1X and MAB
- TLS handshake fails: the client does not trust the server certificate, or checks the wrong name. Export the certificate the server presents and compare it to what the client expects.
- Handshake works but login is rejected: the username does not exist, is locked or disabled, or the password is wrong. 802.1X users need no mobile number.
- The client is quarantined unexpectedly: the user is enrolled for posture and the device is non-compliant, stale, or has not reported yet.
- MAB:
MAB not enabled on this NAS(turn it on under Devices),MAC not authorised(not on the allowlist, disabled, or its class does not exist),Monthly quota exceeded, or accepted into the wrong VLAN (check the class VLAN and vendor attributes). If an allowlist change seems ignored, use Flush cache under Endpoints → MAC Allowlist.
Wrong privilege level
Check the effective user type in the simulator (a jump server rule may have lowered it), then Privilege Mapping for that user type and vendor. On Juniper, the local template user named in the reply must exist on the device. On FortiGate, turn on accprofile-override for the remote admin.
Contacting support
Send your Authcha version (on the sign-in page and in the VERSION file), the output of docker compose ps, and the relevant logs:
docker compose logs --since 1h freeradius admin otp_service > authcha-logs.txtwith what you expected, what happened, and the time. Review the logs before sending, because they can hold usernames, addresses and numbers. Never send .env, otp.env or backups.
LabHands-on
- Open Auth History on the demo (viewer login
demo-viewer, passwordAuthcha-View-2026). Find a rejected attempt and read its reason. - Open the Auth Simulator. Enter a user that does not exist. Read which step fails.
- Open OTP Funnel and find the counts of sent, verified and failed codes.
- On your install, deliberately create each failure once: wrong password, a device with the wrong secret (watch for no reply), a user with no mobile number, a MAC not on the allowlist. For each, find the evidence in Live Auth.
- Write a three-line runbook for your team: first check, second check, who to call.
Check yourselfQuiz
Cheat sheetKeep this
- Order: Simulator, Live Auth, Auth History and OTP Funnel, System, then shell checks.
- Did Authcha answer? No reply = client, secret, UDP 1812, timeout (10 s+), source address. Reply with no = read Live Auth.
- Generic device message by design. Precise reason in the log.
- Codes: OTP Delivery test, OTP Funnel,
docker compose logs otp_service. - MAB: enable per device, allowlist, class, Flush cache.
- Support: version,
docker compose ps, 1 h of logs. Never.env,otp.env, backups. - Read more: Troubleshooting.