Skip to content

Gateway reconnecting logic missing? #33

Description

@KSib

I noticed that when the WebSocket gets disconnected, the library can hit a loop where it seemingly never tries to reconnect and keeps outputting
Cannot send gateway packet - WebSocket is not connected (IsRunning=false) indefinitely.

I don't know if it needs to call HandleReconnectWithBackoff or ReEstablishGatewayConnectionAsync when it detects this, but something should happen as right now I'm thinking to just have it reconnect every 5 minutes or something to keep it trucking along.

Version: 1.0.0-alpha11

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions