Rocket chat is down, Gettting proxy error 502

Description

Since today morning. Our rocket chat is not working. When I try to access it is giving me proxy error 502.
I did try resting still no luck. But after sometime. I get to see the page loading but suddenly it fails page load.
I did check the status or rocket chat server, Mangodb and Caddy everything looks fine.
Please advise.

Server Setup Information

  • Version of Rocket.Chat Server: 2.4.14
  • Operating System: Debian 10
  • Deployment Method: snap
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy: apache
  • Firewalls involved:

Any additional Information

This is how error log looks like,
[Mon Jan 04 04:16:53.981800 2021] [proxy_http:error] [pid 29686] (104)Connection reset by peer: [client :6535] AH01102: error reading status line from remote server 127.0.0.1:3000,

please check syslog also… apparmor whas blocking also start correctly mongodb…

Hi @erik.test

I see mongodb is active, and nothing interesting on syslog,
This is what I can see on mongodb status
snap.rocketchat-server.rocketchat-mongo.service - Service for snap application rocketchat-server.rocketchat-mongo
Loaded: loaded (/etc/systemd/system/snap.rocketchat-server.rocketchat-mongo.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-01-04 03:01:05 PST; 2h 16min ago
Main PID: 23209 (sh)
Tasks: 80 (limit: 4701)
Memory: 43.5M
CGroup: /system.slice/snap.rocketchat-server.rocketchat-mongo.service
├─23209 /bin/sh /snap/rocketchat-server/1453/bin/startmongo
└─23233 mongod --bind_ip 127.0.0.1 --pidfilepath /var/snap/rocketchat-server/common/mongod.pid --smallfiles --journal --dbpath=/var/snap/rocketchat-server/common --replSet rs0

I see below error on caddy log,
Jan 04 06:42:14 knowledge systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Main process exited, code=exited, status=1/FAILURE
Jan 04 06:42:14 knowledge systemd[1]: snap.rocketchat-server.rocketchat-caddy.service: Failed with result ‘exit-code’.