appwrite / appwrite/sdk-for-flutter

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

Open
#211 2 comments 0 reactions 1 assignee Claimed by @lohanidamodar View on GitHub
bug
Dominant language
Dart
Stars
418
Forks
150
Avg merge
1h 23m
Merged PRs (30d)
3

Description

### 👟 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](https://github.com/appwrite/appwrite/assets/57244338/9fc0a656-2d98-4451-b840-a87814b4e37b)

### 👍 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?

- [X] I checked and didn't find similar issue

### 🏢 Have you read the Code of Conduct?

- [X] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.