Member requests are dropped without any reply once a guild passes 40 requests in 10 seconds

(#5097) Bug Open: Needs triage api community desktop

Reproduction steps

Open a guild you're a member of and go into a channel where other members are visible. Open a few member profile popouts back to back, then try searching different names in the member search box. Keep doing this until you go over 40 member requests within 10 seconds for the same guild. Watch the gateway traffic and check what happens to the requests sent after hitting the limit. This is pretty easy to reproduce in a busy guild, especially when multiple member lookups are happening around the same time.

Expected behaviour

Requests that hit the limit should receive some kind of response, whether that's the requested member data or an explicit rate limit response. The client should know it's being rate limited instead of just waiting for a response that will never come.

Actual behaviour

Once the limit is reached, the requests are silently dropped. Nothing comes back. No member chunks, no error, and no RATE_LIMITED response. The client just sits there waiting until it eventually times out after 30 seconds: Failed to hydrate members, will retry on the next load or reconnect error: Error: Request timed out After that, affected members show up in chat without their roles or nicknames. The log says it'll retry on the next load or reconnect, but I haven't seen an actual retry happen. It stays broken until something else causes the guild to reload. I also noticed that the bot full-list request path does return a RATE_LIMITED response, so the gateway already has a way to handle this. The normal member request path just doesn't seem to do the same..

Build information

Canary Desktop 2026.1101.102914, Web 2026.1103.134007, Windows 11 10.0.26300 (x64), Electron 44.10.0, Chrome 152.0.7977.169, Node 24.22.1, Locale en-GB

Platform

Windows, Web

Evidence

I traced the issue to the gateway source code: fluxer_gateway/src/fluxer_gateway/guild/requests/members_filter.gleam The guild request limit is set to 40 events, with a 10-second window configured in config/settings.gleam. When the limit is exceeded, check_guild() returns Error(Nil), and the caller in guild/requests/members.gleam returns without sending a response to the client. I also found that the limit is tracked on the guild's Sessions record rather than per individual session, meaning multiple sessions can contribute to the same limit. This is why requests can time out without the client ever receiving a RATE_LIMITED response.

Comments

Sign in with Fluxer to comment and vote.

No comments yet.