Open pixlwave opened 3 months ago
Thanks for the report. Do you have network logs? It could be that the code handling retries considers this not a fatal failure, and re-runs it indefinitely — and if the server creates the room then invites the non-existing user, it would leave partially created state somewhere.
If that's the case, then two things would be needed:
Calling
Client::create_room
(in the FFI) with the following parameters (specifically with an invite for a matrix ID that doesn't exist), seemingly runs forever and instead of failing, keeps creating new (empty) rooms. I left it for a minute or so and have 10 rooms, so not sure if there's a limit. Also unsure if it's important that the domain doesn't exist (that's just how the UI gets triggered on Element X) or just that the user doesn't exist.Looking at the response from matrix.org which is a 502 mentioning Cloudflare, it's possible this is a backend configuration issue rather than an SDK issue, but it still seems unexpected that it retries so many times.