Skip to content
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

Joining a space took over 4 minutes. #20717

Closed
karlabbott opened this issue Jan 24, 2022 · 7 comments
Closed

Joining a space took over 4 minutes. #20717

karlabbott opened this issue Jan 24, 2022 · 7 comments
Labels
A-Spaces Spaces, groups, communities O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Z-Backend Z-Rageshake Has attached rageshake (not for log submission process) Z-Synapse

Comments

@karlabbott
Copy link

Steps to reproduce

  1. Where are you starting? What can you see?

I received a space invitation to join the Fosdem testing space.

  1. What do you click?

I clicked Accept on the space invite.

Outcome

What did you expect?

To be joined to the space in 10-20 seconds.

What happened instead?

After 4 minutes of waiting, I gave up, clicked over to another space/room and then took a 30 minute call. When I came back from the call, I found that I had been joined to the space.

Operating system

Fedora Linux 35

Browser information

Brave (Version 1.34.80 Chromium: 97.0.4692.71 (Official Build) (64-bit))

URL for webapp

Private Server.

Application version

Element version: 869b271-react-869b271f72f9-js-869b271f72f9 Olm version: 3.2.8

Homeserver

matrix.org

Will you send logs?

Yes

@SimonBrandner SimonBrandner added A-Performance A-Spaces Spaces, groups, communities S-Major Severely degrades major functionality or product features, with no satisfactory workaround Z-Rageshake Has attached rageshake (not for log submission process) O-Occasional Affects or can be seen by some users regularly or most users rarely labels Jan 24, 2022
@t3chguy
Copy link
Member

t3chguy commented Jan 24, 2022

Performance suggests its something server-side, but Element can't do anything about a Synapse API being super slow.

@hex-m
Copy link

hex-m commented Jan 24, 2022

It seems like the client aborts trying to join when you bring a different room to the foreground. That counts as a client bug imo.

To gracefully deal with slow server actions, I'd expect the client to tell me that it seems to take a while - let me go on doing stuff - and ping me when it's ready.

@t3chguy
Copy link
Member

t3chguy commented Jan 24, 2022

It seems like the client aborts trying to join when you bring a different room to the foreground.

It is impossible to abort a /join - there is nothing in the Matrix spec which allows for this.

@t3chguy
Copy link
Member

t3chguy commented Jan 24, 2022

To gracefully deal with slow server actions, I'd expect the client to tell me that it seems to take a while - let me go on doing stuff - and ping me when it's ready.

Sure, that's unrelated to this issue about spaces though - element-hq/element-meta#1383

@hex-m
Copy link

hex-m commented Jan 24, 2022

Thanks for the clarification. In the UI it looked as if the join wouldn't happen after I came back from another room. I could press "Reject" or "Accept" again.

@t3chguy
Copy link
Member

t3chguy commented Jan 24, 2022

I could press "Reject" or "Accept" again.

The client has no way of knowing which joins are still ongoing, which the server has given up with etc because the server timed out so the pipeline for the error/success to come down is severed.

@t3chguy
Copy link
Member

t3chguy commented May 3, 2022

If you are still experiencing this, please open an issue in https://github.com/matrix-org/synapse/

@t3chguy t3chguy closed this as completed May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Spaces Spaces, groups, communities O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Z-Backend Z-Rageshake Has attached rageshake (not for log submission process) Z-Synapse
Projects
None yet
Development

No branches or pull requests

5 participants