element-x-ios icon indicating copy to clipboard operation
element-x-ios copied to clipboard

App logged me out (again)

Open marwing opened this issue 5 months ago • 5 comments

Steps to reproduce

  1. Open app
  2. be asked to log in again

Outcome

What did you expect?

Stay logged in

What happened instead?

Login screen

This happened before, shortly after the update to 25.07.0 (not only to me, as discussed in the room) and now again, though only a few days after the update to 25.07.1. Unsure if these are related.

Your phone model

iPhone 13 mini

Operating system version

iOS 18.5

Application version

25.07.1 (177)

Homeserver

Synapse 1.133.0 / MAS 0.18.0

Will you send logs?

Yes

marwing avatar Jul 06 '25 17:07 marwing

MAS logs complain about an invalid refresh token that seems to be from this session. I found corresponding errors in the app logs.

marwing avatar Jul 06 '25 18:07 marwing

thanks @marwing for the rageshake. As you wrote, it is not related to the last week issue that affected several people. We added in 25.07.1 (177) a sentry report to specifically track the problem but we got no reports about it during the weekend.

Back to the issue you reported, you are the only having this refresh token issue. We will keep monitoring it. iIt's really annoying as a bug.

manuroe avatar Jul 07 '25 09:07 manuroe

I assume you are talking about https://github.com/matrix-org/matrix-rust-sdk/pull/5345? If so, I know about that and checked but didn't find the new log messages, I'm just unsure if I have the full picture. I do have analytics disabled though, not sure if that would block this reporting too (probably, but other people might not).

AFAICT, this issue happened for the first time, and has not happened since, so maybe it was just a rare set of coincidences. Not yet annoying, but thought I'd report anyway.

marwing avatar Jul 07 '25 10:07 marwing

I assume you are talking about https://github.com/matrix-org/matrix-rust-sdk/pull/5345?

yes, that one.

Not yet annoying, but thought I'd report anyway.

We think it is not annoying too but thank you for raising it. It is always useful to have feedbacks.

manuroe avatar Jul 07 '25 15:07 manuroe

I am reducing the occurence of this bug. Please comment and send a bug report if you are affected by this.

manuroe avatar Sep 15 '25 15:09 manuroe

This hasn't happened since. It may have been some weird behavior while I was working on my server. Not that this is ok to happen, but without anyone else complaining and me not encountering it multiple times, I think this can be considered resolved (if there ever was an issue).

marwing avatar Dec 12 '25 19:12 marwing