Redis Flushall Error

Fix for Redis Error " root@lduiphaa01:~ # redis-cli FLUSHALLCould not connect to Redis at 127.0.0.1:6379: Connection refused" .

Issue Description: root@lduiphaa01:~ # redis-cli FLUSHALLCould not connect to Redis at 127.0.0.1:6379: Connection refused

Resolution: Orchestrator should be configured to use High Availability Add-on ( HAA ) and add all HAA nodes to the Orchestrator UiPath.Orchestrator.dll.config file using the LoadBalancer.UseRedis and LoadBalancer.Redis.ConnectionString parameters.

  • HAA is listening on port 10000 by default. Connect to that port to FLUSHALL.

Read more on the HAA installation .

If the following error is noticed: root@lduiphaa01:~ # redis-cli -h 10.22.64.149 -p 10000 FLUSHALL (error) NOAUTH Authentication required

  • Use -a <password> option to provide the password.

Refer to the Redis Command Line Interface cli for more details on the command line usage.

Refer to How to Connect to a Redis Database .