GoodDollar / GoodServer

Backend to support the GoodDAPP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MongoNetworkError: Client network socket disconnected before secure TLS connection was established

sentry-io opened this issue · comments

Sentry Issue: GOODSERVER-P6

MongoNetworkError: Client network socket disconnected before secure TLS connection was established
  File "_tls_wrap.js", line 1125, in TLSSocket.onConnectEnd
  File "events.js", line 286, in Object.onceWrapper
  File "events.js", line 203, in TLSSocket.emit
  File "domain.js", line 448, in TLSSocket.EventEmitter.emit
  File "_stream_readable.js", line 1145, in endReadableNT
...
(1 additional frame(s) were not displayed)
  1. add rertries during mongo connection
  2. catch it properly, log via log.error (now it's unhandler promise rejection)

@vldkhh is this still relevant ?