[GH-ISSUE #660] panic: asnyqmon.New: unsupported RedisConnOpt type asynq.RedisClientOpt #2355

Open
opened 2026-03-15 20:13:17 +03:00 by kerem · 3 comments
Owner

Originally created by @tinnkai on GitHub (May 16, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/660

Originally assigned to: @hibiken on GitHub.

Describe the bug
asynq v0.24.1 used go-redis v9, asynqmon v0.7.1 used go-redis v8
Caused panic: asnyqmon.New: unsupported RedisConnOpt type asynq.RedisClientOpt
Preliminary suspicion go-redis version issues.

Screenshots
image
image

Environment (please complete the following information):

  • OS: windows 10
  • go: 1.19.4
  • asynq v0.24.1,asynqmon v0.7.1

Additional context

  • asynq v0.24.0, asynqmon v0.7.1 no abnormalities
Originally created by @tinnkai on GitHub (May 16, 2023). Original GitHub issue: https://github.com/hibiken/asynq/issues/660 Originally assigned to: @hibiken on GitHub. **Describe the bug** asynq v0.24.1 used go-redis v9, asynqmon v0.7.1 used go-redis v8 Caused panic: asnyqmon.New: unsupported RedisConnOpt type asynq.RedisClientOpt Preliminary suspicion go-redis version issues. **Screenshots** ![image](https://github.com/hibiken/asynq/assets/2200272/210caf15-b82e-4c5e-b964-8631dba8b26c) ![image](https://github.com/hibiken/asynq/assets/2200272/914f700c-a7b1-4847-abd6-3f306f5c1ca2) **Environment (please complete the following information):** - OS: windows 10 - go: 1.19.4 - asynq v0.24.1,asynqmon v0.7.1 **Additional context** - asynq v0.24.0, asynqmon v0.7.1 no abnormalities
Author
Owner

@mixinkexue commented on GitHub (May 17, 2023):

*redis.Client is not redis.UniversalClient: missing method AddHook

<!-- gh-comment-id:1551194127 --> @mixinkexue commented on GitHub (May 17, 2023): *redis.Client is not redis.UniversalClient: missing method AddHook
Author
Owner

@viyiu commented on GitHub (Jun 8, 2023):

had fix it?

<!-- gh-comment-id:1581895484 --> @viyiu commented on GitHub (Jun 8, 2023): > had fix it?
Author
Owner

@tinnkai commented on GitHub (Jun 11, 2023):

had fix it?
Thank you, Viyiu
The main issue is that the go redis version is inconsistent.
Asynqmon v0.7.1 Using Go Redis v9 Problem Solving.

<!-- gh-comment-id:1586193795 --> @tinnkai commented on GitHub (Jun 11, 2023): > > had fix it? Thank you, Viyiu The main issue is that the go redis version is inconsistent. Asynqmon v0.7.1 Using Go Redis v9 Problem Solving.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#2355
No description provided.