FreeRADIUS Not Storing Cache Data in Redis

Alan DeKok aland at deployingradius.com
Tue Feb 11 14:48:23 UTC 2025


On Feb 11, 2025, at 6:56 AM, Luca Borruto via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> We are currently facing an issue with FreeRADIUS where no cache entries are
> being created in Redis.
> We’ve tested the Redis connection, authentication, and database selection,
> but when we run KEYS * in Redis, it returns an empty array.

  i.e. the server isn't writing anything to redis.

> When running FreeRADIUS in debug mode (radiusd -X), we do not see any
> Redis-related errors, yet the expected data is not found in Redis.

  There may be other reasons why it's not writing to redis.

> I configured redis, cache, cache_tls and cache_eap modules for testing
> purpose, and it's still a bit confusing on which one to enable for
> production (we use only EAP-TLS with Radsec):
> 
> *mods-enabled/redis:*

  Why?  When you join the list, you get a message which explains what information you should include in messages.  It explicitly says do NOT include configuration files.  DO include debug output.

> Is there anything wrong with our configuration that could be preventing
> data from being stored in Redis?
> 
> Any help would be greatly appreciated. Please let me know if any additional
> logs or details would be helpful.

  Read the documentation.  Do what it says.

  http://wiki.freeradius.org/list-help

  Alan DeKok.



More information about the Freeradius-Users mailing list