quarkus: REDIS: WRONGPASS invalid username-password pair or user is disabled from io.smallrye.health after update to 3.5.3

Describe the bug

Reproduced in the native image After updating from 3.4.3 to 3.5.3 Quarkus, when a ready call is made application returns Redis connection health check DOWN with “WRONGPASS invalid username-password pair or user is disabled” while user and password are valid and correct. No code or properties were changed during upgrade. Before upgrade app was working (incl. healthchecks)

Redis host and password are set using:

quarkus:
  redis:
    hosts: redis://valid-redis-host:6379
    password: validRedisPassword

As a side note, ready endpoint is under 9000 management port.

quarkus:
   management:
    enabled: true
    port: 9000

I was not able to reproduce this problem locally in JVM, only reproduced in native image

Expected behavior

After the update from 3.4.3 to 3.5.3 redis still works and is able to authenticate and when call is done to ready endpoint no errors returned

Actual behavior

{“timestamp”:“2023-11-24T18:43:57.45274Z”,“sequence”:503,“loggerClassName”:“io.smallrye.health.HealthLogging_$logger”,“loggerName”:“io.smallrye.health”,“level”:“INFO”,“message”:“SRHCK01001: Reporting health down status: {"status":"DOWN","checks":[{"name":"Redis connection health check","status":"DOWN","data":{"reason":"client [<default>]: WRONGPASS invalid username-password pair or user is disabled."}}]}”,“threadName”:“executor-thread-2”,“threadId”:52,“mdc”:{“spanId”:“80fd54598da74645”,“traceId”:“6b20b08cbd56bd529dd25269bee91911”,“sampled”:“true”},“ndc”:“”,“hostName”:“2f5d115b1944”,“processId”:407}

How to Reproduce?

  1. Use Quarkus 3.5.3
  2. Use implementation ‘io.quarkus:quarkus-redis-client’ and ‘io.quarkus:quarkus-smallrye-health’
  3. Set valid redis host and password line in example
  4. Run application
  5. Do a call to “ready” endpoint
quarkus:
  redis:
    hosts: redis://valid-redis-host:6379
    password: validRedisPassword

Output of uname -a or ver

No response

Output of java -version

21.0.1

Quarkus version or git rev

3.5.3

Build tool (ie. output of mvnw --version or gradlew --version)

gradle

Additional information

native image

About this issue

  • Original URL
  • State: open
  • Created 7 months ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments