Skip to content

Cannot connect to my server #571

Description

@cyberb

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

Activity

  1. diegolmello commented on Dec 17, 2018

    @diegolmello
    Member

    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.

  2. cyberb commented on Dec 20, 2018

    @cyberb
    Author

    Do you plan to release this to Google Play?

  3. diegolmello commented on Dec 20, 2018

    @diegolmello
    Member

    @cyberb i'll release to the stores tomorrow

  4. cyberb commented on Dec 25, 2018

    @cyberb
    Author

    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
    
  5. AnBo83 commented on Jan 13, 2019

    @AnBo83
    Contributor

    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...

  6. cyberb commented on Jan 17, 2019

    @cyberb
    Author

    We are also using LDAP, so probably related.

    @diegolmello Please reopen the issue.

  7. cyberb commented on Jan 31, 2019

    @cyberb
    Author

    Could you tell which Android app version this will be included in?

  8. diegolmello commented on Jan 31, 2019

    @diegolmello
    Member

    @cyberb 1.8.0. I'm releasing it right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions