Closed BarryCarlyon closed 4 months ago
I have gotten confirmation from the EventSub team that you should not be getting messages on the old connection in production. Is this something you have experienced? If so, it may be worth noting to https://github.com/twitchdev/issues
Then I misunderstood. I thought messages were sent to both during the change over period.
What is the problem?
I belive that the CLI differs from production in behaviour
I believe production sends a reconnect message but still sends events on the old socket till grace period/user disconnect so a developer has to be aware of duplicate messaging during the reconnect window if they didn't disconnect the old socket yet.
The CLI only sends events to the most recent socket born leaving the old/dying server eventless.
So we can't test reconnect logic properly as the CLI behaviour differs
Operating System
N/A
Architecture Version (x86, x64, arm, etc)
N/A
Steps to reproduce
twitch event websocket start-server
twitch event websocket reconnect
Relevant log output
Logically the old socket should still be getting events till grace period expires.