Rocket.chat desktop app shows 404 after inactivity

First off, I have misunderstood some of the information i was meant to provide, so here’s a correction:

Server Setup Information

  • Version of Rocket.Chat Server: 7.1.0
  • Operating System: Ubuntu 24.04 Server running inside Proxmox
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • NodeJS Version: 20.18.0
  • MongoDB Version: 6.0.13
  • Proxy: Traefik
  • Firewalls Involved: No

I tested the websockets on a browser, they return 101 and after leaving the page sit there for a while and then coming back, everything still worked fine whileas on the desktop client it already told me “You’re offline”.

While being away from home the mobile app also shows similar symptoms. First time upon opening it, it connects. But after i come back to it for a third or fourth time, it just says “Waiting for connection”, tries to connect and then waits again.

Desktop app runs in a Windows 11 environment, version 4.1.2
Mobile app runs on a phone with Android 15, latest version from Google Play Store

I set the rocketchat log level to debug to check for any issues but all of the logs show these kinds of logs with status codes of nothing else but 200:

{"level":35,"time":"2025-01-03T08:23:00.774Z","pid":1,"hostname":"b8465b2c5aa4","name":"API","method":"POST","url":"/api/v1/method.call/rooms%3Aget","userId":"xxxxxxxxx","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0","length":"111","host":"rocketchat.xxxxxx.eu","referer":"https://rocketchat.xxxxxx.eu/home","remoteIP":"192.168.51.15","status":200,"responseTime":3} 

I have always used the proxied domain to access rocketchat, and in the docker compose I do not have port 3000 exposed so I am not even able to access it via local IP.

here are the .env variables:

RELASE=latest
DOMAIN=rocketchat.xxxxxx.eu
PORT=3000
ROOT_URL=https://rocketchat.xxxxxx.eu
BIND_IP=192.168.110.10 # originally I had this set as 127.0.0.1 and I tried setting it to the docker ip to check if that fixed anything