gateway-proxy icon indicating copy to clipboard operation
gateway-proxy copied to clipboard

Requesting guild chunks takes a lot of time since the switch to tokio-websockets library

Open PredaaA opened this issue 1 year ago • 1 comments

Since this commit https://github.com/Gelbpunkt/gateway-proxy/commit/e41d6a48054e824493f3893ba38b10a668afe432 I'm mostly unable to chunk guilds, using discord.py, I'm seeing "Shard ID %s timed out waiting for chunks for guild_id %s." For reference https://github.com/Rapptz/discord.py/blob/a5d03d4a1e6f4314518f6f55d8b7130ab3f4336e/discord/state.py#L577. I have tried to increase this manually to 1 minute but it still couldn't get chunks.

I have switched back to tokio_tungstenite on a fork and it's all working correctly.

PredaaA avatar Oct 27 '23 12:10 PredaaA

Can you provide logs please? I doubt that this is a websocket library issue.

Gelbpunkt avatar Oct 27 '23 13:10 Gelbpunkt

I believe this is a discord.py issue that was fixed in dpy 2.4.

Gelbpunkt avatar Jun 24 '24 11:06 Gelbpunkt