Rocketchat server Often collapse

Description

rocketchat server Often collapse

Server Setup Information

  • Version of Rocket.Chat Server: 3.30
  • Operating System: Centos8
  • Deployment Method: Manual Installation
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v12.14.0
  • MongoDB Version: 4.0.18
  • Proxy: nginx
  • Firewalls involved:

Any additional Information

[root@ChatSvr server]# systemctl status rocketchat
● rocketchat.service - The Rocket.Chat server
   Loaded: loaded (/usr/lib/systemd/system/rocketchat.service; enabled; vendor preset: disabled)
   Active: failed (Result: signal) since Wed 2020-06-17 19:22:40 CST; 12h ago
  Process: 6744 ExecStart=/usr/local/bin/node /opt/Rocket.Chat/main.js (code=killed, signal=KILL)
 Main PID: 6744 (code=killed, signal=KILL)

Jun 17 16:46:02 ChatSvr rocketchat[6744]:     at Pool.destroy (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/connection/pool.js:678:21)
Jun 17 16:46:02 ChatSvr rocketchat[6744]:     at Server.destroy (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/topologies/server.js:902:15)
Jun 17 16:46:02 ChatSvr rocketchat[6744]:     at Timeout._onTimeout (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/core/topologies/replset.js:356:26)
Jun 17 16:46:02 ChatSvr rocketchat[6744]:     at listOnTimeout (internal/timers.js:531:17)
Jun 17 16:46:02 ChatSvr rocketchat[6744]:     at processTimers (internal/timers.js:475:7) {
Jun 17 16:46:02 ChatSvr rocketchat[6744]:   name: 'MongoError',
Jun 17 16:46:02 ChatSvr rocketchat[6744]:   [Symbol(mongoErrorContextSymbol)]: {}
Jun 17 16:46:02 ChatSvr rocketchat[6744]: }
Jun 17 19:22:40 ChatSvr systemd[1]: rocketchat.service: Main process exited, code=killed, status=9/KILL
Jun 17 19:22:40 ChatSvr systemd[1]: rocketchat.service: Failed with result 'signal'.



[root@ChatSvr nginx]# systemctl status rocketchat
● rocketchat.service - The Rocket.Chat server
   Loaded: loaded (/usr/lib/systemd/system/rocketchat.service; enabled; vendor preset: disabled)
   Active: failed (Result: signal) since Fri 2020-06-19 18:21:46 CST; 1h 26min ago
  Process: 10524 ExecStart=/usr/local/bin/node /opt/Rocket.Chat/main.js (code=killed, signal=KILL)
 Main PID: 10524 (code=killed, signal=KILL)

Jun 18 15:24:08 ChatSvr rocketchat[10524]: }
Jun 18 15:24:13 ChatSvr rocketchat[10524]: server.js:204 Push ➔ error Error sending push to gateway (1 try) ->
Jun 18 15:24:13 ChatSvr rocketchat[10524]:     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
Jun 18 15:24:13 ChatSvr rocketchat[10524]:   errno: 'ENOTFOUND',
Jun 18 15:24:13 ChatSvr rocketchat[10524]:   code: 'ENOTFOUND',
Jun 18 15:24:13 ChatSvr rocketchat[10524]:   syscall: 'getaddrinfo',
Jun 18 15:24:13 ChatSvr rocketchat[10524]:   hostname: 'gateway.rocket.chat'
Jun 18 15:24:13 ChatSvr rocketchat[10524]: }
Jun 19 18:21:46 ChatSvr systemd[1]: rocketchat.service: Main process exited, code=killed, status=9/KILL
Jun 19 18:21:46 ChatSvr systemd[1]: rocketchat.service: Failed with result 'signal'.

Hello
Managed to solve the problem?

Hi @alexeyaldos !

Are you experience something similar? 3.3 is a far away version.

This problem, specifically, is probably something with it’s DNS server, or while getting informations to send the request to the gateway.