Skip to content

After a few minutes with EventSubWebSocket, sometimes getting "Failed Ping Pong" disconnect #48

@WrithemTwine

Description

@WrithemTwine

Using 'auth code' access tokens w/access scopes; get access token.
Start EventSub 'startasync' and subsequent Helix "create ChatMessageReceived subscription" after 'OnConnected'.

I'm using the EventSubWebSocket(ILoggerFactory) constructor,

public EventSubWebsocketClient(ILoggerFactory loggerFactory = null)

Tried several times (validating with "!command" type calls to channel and getting 'sendchatmessage' responses), sometimes can last 20+ minutes connected to channel, or within 2-3 minutes receive:
image

The authcode access tokens have checks and refresh as needed. In this case, the access tokens are already refreshed and would/should be ok for hours.

image

(still working on reliable logging for more information, have captured "failed ping pong" though)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions