When MongoDB is down (put into extended sleep)
Heroku logs:
2022-08-26T07:21:14.341031+00:00 app[web.1]: syscall: 'querySrv',
2022-08-26T07:21:14.341031+00:00 app[web.1]: hostname: '_mongodb._tcp.cluster0.h5e8o.mongodb.net' }
2022-08-26T07:21:14.341607+00:00 app[web.1]: (node:4) UnhandledPromiseRejectionWarning: Error: querySrv ENOTFOUND _mongodb._tcp.cluster0.h5e8o.mongodb.net
2022-08-26T07:21:14.341608+00:00 app[web.1]: at QueryReqWrap.onresolve [as oncomplete] (dns.js:196:19)
2022-08-26T07:21:14.341689+00:00 app[web.1]: (node:4) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
2022-08-26T07:21:14.341741+00:00 app[web.1]: (node:4) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2022-08-26T07:21:14.892213+00:00 heroku[web.1]: State changed from starting to up
2022-08-26T07:22:10.730656+00:00 heroku[router]: at=error code=H15 desc="Idle connection" method=GET path="/login" host=frozen-journey-64327.herokuapp.com request_id=7479ce3c-9ba4-497d-a141-46c12cf123b5 fwd="174.250.16.3" dyno=web.1 connect=0ms service=55020ms status=503 bytes= protocol=https
2022-08-26T07:22:11.642605+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=frozen-journey-64327.herokuapp.com request_id=c18df7d1-3ce3-4e0b-a48b-56a7b32663bb fwd="174.250.16.3" dyno=web.1 connect=0ms service=8ms status=200 bytes=1611 protocol=https
2022-08-26T07:22:57.240988+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/" host=frozen-journey-64327.herokuapp.com request_id=10b6b8a8-4936-481b-adad-c8ef196cedfc fwd="174.250.16.3" dyno=web.1 connect=0ms service=30000ms status=503 bytes=0 protocol=https
2022-08-26T07:27:53.385365+00:00 heroku[router]: at=error code=H15 desc="Idle connection" method=GET path="/" host=frozen-journey-64327.herokuapp.com request_id=d293f48e-d1ef-470a-b1b5-726028322faa fwd="174.250.16.3" dyno=web.1 connect=0ms service=55003ms status=503 bytes= protocol=https