Skip to content
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

OnError callback not getting triggered when testing speed while connected to VPN on iOS. #13

Open
prashantprem opened this issue Dec 17, 2023 · 0 comments

Comments

@prashantprem
Copy link

While using this plugin in VPN app and testing it on iOS device often a time an error of request time out error occurs but the onError callback is not triggered because of which i'm not able to notify user or update the state.

Here is the error log:

Task <8BC923DE-5094-4B3C-8502-D64C443BCF26>.<1> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2103, _NSURLErrorFailingURLSessionTaskErrorKey=LocalUploadTask <8BC923DE-5094-4B3C-8502-D64C443BCF26>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://speedtest.apyhi.com/upload, NSErrorFailingURLKey=https://speedtest.apyhi.com/upload, _kCFStreamErrorDomainKey=4}
Error is The operation couldn’t be completed. (flutter_internet_speed_test.NetworkError error 0.)
flutter: │ 🐛 arguments are {type: 1, speedTestError: The operation couldn’t be completed. (flutter_internet_speed_test.NetworkError error 0.), id: 1}
flutter: │ 🐛 onError : The operation couldn’t be completed. (flutter_internet_speed_test.NetworkError error 0.)
flutter: │ 🐛 onError : null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant