Skip to content

Cannot reconnect subscription on Windows after night hibernation #1495

@obiwanzenobi

Description

@obiwanzenobi

Describe the issue
While using subscription in my windows flutter app everything runs fine until user closes his laptop and goes to sleep. In the morning, when windows laptop is awake again, subscription cannot reconnect automatically (config set to auto reconnect). I waited a long time for this, only option is to rebuild client (restart app).

To Reproduce (MUST BE PROVIDED)

  1. Build windows app with active graphql subscription
  2. Put you pc to sleep or close laptop for a longer time
  3. Open laptop / awake PC
  4. Try to send event through subscription from backend

Expected behavior
GQL Client reconnects automatically.

device / execution context
Windows flutter app, node.js backend

Other useful/optional fields

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⌛ reproduction neededIssue is subtle and requires a true accessible reproduction to debugPRs encouragedPRs are welcome if stakeholders want to take ownershipPriority: MediumMedium priority to include it inside the next releasehelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions