Skip to content

Unreliable timeout in 1.1.0 #361

@eLud

Description

@eLud

I recently updated the Connect lib to 1.1.0 in an app, and was able to notice that the timeout specified in ProtocolClient and ProtocolClientConfig seems to not be working reliably. Are you aware of this?

I can't reproduce every time, but was still able to do it multiple times + had user feedback about it.

Step to reproduce:

  • Set a timeout
  • Set Network Link Conditioner on, with 100% Loss config
  • Trigger the request
Image

Outcome:

  • The request never gets an answer, and Connect never didn't time out either.
  • If you are awaiting for the result in a specific loading state, the app get stuck in this state

Expected behavior:

  • The timeout fires consistently if no response is received after the specified time.

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