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

Element floods the server with registration requests if a registration fails #23084

Open
babolivier opened this issue Aug 16, 2022 · 1 comment
Labels
O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@babolivier
Copy link
Contributor

Steps to reproduce

  1. Configure Element to try to register against a server that returns an error on registration requests
  2. Try to register
  3. The server sends an error (I've observed this behaviour with both 400 (Unknown session ID) and 500 (Internal server error))

Outcome

What did you expect?

Element does not retry registering.

What happened instead?

Element floods the homeserver with an endless loop of registration requests. On my local homeserver I've seen it send 1 request each ~5ms.

Operating system

Arch Linux

Browser information

Firefox 103.0.2

URL for webapp

develop.element.io

Application version

Element version: 39eee10-react-9bf77963ee5e-js-3f6f5b69c7a1, olm version: 3.2.12

Homeserver

Local development version of Synapse (based on 1.65.0rc2)

Will you send logs?

Yes

@babolivier
Copy link
Contributor Author

babolivier commented Aug 16, 2022

Hmm, I'm trying to send logs but it doesn't look like it's working - possibly because Element is flooding the logs with this:

image

Edit: actually it looks like sending logs is failing:

image

I can easily reproduce the issue though so happy to work with the team to provide more details.

@andybalaam andybalaam added S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Uncommon Most users are unlikely to come across this or unexpected workflow labels Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

No branches or pull requests

2 participants