-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Multiple issues after client restart #20862
Comments
I believe this list of commits has all the new things I applied this morning when the issues started, though I am not 100% certain. |
Thanks. I got the bug with the nightly build which finished at 8:47: before any of the 3 commits today, so that rules out those three. |
...though after scanning those changes, I can't see how they could trigger anything like these issues... 😰 |
Given the areas affected, I would have expected JS SDK changes, but I do not recall seeing any in the changelog before updating... |
Using |
I do notice that the IndexedDB store worker appears to startup twice, which doesn’t seem to happen on app. |
The |
I'm only noticing duplicate runs of the store worker in my main Firefox session, though some are affected on the desktop build as well. |
...and now the worker only starts up once. 😵 |
Well, I've run out of theories to investigate, so I suppose I'll clear cache now. |
Fwiw, I haven't yet checked nightly or web, but mobile (android) is suddenly using default naming on a handful of rooms and also lost their avatar. This might be a server issue. |
Huh. I was just looking through the rageshake and one of them has an error while processing the cached sync:
It looks like when this happens, it isn't handled particularly gracefully. These are locations in http-api, so it looks like somewhere during processing a sync response, something's making an API call, all of which would be less than ideal. |
So it looks to be due to a web request made during parsing the cached sync, which I think only happens for threads code The stack trace unfortunately begins in the guts of browser-request
|
|
I'm also not sure how I feel about restoring a cached sync needing to hit any Matrix APIs at all |
ah, I found it making calls to /members to get room members for encrypted rooms, but those were all caught sensibly. Threads might do it though... and yeah, shudder at things making API calls wile processing a cached sync :/ |
Right, successfully reproed by:
It's https://github.com/matrix-org/matrix-js-sdk/blob/develop/src/models/room.ts#L1375 which makes an API call but doesn't catch errors |
* Fix issue with rooms not getting marked as unread ([\matrix-org#2163](matrix-org#2163)). Fixes element-hq/element-web#20971. * Don't store streams that are only used once ([\matrix-org#2157](matrix-org#2157)). Fixes element-hq/element-web#20932. Contributed by @SimonBrandner. * Fix edge cases around RR calculations ([\matrix-org#2160](matrix-org#2160)). Fixes element-hq/element-web#20922. * Account for encryption in `maySendMessage()` ([\matrix-org#2159](matrix-org#2159)). Contributed by @SimonBrandner. * Send references to thread root to threads, even out of order ([\matrix-org#2156](matrix-org#2156)). * Fix initial sync fail when event fetching unsuccessful ([\matrix-org#2150](matrix-org#2150)). Fixes element-hq/element-web#20862. * Don't decrypt redacted messages ([\matrix-org#2143](matrix-org#2143)). Contributed by @SimonBrandner.
Steps to reproduce
Multiple reports of this have come in now, some reloading from yesterday's nightly build and some reloading develop. I saw it when restarting nightly this morning.
Clear cache & reload fixes it (which technically is a workaround, which would make this 'minor', but I'm going to apply common sense here and make it critical)
Outcome
Operating system
No response
Browser information
No response
URL for webapp
No response
Application version
No response
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered: