mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #556] redis: discarding bad PubSub connection: read tcp 127.0.0.1:52914->127.0.0.1:63791: i/o timeout[BUG] Description of the bug #265
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#265
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 @yun36524 on GitHub (Oct 13, 2022).
Original GitHub issue: https://github.com/hibiken/asynq/issues/556
Originally assigned to: @hibiken on GitHub.
redis: discarding bad PubSub connection: read tcp 127.0.0.1:52914->127.0.0.1:63791: i/o timeout
I can't run it, my redis is working fine
@huizhang001 commented on GitHub (Oct 13, 2022):
Can you paste the code? Let me have a look? @yun36524
@huizhang001 commented on GitHub (Oct 13, 2022):
I think there is a problem with your Redis port
port:6379 ?
@yun36524 commented on GitHub (Oct 13, 2022):
I'm sure there's nothing wrong with redis because my application is using it properly.
I am copying the official code and it does not work.
@yun36524 commented on GitHub (Oct 13, 2022):
Anybody here?
@huizhang001 commented on GitHub (Oct 13, 2022):
I used your code, but it didn't reproduce. The suspicion is still related to Redis....
@yun36524 commented on GitHub (Oct 13, 2022):
I can run this code normally.
Is there any configuration to pay attention to in redis?
@yun36524 commented on GitHub (Oct 18, 2022):
Can someone help me
@xuyang2 commented on GitHub (Oct 18, 2022):
@yun36524
This is how I manage redis client, don't know if this will work for you:
@huizhang001 commented on GitHub (Oct 20, 2022):
If you use a mac, I suggest you re install redis with brew!!!!!
@Crystalplan commented on GitHub (Nov 7, 2022):
I have the same problem and hope to get help. Redis is installed with Docker. Redis is normally in use
@larryclean commented on GitHub (Nov 25, 2022):
@hibiken Hi,about the problem.I found that it is related to the redis option.
when
db>0 log print "discarding bad PubSub connection"
db=0 ,password="" don't print.
db=0 password="xxxx" log print "discarding bad PubSub connection"
@Crystalplan commented on GitHub (Dec 16, 2022):
My solution is:
asynq.NewServer(
asynq.RedisClientOpt{Addr: "127.0.0.1:63791", Password: "***", ReadTimeout: -1, WriteTimeout: 0}............................
ReadTimeout set -1,won't print anymore
@fzpixzj90h7baqieoop5hg commented on GitHub (Oct 31, 2023):
use localhost,,,