Skip to content

Client disconnection guarantee #48225

Description

@mys10gan
  • When setting the Keep-Alive-Interval header to 10s, I receive alive responses every 20s instead of the expected 10s. Is this normal behaviour or a configuration issue?

  • Is there a way to check if a client is still connected by channel or connection ID without waiting for a close/disconnected event? I need a method to proactively verify connection status.

  • When publishing a message to a channel with no active subscribers (due to client disconnection/websocket disconnected to pushpin), I'd like to receive confirmation that the client is offline and the message wasn't delivered. Currently, there's no feedback mechanism for this scenario. It always says published.

  • Sometimes, keep-alive pings continue even after a client (websocket connection) has gone offline. This occurs intermittently. What might be causing this behaviour?

I am using the default config with WebSocket over HTTP.

Client ---[websocket]---> Pushpin ---[http req]---> My Server

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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