Closed anapeksha closed 24 minutes ago
looks like the error is coming from ioredis. Also could be related with nest/bullmq package on how it's passing that option
Yes right! But couldn't find anything relevant in the ioredis codebase. Will raise one issue with @nestjs/bullmq too.
Version
v5.13.2
Platform
NodeJS
What happened?
I am receiving an error,
RangeError [ERR_SOCKET_BAD_PORT]: Port should be >= 0 and < 65536. Received type number (NaN). at lookupAndConnect (node:net:1298:5) at Socket.connect (node:net:1255:5) at connect (node:net:238:17)
Even though I can see the port exists and tried logging the PORT, it works.
Not sure, why this error is being thrown
How to reproduce.
Try integrating @nestjs/bullmq and bullmq in a bullmq project.
Relevant log output
Code of Conduct