RocketChat / RocketChat/Rocket.Chat.ReactNative

[TLSv1.3] App stopped working on iOS and Android

Open
#2,844 9 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐛 bug
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Description:

Login does not work on iOS and Android. Logged-in users only see the "Waiting for network..." notice. No problems in desktop app or browser.

Environment Information:
  • Rocket.Chat Server Version: 3.10.5
  • Rocket.Chat App Version: 4.14.0
  • Device Name: iPhone 12 / Samsung SM-J530F
  • OS Version: iOS 14.4 / Android 9
Steps to reproduce:
  1. Enter workspace URL
  2. Enter credentials
  3. Press "Login"
Expected behavior:

User is now logged in and can chat.

Actual behavior:

Nothing happens.

Additional context:

Affects both SAML users and local users. SAML users see the login screen again after successful authentication.
Debug log contains only server.js:204 API ➔ debug POST: /api/v1/login.

Access log:
Screen Shot 2021-01-28 at 12 47 15

Nginx config (running under Plesk Obsidian):

location ~ ^/.* {
	proxy_pass http://127.0.0.1:3000;
	proxy_set_header Host             $host;
	proxy_set_header X-Real-IP        $remote_addr;
	proxy_set_header X-Forwarded-For  $proxy_add_x_forwarded_for;

	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "upgrade";
	proxy_set_header X-Forward-Proto http;
	proxy_set_header X-Nginx-Proxy true;
	proxy_http_version 1.1;

	proxy_redirect off;
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the login flow on the listed iOS and Android versions and inspect the POST /api/v1/login request alongside the supplied Nginx configuration. Done means local and SAML users can complete login and reach chat on mobile without returning to the login screen or seeing “Waiting for network...”.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx, react-native, typescript
Domain
authentication, mobile, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.