Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Problem login #2375

Open
vdvas opened this issue Jun 14, 2019 · 13 comments
Open

Problem login #2375

vdvas opened this issue Jun 14, 2019 · 13 comments

Comments

@vdvas
Copy link

vdvas commented Jun 14, 2019

Describe the bug

The app is worked but once contact list is blank and app get error "log in".
Button log out not work.

To Reproduce

Expected behavior

Logs

Screenshots

Devices and Versions

Your Rocket.Chat.Android version: (e.g. 2.1.0)
Ver 3.4.2. 03.06.2019
Screenshot_20190614-211943
Screenshot_20190614-212000

Your Rocket.Chat Server version: (e.g. 0.63.1-develop)

Mobile device model and OS version: (e.g. "Nexus 7 - Android 6.0.1")

Additional context

@reetp
Copy link

reetp commented Jun 15, 2019

Your Rocket.Chat Server version: (e.g. 0.63.1-develop)

You really need to update your server. You version is over a year out of date and there have been massive changes.

v1.1.1 is current

@vdvas
Copy link
Author

vdvas commented Jun 15, 2019

Sorry, it's a template.
Server version is 1.0.3
image

@ghost
Copy link

ghost commented Jun 18, 2019

Same problem here. We're running the server 1.1.1, app version on Android should be the latest one.
Only clearing the app cache and app data seems to help - at least for a few hours until the error occurs again.

@vdvas
Copy link
Author

vdvas commented Jun 18, 2019

How i can clean app cache and data? I don't see folder like rocket chat in my android.

@reetp
Copy link

reetp commented Jun 18, 2019

How i can clean app cache and data? I don't see folder like rocket chat in my android.

You can search the interwebs for generic stuff like this.
Usual procedure for Android.
Got to Settings, Apps, look for Storage and you can Clear Cache or Clear Data (which will remove all the app settings)

@vdvas
Copy link
Author

vdvas commented Jun 19, 2019

Thank you. It's resolve my trouble.

@ghost
Copy link

ghost commented Jul 2, 2019

Unfortunately this problem is only solved for the OP. We have the same issue, but it keeps reappearing every day. You have to clear the cache, login and you can chat. After a few hours the app says, that "you have to be logged in to do this" and it aparently can't display the server version correctly. So basically you have to start over.

@michal-kaciuba
Copy link

michal-kaciuba commented Jul 16, 2019

Same error here. When it happens I still get notifications. When i click them I can see a list of channels witch are out of date (preview of last message) and an error saying:

Sorry, an error occurred, please try again.

Then, when I click on one of the channels, another error pops:

You must be logged in to do this.

Same error shows up when I try to log out.
Also app and server version are not displayed correctly as in attached image.
Screenshot_20190716-075113_RocketChat
App version: 3.4.2
Server version: 1.2.1

@ghost
Copy link

ghost commented Jul 16, 2019

The beta version 3.5.0 seems to have fixed this to a certain degree. As far as I can tell now, the session is only dropped after the timout which is set on the server (72h for me).
The only "bug" so far is that the user status is not refreshed properly. After a new login I have to manually open every chat/group I need in order to get the status update from that user (online / away etc). But that's acceptable.

It still shows the weird server version sometimes though. But the phenomenon of being able to receive messages while it still complained that you needed to be logged in etc is gone - unless the session is dropped by the server.
I don't get logged out after those 72h i.e. redirected to the login page. The client appears to be logged in, but it will show the aforementioned error until you log out manually (which you can do now :) )
Anyway, good job so far guys 👍

@cb3inco
Copy link

cb3inco commented Jul 19, 2019

Same problem here. I just joined the beta program to see if this fixes the issue as @aimador suggests.

@philipbrito
Copy link
Contributor

Guys, could you tell us if you're facing the problem on the 3.5.0 (2074) version?

@cb3inco
Copy link

cb3inco commented Aug 1, 2019

Guys, could you tell us if you're facing the problem on the 3.5.0 (2074) version?

I think it's working better for me now. Thanks.

@ghost
Copy link

ghost commented Aug 1, 2019

Same here. The phenomenon of the dropped session is still an issue, but I think it's the server.

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

No branches or pull requests

5 participants