R
Railway12mo 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
Percy12mo ago
Project ID: 38fc8a8d-a112-4873-ab2e-ca4a58f887ac
ENT3I <3
ENT3I <312mo ago
38fc8a8d-a112-4873-ab2e-ca4a58f887ac someone? Any ideas?
Brody
Brody12mo ago
does bullmq communicate with TCP or http?
ENT3I <3
ENT3I <312mo ago
tcp
ENT3I <3
ENT3I <312mo ago
No description
ENT3I <3
ENT3I <312mo ago
default port for bullmq is 6379 which is the one that Railway creates
ENT3I <3
ENT3I <312mo ago
No description
Brody
Brody12mo ago
are you using the tcp domain and port railway provided
ENT3I <3
ENT3I <312mo ago
what you mean? The one in the image, yes of course
Brody
Brody12mo ago
show me how you are using it in code
ENT3I <3
ENT3I <312mo ago
Tried two ways as both should work... 1)
ENT3I <3
ENT3I <312mo ago
No description
ENT3I <3
ENT3I <312mo ago
2)
ENT3I <3
ENT3I <312mo ago
No description
Brody
Brody12mo ago
can you connect to redis from a redis client like dbgate?
ENT3I <3
ENT3I <312mo ago
didn't tried I can
Brody
Brody12mo ago
you can connect?
ENT3I <3
ENT3I <312mo ago
yeah.. it works
ENT3I <3
ENT3I <312mo ago
No description
Brody
Brody12mo 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 <312mo ago
locally Im trying to execute that script on a nodejs backend
Brody
Brody12mo ago
then this would be an issue with ioredis, maybe its not compatiable with the version of redis that railway runs
ENT3I <3
ENT3I <312mo 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