http icon indicating copy to clipboard operation
http copied to clipboard

iOS devices getting massive TimeoutExceptions

Open eldarkk opened this issue 4 years ago • 1 comments

Hi guys. Help needed !

We are getting lots of TimeException errors from iOS devices. Android devices working fine.

Снимок экрана 2021-08-27 в 10 55 09

Seems like each 5'th user getting stuck on the AppStart.

We are using latest http lib versions: 0.13.3 Request Timeout duration is set to 30.

Arbitrary loads are opened: Снимок экрана 2021-08-27 в 10 58 35

Have no idea, what could go wrong. Help needed guys.

Flutter Doctor

[✓] Flutter (Channel stable, 2.2.0, on Mac OS X 10.15.7 19H15 darwin-x64, locale ru-KZ) • Flutter version 2.2.0 at /Users/eldar/flutter • Framework revision b22742018b (3 months ago), 2021-05-14 19:12:57 -0700 • Engine revision a9d88a4d18 • Dart version 2.13.0

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at /Users/eldar/Library/Android/sdk • Platform android-30, build-tools 31.0.0 • Java binary at: /Users/eldar/Library/Java/JavaVirtualMachines/corretto-1.8.0_302/Contents/Home/bin/java • Java version OpenJDK Runtime Environment Corretto-8.302.08.1 (build 1.8.0_302-b08) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.3, Build version 12C33 • CocoaPods version 1.10.1

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 2020.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio.

[✓] VS Code (version 1.58.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.25.0

[✓] Connected device (1 available) • Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.159

! Doctor found issues in 2 categories.

eldarkk avatar Aug 27 '21 05:08 eldarkk

@eldarkk did you find any solution, I also, have the same issue. For me, Android, iOS both have a time-out issue. I tried http: ^0.13.4, dio: ^4.0.4

Neeraj0859 avatar Feb 17 '22 10:02 Neeraj0859