Open Closed

ABP doesn't connect to Redis with password keyword in conn string #1033


User avatar
1
alper created
Support Team Director

@huseyin.cakirli reports an issue about working Redis with password keyword.

ABP works with Redis with server-ip:port string. but when we use the following formats it doesn't connect redis_server_ip:redis_port,password=REDIS_PASSWORD_HERE or redis_password@redis_server_ip:redis_port


1 Answer(s)
  • User Avatar
    1
    berkansasmaz created
    Support Team .NET Developer

    Hi Albert :)

    The password for Redis can be given via appsettings.json as in the picture below.

    I haven't tried it as environment variables because if it reads from appsettings.json, we can be sure that it will read it as environment variables as well. For more information you can check here.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09