Troubleshooting

This section provides solutions to common errors you may encounter when configuring and running SpherAAA. Use this reference to quickly diagnose and resolve issues related to PolicyLogic, NAS configuration, authentication workflows and RADIUS operations.

Common Errors

Error Description Resolution
JSInit — JS execution exception: ReferenceError: start is not defined The required entry-point function start() is missing from your PolicyLogic script. SpherAAA invokes this function to begin processing authentication or accounting requests. Define the start() function as the entry point in your PolicyLogic. Example:
function start() {
// Your authentication logic here
your_function();
}
ERR01: Unrecognized NAS client IP: <src_ip> The RADIUS client IP address <src_ip> is not registered in the tenant's NAS configuration. SpherAAA rejects requests from unrecognized sources for security. Add the IP address <src_ip> to your tenant's NAS configuration under Configuration > NAS. Ensure the shared secret is also configured correctly.