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.

    Screen Shot 2021-08-26 at 09.54.35.png

    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.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 25, 2025, 11:10