The GitHub Actions job "Backend CI" on hertzbeat.git/fix-redis-username-auth 
has failed.
Run started by GitHub user zjncs (triggered by zjncs).

Head commit for run:
401cd7d9bf71787a477ddb0dae954b31d37b692a / zjncs <[email protected]>
fix(collector): use Redis username for ACL authentication instead of client name

The Redis collector passed the configured username to
RedisURI.Builder.withClientName, which only sets the informational
CLIENT SETNAME sent after connecting and plays no role in
authentication. Redis 6+ ACL users configured in the monitor template
therefore never authenticated as the configured user; lettuce always
authenticated as the default user and the collection failed with
WRONGPASS/NOAUTH.

Use withAuthentication so the username and password are applied as
credentials. An ACL user without a password authenticates with an empty
one. Password-only configuration keeps the previous behavior.

Signed-off-by: zjncs <[email protected]>

Report URL: https://github.com/apache/hertzbeat/actions/runs/33834152299

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to