-
Notifications
You must be signed in to change notification settings - Fork 12
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
Very slow / no response when adding 16 users to a room #1822
Comments
I have cancelled the add and added the logs |
|
Thanks @t3chguy |
I do not know the settings on matrix.org or one.ems, I suggest contacting their respective supports |
Thanks - have already contacted one.ems support, hopefully they can help. |
Yeah so it'll retry 5s after the M_LIMIT_EXCEEDED error but seemingly gives up when encountering such an aggressive throttling |
Thanks - I will wait for a bit longer then! |
Still getting the error after ~1hr. Will try later |
After 30 min extra, managed to invite 5 more people, then it timed out on me again. |
Just invited the last 5 people (1 first, then 4 in a group) and it all worked fine. I'll be really interested to hear what the limits are and the expected behaviour. |
Really useful reply from EMS Support: Hi Nick, I have checked the issue posted, it looks like you are inviting users via email not MXID, so this actually falls under a different rate limit. You can read up on all the different rate limits by checking the configuration manual: https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#ratelimiting I believe in your use case, you are hitting rc_third_party_invite. (https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#rc_third_party_invite) This option ratelimits 3PID invites (i.e. invites sent to a third-party ID such as an email address or a phone number) based on the account that's sending the invite. The defaults for Element One on this are a queue maximum of 5, removing 0.0025 from the queue every second. So this translates to, 1 invite via email every 400 seconds after the initial burst of 5 invites. Best wishes |
Thanks @nickbearman for surfacing that response here, unfortunately isn't an Element client issue but one of Element One the service provider, we don't track those issues here. Hopefully their response helps you somewhat. |
Steps to reproduce
When inviting 16 users to join a new room, Element just hangs and I have no idea whether it is adding the users or not:
I will attach debug logs.
For clarity, this is an Element One room https://one.element.io/#/room/!xUzrFTPyOAvJFvabGE:one.ems.host created by @nickbearman:one.ems
And I am adding people from the user @nickbearman:matrix.org so people will be invited to create a Matrix account on matrix.org rather than one.ems.host which will fail.
Outcome
What did you expect?
I expected the users to be added, or some progress bar if this was going to take a while.
What happened instead?
It just sat there as per the screenshot, now for 4 min.
There are some related topics related to converting spaces to rooms which may be relevant:
element-hq/element-web#19216
matrix-org/matrix-react-sdk#6887
element-hq/element-web#19362
And from this it looks like I should see a progress bar, but I don't.
Operating system
Windows
Browser information
Google Chrome Version 114.0.5735.199 (Official Build) (64-bit)
URL for webapp
https://app.element.io/#/room/!xUzrFTPyOAvJFvabGE:one.ems.host
Application version
Element version: 1.11.35 Olm version: 3.2.14
Homeserver
matrix.org / one.ems
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: