Skip to content

DevServer logs WebSocketException when app is closed creating unnecessary noise #18337

Closed

Description

@Takoooooo

Current behavior

I assume we shouldn't log it because that's to be expected that when app will be closed WebSocket connection would be shut down ungracefully. Here how it looks in Rider logs.
image

Expected behavior

Shorter message is sent instead marking that the connection is closed and user app is probably closed too.

How to reproduce it (as minimally and precisely as possible)

Try to close the app connected to the DevServer.

Activity

  1. added
    kind/bug
    triage/untriaged
    difficulty/tbd
    on Sep 30, 2024
  2. added
    difficulty/medium 🤔
    area/hot-reload
    and removed
    triage/untriaged
    difficulty/tbd
    on Sep 3, 2025
  3. github-actions commented on May 7, 2026

    @github-actions
    Contributor

    This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.

  4. added
    stale
    on May 7, 2026
  5. removed
    stale
    on May 9, 2026
  6. dr1rrb commented on Sep 18, 2026

    @dr1rrb
    Member

    This is no longer the case on master: a peer disconnection is now handled as an expected close by the WebSocket transport and logged at information level, instead of surfacing a WebSocketException. Closing as done.

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

    area/hot-reloaddifficulty/medium 🤔kind/bug

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions