Cannot connect to my server instance with Rocket.Chat Experimental (React Native) on Android.
Error message: "Credentials were rejected"
Regular android app is fine.
Server version: 0.71.1
App version: 1.7.0
Server nginx config: https://github.com/syncloud/rocketchat/blob/master/config/nginx.conf
Front-end nginx config: https://github.com/syncloud/platform/blob/master/config/nginx/public.conf#L104
HI, @cyberb.
Thanks for opening this issue.
Today we check for x-instance-id on headers, but I saw that your nginx don't forward it.
This is not a mistake in your config, I'll change the way we check for a valid server by doing a fetch on the api.
I'll let you know when it's ready (probably on 1.7.1 later this week).
Cheers.
Do you plan to release this to Google Play?
@cyberb i'll release to the stores tomorrow
Still cannot login with 1.7.1
Nginx log:
[25/Dec/2018:10:32:25 +0000] "POST /api/v1/login HTTP/1.1" 401 115 "-" "okhttp/3.11.0"
Regular adroid client:
[25/Dec/2018:10:28:56 +0000] "POST /api/v1/login HTTP/1.1" 200 590 "-" "RC Mobile; Android 7.0; v3.1.1
Same here, credentials rejected on 0.73.2 with App 1.7.1
I think it is related to LDAP, because before enabling LDAP, login is possible...
We are also using LDAP, so probably related.
@diegolmello Please reopen the issue.
Could you tell which Android app version this will be included in?
@cyberb 1.8.0. I'm releasing it right now.
Most helpful comment
We are also using LDAP, so probably related.
@diegolmello Please reopen the issue.