-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
HttpException: Connection closed while receiving data #1185
Comments
+1 |
I think it's same for me. Users are able to send request but there is no response. On server side (API) all data is saved correctly, no exception, no errors. I don't have an exception message from mobile devices because I'm not able to reproduce this behavior on my devices. All I have is duplications in ERP system because there is no response and app is not able to unflag data from "toSend" status. |
I don't receive anything from Dio. It's like sending http request to blackhole. No exception or errors. |
I find the issue, with the new Dio API, you need to return handler.next, otherwise interceptors just stuck.
|
service error , the post data is too large |
hi, the 0.0.11 still won't get through with this issue. The same DioError appeared as followings. I even tried to add the timeout lines but not helpings. E/flutter (16871): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Exception: DioError [DioErrorType.other]: HttpException: Connection closed before full header was received, uri = http://192.168.1.102:8000/onvif/device_service any other work around? |
i am also facing the same issue |
same problem |
1 similar comment
same problem |
@FakharAlyas119 Could you solved this issue? |
@guischpor |
me too : |
flutter: DioException [unknown]: null |
Error downloading audio: DioException [unknown]: null |
Me too |
is it for http links or https links? If its for HTTP then try turning off the proxy in android emulator settings. It might work... |
post 数据量比较大的时候直接报error。
[✓] Flutter (Channel stable, 1.22.5)
[✓] dio: ^3.0.8
The text was updated successfully, but these errors were encountered: