Closed rifay-next99 closed 2 weeks ago
Connection reset by peer This indicates an error which most likely cannot be solved by the library.
The server likely killed your connection because you opened too many parallel requests.
how should achieve the withoutt kill
For business implementation, better ask for GPTs or StackOverflow for solutions.
Package
dio
Version
5.4.3+1
Operating-System
Android, iOS
Adapter
Default Dio
Output of
flutter doctor -v
Dart Version
No response
Steps to Reproduce
I made a multiple api call parallely. Some times the error will occur.
Expected Result
Resolve this error
Actual Result
DioException (DioException [connection error]: The connection errored: Connection reset by peer This indicates an error which most likely cannot be solved by the library. Error: SocketException: Connection reset by peer (OS Error: Connection reset by peer, errno = 54), address = ****.next99.com, port = 52094)