Rocket chat is crashing again and again which is hosted in aws EC2

Here is the latest logs after crashing

[2024-04-26T14:45:20.565Z] ERROR (Rocket.Chat Apps/6557 on ip-172-31-8-98): Error getting the Apps: {“errorMsg”:“unsupported version”}
[2024-04-26T14:45:31.553Z] ERROR (Rocket.Chat Apps/6557 on ip-172-31-8-98): Error getting the Apps: {“errorMsg”:“unsupported version”}
[2024-04-26T15:09:11.377Z] ERROR (Rocket.Chat Apps/6557 on ip-172-31-8-98): Error getting the app requests stats from marketplace ‘’
[2024-04-26T15:25:12.324Z] ERROR (Rocket.Chat Apps/6557 on ip-172-31-8-98): Error getting the app requests stats from marketplace ‘’
[2024-04-26T15:26:15.688Z] ERROR (Rocket.Chat Apps/6557 on ip-172-31-8-98): Error getting the app requests stats from marketplace ‘’
[2024-04-26T15:26:19.506Z] WARN (DeprecationWarning/6557 on ip-172-31-8-98): The method “getAvatarSuggestion” is deprecated and will be removed on version 7.0.0
section: “METHOD”

Reset password URL: App crashing
[2024-04-26T18:16:46.772Z] ERROR (Rocket.Chat Apps/6557 on ip-172-31-8-98): Error getting the app requests stats from marketplace ‘’
[2024-04-26T18:18:46.527Z] ERROR (Rocket.Chat Apps/6557 on ip-172-31-8-98): Error getting the app requests stats from marketplace ‘’
[2024-04-26T18:55:24.231Z] ERROR (Rocket.Chat Apps/6557 on ip-172-31-8-98): Error getting the app requests stats from marketplace ‘’
[2024-04-27T02:55:37.609Z] ERROR (Rocket.Chat Apps/6557 on ip-172-31-8-98): Error getting the app requests stats from marketplace ‘’
[2024-04-27T03:03:30.731Z] WARN (DeprecationWarning/6557 on ip-172-31-8-98): The parameter “query” in the endpoint “/api/v1/custom-user-status.list” is deprecated and will be removed on version 7.0.0
section: “API”
[2024-04-27T03:03:58.652Z] WARN (DeprecationWarning/6557 on ip-172-31-8-98): The parameter “query” in the endpoint “/api/v1/integrations.list” is deprecated and will be removed on version 7.0.0
section: “API”
[2024-04-27T03:06:35.017Z] WARN (DeprecationWarning/6557 on ip-172-31-8-98): The method “getAvatarSuggestion” is deprecated and will be removed on version 7.0.0
section: “METHOD”
[2024-04-27T03:06:58.399Z] ERROR (Rocket.Chat Apps/6557 on ip-172-31-8-98): Error getting the app requests stats from marketplace ‘’
[2024-04-27T03:06:59.053Z] ERROR (Rocket.Chat Apps/6557 on ip-172-31-8-98): Error getting the Apps: {“errorMsg”:“unsupported version”}
[2024-04-27T03:07:50.278Z] WARN (DeprecationWarning/6557 on ip-172-31-8-98): The parameter “fields” in the endpoint “/api/v1/livechat/users/:type” is deprecated and will be removed on version 7.0.0
section: “API”
[2024-04-27T03:07:52.883Z] WARN (DeprecationWarning/6557 on ip-172-31-8-98): The parameter “fields” in the endpoint “/api/v1/livechat/users/:type” is deprecated and will be removed on version 7.0.0
section: “API”
[2024-04-27T03:10:17.725Z] WARN (DeprecationWarning/6557 on ip-172-31-8-98): The parameter “fields” in the endpoint “/api/v1/users.list” is deprecated and will be removed on version 7.0.0
section: “API”
[2024-04-27T03:10:17.726Z] WARN (DeprecationWarning/6557 on ip-172-31-8-98): The parameter “query” in the endpoint “/api/v1/users.list” is deprecated and will be removed on version 7.0.0
section: “API”
[2024-04-27T03:13:27.517Z] ERROR (Rocket.Chat Apps/6557 on ip-172-31-8-98): Error getting the app requests stats from marketplace ‘’
[2024-04-27T03:20:50.478Z] ERROR (Rocket.Chat Apps/6557 on ip-172-31-8-98): Error getting the app requests stats from marketplace ‘’
[2024-04-27T05:52:11.289Z] WARN (DeprecationWarning/6557 on ip-172-31-8-98): The method “getAvatarSuggestion” is deprecated and will be removed on version 7.0.0
section: “METHOD”
[2024-04-27T05:54:53.983Z] WARN (DeprecationWarning/6557 on ip-172-31-8-98): The parameter “query” in the endpoint “/api/v1/directory” is deprecated and will be removed on version 7.0.0
section: “API”
[2024-04-27T05:55:46.157Z] WARN (DeprecationWarning/6557 on ip-172-31-8-98): The parameter “query” in the endpoint “/api/v1/directory” is deprecated and will be removed on version 7.0.0
section: “API”
=== UnHandledPromiseRejection ===
URIError: URI malformed
at decodeURI ()
at Router.match (/home/ubuntu/RocketChat/apps/meteor/.meteor/local/isopacks/rocketchat_restivus/npm/node_modules/connect-route/lib/connect-route.js:61:12)
at /home/ubuntu/RocketChat/apps/meteor/.meteor/local/isopacks/rocketchat_restivus/npm/node_modules/connect-route/lib/connect-route.js:102:24
at /home/ubuntu/.meteor/packages/promise/.0.12.2.1jyplva.axw1++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/fiber_pool.js:43:40

Errors like this can cause oplog processing errors.
Setting EXIT_UNHANDLEDPROMISEREJECTION will cause the process to exit allowing your service to automatically restart the process
Future node.js versions will automatically exit the process

Exited with code: 1
Your application is crashing. Waiting for file change.

Server Setup Information

  • Version of Rocket.Chat Server: 6.7.0
  • Operating System: Ubuntu 20
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 14.21.4 - x64
  • MongoDB Version: 7.0.5

In the first instance check your firewall.

This may give some clues.