iOS app login refused

Bonjour :waving_hand:

Description

After upgrade RocketChat server from 7.13 to 8.5.1 I can’t login with mobile app on iOS.

Oops, your credentials were rejected!

I can login with same credentials from macOS app, webui without problem.

Server Setup Information

  • Version of Rocket.Chat Server: 8.5.1
  • Operating System: Ubuntu 24.04
  • Deployment Method: Docker
  • Number of Running Instances: 2
  • DB Replicaset Oplog: True
  • NodeJS Version: ?
  • MongoDB Version: 8.0.26
  • Proxy: Traefik
  • Firewalls involved:

You are using https & certificates?

Same issue here, upgraded from 7.13 to 8.5.1 and iOS logins no longer work.

Server Setup Information

  • Version of Rocket.Chat Server: 8.5.1
  • Operating System: Debian 13.5
  • Deployment Method: Podman
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v22.22.3
  • MongoDB Version: 8.0.26
  • Proxy: Nginx
  • Firewalls involved: none.

No certificate login, HTTPS terminates in reverse-proxy.

Well you are - or should be - using certs served by the reverse proxy.

But that is fine.

Check your server logs for clues - turn on debug logging.

We are using server-side TLS which terminates in Nginx, just to be clear.

Yup that’s what I said.

Enable logging, and follow the bug.

Only logs generated for the login are thus:

{"level":20,"time":"2026-06-30T08:45:06.120Z","pid":1,"hostname":"51ae9f37****","name":"Callbacks","msg":"Executing callback","id":"2fa","hook":"onValidateLogin"}
{"level":20,"time":"2026-06-30T08:45:06.125Z","pid":1,"hostname":"51ae9f37****","name":"Callbacks","msg":"Executing callback","id":"YvWt*********Prsn","hook":"afterValidateLogin"}
{"level":20,"time":"2026-06-30T08:45:06.129Z","pid":1,"hostname":"51ae9f37****","name":"Callbacks","msg":"Executing callback","id":"add-webdav-server","hook":"afterValidateLogin"}
{"level":35,"time":"2026-06-30T08:45:06.136Z","pid":1,"hostname":"51ae9f37****","name":"API","method":"POST","url":"http://localhost/api/v1/login","userAgent":"RC Mobile; ios 26.5.2; v4.73.1 (109035)","length":"46","host":"xyz.xyz","remoteIP":"10.XXX.XXX.XXX","status":200,"responseTime":83}

Looks like login works OK serverside.

I’d add that to the bug.

The dev is usually pretty responsive.