Fix Active Context indexer HMAC signature error
What does this MR do and why?
Fix Active Context indexer HMAC signature error
We've attempted to index gitlab-org/gitlab on staging, but it failed with
chunk.gitalyClient.EachFileChangeBatched: getChangedPaths recv: rpc error: code = PermissionDenied desc = permission denied: wrong hmac signature
This MR replace manual address configuration with Gitlab::GitalyClient.connection_data
to properly include authentication tokens and prevent permission denied errors.
The indexer was failing with "wrong hmac signature" error because it was only setting the address field manually instead of using the complete connection configuration that includes authentication data.
References
Screenshots or screen recordings
N/A - Backend fix
| Before | After |
|---|---|
| Indexer fails with HMAC signature error | Indexer connects successfully |
How to set up and validate locally
- Enable Active Context feature and attempt to index a project
- Verify that the indexer no longer fails with HMAC signature errors
- Check logs to confirm successful Gitaly connection
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.