mirror of
https://github.com/hibiken/asynqmon.git
synced 2026-04-26 09:35:49 +03:00
[GH-ISSUE #327] 500 (Internal Server Error): Redis cluster on Azure Redis enterprise returns 500 when calling queues endpoint #444
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynqmon#444
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dinson on GitHub (May 16, 2024).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/327
I tried connecting asynqmon with Azure Redis enterprise cluster. Calling the
queuesendpoint results in500 Internal Server Errorwith the following API response:Request
curl --location 'http://127.0.0.1:8080/monitoring/api/queues'API Response
UNKNOWN: redis eval error: ERR Error running script (call to f_0c80fc1868e3aae205155ae2017ce995a3a7cec0): @user_script:19: @user_script: 19: This Redis command is not allowed from scriptsAdditional Info
Cluster: Enabled
TLS: Enabled
Redis Go Client version: v9
Azure Redis Cluster version: 6.0.17
PS: The same code works when connecting to Azure Redis cache without cluster enabled (with TLS).
@dinson commented on GitHub (May 16, 2024):
Digging in revealed that this line is triggering the error in asynqmon code:
Line github.com/hibiken/asynq/internal/rdb/inspect.go #L340
res, err := memoryUsageCmd.Run(context.Background(), r.client, keys, argv...).Result()@ajoga commented on GitHub (Oct 30, 2025):
Same on AWS Elasticache (redis-oss) for
http://127.0.0.1:8080/api/queuesusing the default permissions withdocker.io/hibiken/asynqmon@sha256:ac80bcffd2f9da20d15a8512fc96287e91e13558ad8718df367f0a0e0d0eda81: