Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login broken after Upgrade to 4.0.4 from 3.x on Android #1380

Closed
fbuchmeier-abi opened this issue Nov 13, 2019 · 3 comments · Fixed by #1381
Closed

Login broken after Upgrade to 4.0.4 from 3.x on Android #1380

fbuchmeier-abi opened this issue Nov 13, 2019 · 3 comments · Fixed by #1381

Comments

@fbuchmeier-abi
Copy link

  • Your Rocket.Chat Experimental app version: 4.0.4
  • Your Rocket.Chat server version: 2.2.0
  • Device (or Simulator) you're running with: Samsung Galaxy S8 Android 9

Hi,

after upgrading the mobile app to 4.0.4, login at our server (version 2.2.0) is completely broken.

We are using the following environment:

Tag | 2.2.0
OS Type | Linux
OS Release | 4.15.0-66-generic
Node Version | v8.11.4
Mongo Version | 3.6.12
Mongo Storage Engine | wiredTiger

With the latest mobile application running on a Samsung Galaxy S8 with Android 9 and the patch level from Oct-2019.

According to the mobile applications, login credentials (using the Atlassian Crowd connector) are rejected.
When looking at the HTTP response code (401) in our reverse proxy (NGINX) this makes sense:

172.23.16.231 - - [13/Nov/2019:13:09:10 +0000] "POST /api/v1/login HTTP/1.1" 401 115 "-" "RC-RN Mobile/4.0.4 (build: 2090; os: android 9)"

So I increased the log level in our Rocket.Chat server instance to Errors, Information and Debug enabled all the tracing options and looked at the output, which is a single line upon login:

server.js:204 API ➔ debug POST: /api/v1/login

Log in with a Browser (Chromium) and the same user & password works fine without any problems.

After downgrading the mobile application to 3.5.1 which can be found for example in the F-Droid marketplace https://f-droid.org/en/packages/chat.rocket.android/ everything works as expected again.

How can we debug the issue further?

Thanks and regards,
Florian.

@diegolmello
Copy link
Member

diegolmello commented Nov 13, 2019

@fbuchmeier-abi Can you reach me at https://open.rocket.chat? I'm @diego.mello.
Let's fix this issue asap.
Thanks.

@diegolmello
Copy link
Member

Attempted to fix on #1381.
If everything is fine, I'll release 4.0.5 later today.

@diegolmello
Copy link
Member

diegolmello commented Nov 13, 2019

@fbuchmeier-abi Fix released as 4.0.5 on Google Play (Experimental as 1.21.0 in both stores).
Thanks for your help debugging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants