Skip to content

Tries to reconnect with invalid token #82

@lukasz-kalnik-gcx

Description

@lukasz-kalnik-gcx

If the connection is lost the library automatically tries to reconnect.
However, if one of the initial Socket params was an access token and the token expired in the meantime it will nevertheless be reused for the reconnect attempt. This leads to the server not accepting the reconnect requests.

We need some way to take over the reconnect strategy in the library client. Either a callback where we can pass new parameters or a way to disable the reconnect and handle it ourselves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions