🐛 Bug Report: Realtime Issue with `WebSocketException: .... was not upgraded to websocket' in FLUTTER · Issue #211 · appwrite/sdk-for-flutter · GitHub
Skip to content

🐛 Bug Report: Realtime Issue with `WebSocketException: .... was not upgraded to websocket' in FLUTTER #211

Open

Description

@moshOntong-IT

👟 Reproduction steps

I release my app in 'release mode' for QA test. These are the reproduce step with our QA tester:

  1. She goes to the thread page (This page has Appwrite Realtime integrate)
  2. She tries to send a thread. (When the thread has been sent then the realtime in appwrite must be triggered then her device must be receive the new event)

But she wonder why she did not receive any realtime event. So I try to go our Sentry log. Then I shocked that the Websocket issue is also occur in 'release mode'. I thought that this error was only occur on debug mode because it might be the hot reload or hot restart in flutter is the root cause.

image

👍 Expected behavior

It should not receive the WEBSOCKET issue

👎 Actual Behavior

It actually occurred to me that.

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Something else

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Activity

  1. moshOntong-IT commented on Jun 28, 2024

    @moshOntong-IT
    Author

    Sorry for mention you here @stnguyen90 . Why not putting the try in above of line 36?
    image

  2. self-assigned this
    on Jul 8, 2024
  3. stnguyen90 commented on Jul 30, 2024

    @stnguyen90
    Contributor

    @moshOntong-IT

    It should not receive the WEBSOCKET issue

    Can you clarify what the expected behavior is if the websocket isn't successfully connected?

    Sorry for mention you here @stnguyen90 . Why not putting the try in above of line 36? image

    How does this change things?

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions