Reproduction steps
- Connect to the gateway.
- Wait for Hello event.
- Send Identify but with the token set to an empty string.
Expected behaviour
The gateway should close the connection with code 4004 and "Invalid token".
Actual behaviour
The gateway doesn't respond to the Identify at all but does respond to heartbeats with HeartbeatAck (as expected).
This is the same behavior as if Fluxer is currently down and the gateway is just keeping connections alive but not letting anyone identify.
Platform
API
Evidence
https://gist.github.com/PilkeySEK/60a9cb78b1b7c5100621577bb694a0e8
Notable lines are:
- 60: Hello event received
- 62: Sending Identify
- 94: Sending Heartbeat
- 138: Receiving HeartbeatAck
Comments
No comments yet.