Bug Report: [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379 #2778
iampearceman
started this conversation in
Feature Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
📜 Description
issue with api service when build with docker image
followed below steps ad facing issue with api application
Get the code
git clone --depth 1 https://github.com/novuhq/novu
Go to the docker folder
cd novu/docker
Copy the example env file
cp .env.example ./local/deployment/.env
Start Novu
docker-compose -f ./local/deployment/docker-compose.yml up
👟 Reproduction steps
Get the code
git clone --depth 1 https://github.com/novuhq/novu
Go to the docker folder
cd novu/docker
Copy the example env file
cp .env.example ./local/deployment/.env
Start Novu
docker-compose -f ./local/deployment/docker-compose.yml up
api | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
api | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
api | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
api | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
api | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
api | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
👍 Expected behavior
it should connect with redis container as per .env file
👎 Actual Behavior with Screenshots
api | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
api | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
api | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
api | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
api | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
api | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
api | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
api | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
api | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
api | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
🤖 Node Version
No response
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None
NV-1508
Beta Was this translation helpful? Give feedback.
All reactions