R
Railway13mo ago
ENT3I <3

ECONNREFUSED with BullMQ

Hello, I'm trying to send a test job to my bullmq from this template: https://railway.app/template/odzp-I It installed a queue service and a Redis with a volume. Everything seems simple. Haven't changed anything... I'm trying to add a job to bullMQ but I get this error: connect ECONNREFUSED 35.212.174.161:16665
24 Replies
Percy
Percy13mo ago
Project ID: 38fc8a8d-a112-4873-ab2e-ca4a58f887ac
ENT3I <3
ENT3I <3OP13mo ago
38fc8a8d-a112-4873-ab2e-ca4a58f887ac someone? Any ideas?
Brody
Brody13mo ago
does bullmq communicate with TCP or http?
ENT3I <3
ENT3I <3OP13mo ago
tcp
ENT3I <3
ENT3I <3OP13mo ago
No description
ENT3I <3
ENT3I <3OP13mo ago
default port for bullmq is 6379 which is the one that Railway creates
ENT3I <3
ENT3I <3OP13mo ago
No description
Brody
Brody13mo ago
are you using the tcp domain and port railway provided
ENT3I <3
ENT3I <3OP13mo ago
what you mean? The one in the image, yes of course
Brody
Brody13mo ago
show me how you are using it in code
ENT3I <3
ENT3I <3OP13mo ago
Tried two ways as both should work... 1)
ENT3I <3
ENT3I <3OP13mo ago
No description
ENT3I <3
ENT3I <3OP13mo ago
2)
ENT3I <3
ENT3I <3OP13mo ago
No description
Brody
Brody13mo ago
can you connect to redis from a redis client like dbgate?
ENT3I <3
ENT3I <3OP13mo ago
didn't tried I can
Brody
Brody13mo ago
you can connect?
ENT3I <3
ENT3I <3OP13mo ago
yeah.. it works
ENT3I <3
ENT3I <3OP13mo ago
No description
Brody
Brody13mo ago
I'm trying to add a job to bullMQ but I get this error: connect ECONNREFUSED 35.212.174.161:16665
do you get this error locally or on railway?
ENT3I <3
ENT3I <3OP13mo ago
locally Im trying to execute that script on a nodejs backend
Brody
Brody13mo ago
then this would be an issue with ioredis, maybe its not compatiable with the version of redis that railway runs
ENT3I <3
ENT3I <3OP13mo ago
I see... ☹️ I'll try with different nodejs versions as well I have nothing to lose...
Want results from more Discord servers?
Add your server