-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
Error: SocketException: Connection timed out (OS Error: Connection timed out, errno = 110), address = app.myadress, port = 38887 #135495
Comments
same here
Not able to catch the exception. And when I click forwards from debugger It works and makes the http request successfully! Internet connection is live and permission is requested |
Hi @eokdev. Thanks for filing this. Initially this seemed to me to be related to the
Thank you! |
@dam-ease Here is a http request for github
Here is Call Stack
|
Yes it occurs on android. This is my main.dart file `void main() async { await SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]); runApp( but i dont think it has any link to the issue i am having. What do you think? |
Thanks for your responses @eokdev and @mahirozdin. |
@dam-ease hey thanks for the tests. Promlem is still occurs even the display is on. And after clicking the continiue button on debugger I can see that data has came already. So data is coming but exception isthrown there is some kind of problem. I wasnt able to solve the issue. When I made a call for google.com there is no problem at all. but for github.com it occurs. |
@dam-ease the error i am facing seems like a network error cuz when i downgrade to a 3g network it works and I do not have the timeout issue. But when I am on 4g network the error happen most times. Using VPN too worked... Seems like the way the administrator configured the domain or something. Do you have a heads up on this? |
Thanks for your responses. @eokdev. Can you test with the sample #135495 (comment) to see if this varies with network as well, I still can't reproduce at all on my end. |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
This project was working fine some weeks ago. but today it started throwing this error - Error: SocketException: Connection timed out (OS Error: Connection timed out, errno = 110), address = app.myadress, port = 38887
Working fine on emulators
I switched from http to use Dio still getting same error.
Its a hosted api.
Please help!!!
Flutter Doctor
`[✓] Flutter (Channel stable, 3.13.6-0.0.pre.2, on Ubuntu 20.04.6 LTS 5.15.0-84-generic, locale en_US.UTF-8)
• Flutter version 3.13.6-0.0.pre.2 on channel stable at /home/olorunshola/snap/flutter/common/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision df40655632 (2 days ago), 2023-09-24 08:24:28 +0100
• Engine revision bd986c5ed2
• Dart version 3.1.2
• DevTools version 2.25.0
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /home/olorunshola/Android/Sdk
• Platform android-33, build-tools 33.0.0
• ANDROID_HOME = /home/olorunshola/Android/Sdk
• ANDROID_SDK_ROOT = /home/olorunshola/Android/Sdk
• Java binary at: /snap/android-studio/127/android-studio/jbr/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• clang version 10.0.0-4ubuntu1
• cmake version 3.16.3
• ninja version 1.10.0
• pkg-config version 0.29.1
[✓] Android Studio (version 2022.3)
• Android Studio at /snap/android-studio/127/android-studio
• Flutter plugin version 75.1.2
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.76.2)
• VS Code at /usr/share/code
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (3 available)
• SM G532F (mobile) • 4200a999d38f94cb • android-arm • Android 6.0.1 (API 23)
• Linux (desktop) • linux • linux-x64 • Ubuntu 20.04.6 LTS 5.15.0-84-generic
• Chrome (web) • chrome • web-javascript • Google Chrome 111.0.5563.110
[✓] Network resources
• All expected network resources are available.
• No issues found!`
The text was updated successfully, but these errors were encountered: