CONNECT_TIMEOUT too many times
when i request a url,CONNECT_TIMEOUT happened too many times,can you help me to solve this issue?
I/flutter ( 7221): DioError [DioErrorType.CONNECT_TIMEOUT]: Connecting timed out [5000ms]
I/flutter ( 7221):
E/flutter ( 7221): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: DioError [DioErrorType.CONNECT_TIMEOUT]: Connecting timed out [5000ms]
E/flutter ( 7221): #0 DioMixin._request._errorInterceptorWrapper.
I have same problem. When upload files this problem happens many times.
TIMEOUT usually a network problem, please check whether network permissions have been added
I have same problem.Check to make sure the network is ok, as is the native interface.
I confirm, this happens to me as well. In my case I observe this behavior if I fire several calls at the same time. 3-4 calls will make sure that I will get SocketTimeoutError. Then if I do polling too often (1 sec vs 5 sec) I observe this behavior as well.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, please make sure it is up to date and if so, add a comment that this is still an issue to keep it open. Thank you for your contributions.
This is still an issue.
This issue is still happening!
This issue is still happening!
This happens randomly when uploading files on 3.0.9 and 3.0.10
Im also facing the challenge, somebody help??/
same problem
same problem too
Same problem, just randomly
same
same issue
Me too, i used package Dio 4.0.4, but still the same.
This issue appear when running debug mode, but run profile mode isn't have issue.
Sometimes i uninstall app and run debug mode , everything ok.
I also have this issue. It should not be closed
same issue, but it appeared in release mode
Apps running on mobile devices suffer from unstable network conditions, since the user can be moving around while using the app. For example, the user can enter an elevator, go underground, or just enter a zone of bad reception. This can cause connection timeouts, which are not caused by Dio. Your app should be able to handle timeouts of any request.
same here