appwrite / appwrite/sdk-for-flutter
🐛 Bug Report: Realtime Issue with `WebSocketException: .... was not upgraded to websocket' in FLUTTER
- 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.

### 👍 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
Assessment
This issue has not been assessed yet.