mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #801] [BUG] redis: discarding bad PubSub connection #394
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#394
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 @BrandSnob on GitHub (Jan 10, 2024).
Original GitHub issue: https://github.com/hibiken/asynq/issues/801
Originally assigned to: @hibiken on GitHub.
Describe the bug
Hello, The bug seems like to be a famous bug with go-redis v8
BUT the problem is that there is no use of go-redis v8 in my project, ONLY go-redis v9
The error happens randomly, rarely at the starts and sometimes after few hours!
To Reproduce
Steps to reproduce the behavior (Code snippets if applicable):
Server codes is as below, however, the server is not only asynq server and it actually does other jobs in goroutines
Server codes:
the BaseContext is created once in the main and used over several parts of the app
Expected behavior
Just keep running as it usually does. or at least, reconnect once this issue happens!
It keep stuck like that all the whole time until I restart the server container (not redis or anything else)
Environment (please complete the following information):
redis:alpinecontainer with health-check enabled (and healthy while the error occurs)asynqpackage:v0.24.1Additional context
Logs:
And it goes on with similar logs
@kamikazechaser commented on GitHub (Jan 28, 2024):
Check if the issue persists when you use the following versions:
@BrandSnob commented on GitHub (Jun 12, 2024):
Thanks, I did made some changes and also updated the packages you mentioned and I have not yet encountered this issue.