Skip to content

Getting exception in ProcessKeepAlive (v2 ListenWebSocketClient) #390

@sgodin

Description

@sgodin

What is the current behavior?

Just switched from C# client 4.3.6 to 6.6.0 and I'm seeing an exception get logged from ProcessKeepAlive:

ProcessKeepAlive: System.NullReferenceException thrown Object reference not set to an instance of an object.

The exception is caught by the Deepgram client and is sent to the logger, so it shows up in the application logs.

Steps to reproduce

This appears to happen after the ListenWebSocketClient is closed, via SendClose().

Expected behavior

No error logged when closing the client.

Please tell us about your environment

Windows C#, VS2022.

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