mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #867] [BUG] Errors trying to connect remote worker server to scheduler #429
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#429
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 @windowshopr on GitHub (Apr 20, 2024).
Original GitHub issue: https://github.com/hibiken/asynq/issues/867
Originally assigned to: @hibiken on GitHub.
Describe the bug
I'm getting errors when trying to connect a remote worker (on the same LAN, just a different computer) to my local scheduler. My environment is on Windows 10, Golang v 1.19. I am currently running a scheduler server, AND a worker server on the local machine, they are talking to each other fine and the program is running, on 127.0.0.1. When I attempt to run a second worker server on a second computer, connecting to the local machine at address 172.16.1.114, I get the following output:
It seems to start fine, but starts having issues a few seconds in. What might be causing this?
To Reproduce
Steps to reproduce the behavior (Code snippets if applicable):
Expected behavior
Both local and the remote worker servers should be pulling tasks from the queue.
Screenshots
None
Environment (please complete the following information):
asynqpackage v0.24.1Additional context
None, but just ask and I can provide more details if needed.
I'm a newbie when it comes to Redis, so I'm wondering if maybe the Redis server only allows 1 max connection?
@windowshopr commented on GitHub (Apr 20, 2024):
Simple fix, I just needed to change the
bindaddress in theC:\Program Files\Memurai\memurai.conffile to0.0.0.0and voila. I guess leaving the bind address as127.0.0.1will only allow local connections to the Redis server.