Redirect Loop since automatic 1.0.3 Update (snap install)

Description

Since today (15.05.2019) RocketChat responds with an error when loading in the browser “ERR_TOO_MANY_REDIRECTS”. This seams to be correct Behavior on the Browser side since RocketChat sends a “Location”-Header with the same url.

I’ve already tried to reconfigure the server to use caddy with different configuration but without success.
Also a downgrade using “sudo snap revert rocketchat-server” does not help.
At the reverse-proxy I also added “proxy_set_header X-Forward-Proto https;” to let rocketchat know that it is using ssl even the proxy talks to rocketchat over http.

Sadly I don’t know snaps, rocketchat or mongodb very well so every idea is welcome.

Server Setup Information

  • Version of Rocket.Chat Server: 1.0.3
  • Operating System: Ubuntu 16.04
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: 1
  • NodeJS Version: unknown
  • MongoDB Version: unkown
  • Proxy: nginx
  • Firewalls involved: no

Any additional Information

We are using nginx as a reverse-proxy which handels ssl as described here: https://rocket.chat/docs/installation/manual-installation/configuring-ssl-reverse-proxy/#

i resolved the issue . one of my co-workers enabled the Force_SSL Setting - which seams to have some problems with the nginx-proxy setup . after figuring out how to disable it using mongodb-cli the problem was resolved !