© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Error of Monogo DB connection string - Novu
N
Novu
•
2y ago
•
8 replies
Rushi
Error of Monogo DB connection string
@Pawan Jain
@Novu
_Bot while docker
-compose
-f docker
-compose
.yml up
then show below error
[Nest
] 921
- 07
/04
/2024
,
7
:
0
8
:02 AM ERROR
[ExceptionHandler
] querySrv ESERVFAIL
_mongodb
.
_tcp
.cluster0
.8vyb3rm
.mongodb
.net
ws
| Error
: querySrv ESERVFAIL
_mongodb
.
_tcp
.cluster0
.8vyb3rm
.mongodb
.net
ws
| at QueryReqWrap
.onresolve
[as oncomplete
]
(
n
o
d
e
:internal
/dns
/
p
r
o
m
i
s
e
s
:
2
4
0
:17
)
below is our env file
Secrets
YOU MUST CHANGE THESE BEFORE GOING INTO PRODUCTION
used as a secret to verify the JWT token signature
JWT
_SECRET
=XXXXXXXXXXX
used to encrypt
/decrypt the provider credentials
STORE
_ENCRYPTION
_KEY
=XXXXXXXXXX
Host
HOST
_NAME
=
http://209.182.236.234
General
available values
'dev
'
,
'test
'
,
'production
'
,
'ci
'
,
'local
'
NODE
_ENV
=production
MONGO
_MAX
_POOL
_SIZE
=200
MONGO
_MIN
_POOL
_SIZE
=100
MONGO USER
#MONGO
_INITDB
_ROOT
_USERNAME
=root
MONGO PASSWORD
#MONGO
_INITDB
_ROOT
_PASSWORD
=secret
MONGO
_URL
=mongodb
+
s
r
v
:
/
/
r
o
c
k
y
:IlDDla4SMSBeD4OR
@cluster0
.8vyb3rm
.mongodb
.net
/rocky
_novu
?retryWrites
=true
&w
=majority
REDIS
_HOST
=redis
DOCKER
_REDIS
_SERVICE
_PORT
=6379
REDIS
_PASSWORD
=
REDIS
_CACHE
_SERVICE
_HOST
=
AWS
S3
_LOCAL
_STACK
=
$
H
O
S
T
_
N
A
M
E
:4566
S3
_BUCKET
_NAME
=novu
-local
S3
_REGION
=us
-east
-1
AWS
_ACCESS
_KEY
_ID
=test
AWS
_SECRET
_ACCESS
_KEY
=test
Ports
API
_PORT
=1600
REDIS
_PORT
=6379
REDIS
_CACHE
_SERVICE
_PORT
=6379
WS
_PORT
=3002
Root URL
REACT
_APP
_WS
_URL
=
$
H
O
S
T
_
N
A
M
E
:3002
Uncomment this one when deploying Novu in the local environment
as Web app local Dockerfile will have to load this to be used
.
Deployment version doesn
't need as we inject it with API
_ROOT
_URL value
.
REACT
_APP
_API
_URL
=
$
H
O
S
T
_
N
A
M
E
:1600
API
_ROOT
_URL
=
$
H
O
S
T
_
N
A
M
E
:1600
DISABLE
_USER
_REGISTRATION
=false
FRONT
_BASE
_URL
=
$
H
O
S
T
_
N
A
M
E
:4200
WIDGET
_EMBED
_PATH
=
$
H
O
S
T
_
N
A
M
E
:4701
/embed
.umd
.min
.js
WIDGET
_URL
=
$
H
O
S
T
_
N
A
M
E
:4500
Similar Threads
Recent Announcements
Similar Threads
Mongo DB connection - More connections
N
Novu / 💬│support
3y ago
Need Help with MongoDB Connection Error in NestJS
N
Novu / 💬│support
2y ago
out of memory error
N
Novu / 💬│support
3y ago
Subject: Need Help with MongoDB Connection Error in NestJS
N
Novu / 💬│support
2y ago