I am running a mongodb atlas instance on version 7.0.
I am connecting this instance via my nodejs application, running in docker hosted on a virtual machine in GCP.
I am getting Uncaught Exception : ECONNRESET after every 30 minutes.
During this time my connection is not idle I am performing operations constantly.
I am passing maxPoolSize: 10, minPoolSize: 1, heartbeatFrequencyMS: 10000 these parameters during connection.
And I have also added a setInterval that pings my database after every 15 minutes.