-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebSocket closed with status code: 1005 () #1
Comments
@Ahmed-Elbossily please provide me more info |
Plugin i user for pick image : image_picker: ^0.8.4 This code for signalr methods: Future connectUserSignalrPure({required User? user}) async {
} Future sendFileFromUserPure(
} This code for signalr provider: Future connectUserSignalrPure({required User? user}) async { Future sendFileFromUserPure( This code for pickImage in chatScreen method: void pickImage({required ImageSource source}) async {
} This code for pickImage methods: static Future<File?> pickImage({required ImageSource source}) async { |
@Ahmed-Elbossily when error happened? And paste error more detail |
HttpConnection.stopConnection(Exception: WebSocket closed with status code: 1005 ().) called while in state ConnectionState.connected. i open camer and pic image then send to server the server save the image correctly the next action is sending image url to the friend who i'm chat with then signalr closed i see that the signalr closed only when i send file to server code on server to save the image is iostream |
@Ahmed-Elbossily , problem in your sending data or on backend(when it parse your data). Problem not in this package. You need to contact a backend representative and discuss this problem with him. |
I make desctop client work well not closed |
@Ahmed-Elbossily problem may be in your sending data. You must check your sending data. |
This error happens when I pick image from camera or gallery and the connection disconnected
Please help me to fix this issue.
The text was updated successfully, but these errors were encountered: