Skip to content

Http package refused connection on mobile network many time but on wifi works fine after updating http package #892

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

Open
ankittripathi4494 opened this issue Mar 15, 2023 · 7 comments
Labels
package:http type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@ankittripathi4494
Copy link

E/flutter (25854): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Connection refused
E/flutter (25854): #0 IOClient.send (package:http/src/io_client.dart:88:7)
E/flutter (25854):
E/flutter (25854): #1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93:32)
E/flutter (25854):
E/flutter (25854): #2 _withClient (package:http/http.dart:164:12)
E/flutter (25854):
E/flutter (25854): #3 _SuperDistributorScreenState.build..... (package:financepe_master/modules/super_distributor/views/super_distributor_screen.dart:581:69)
E/flutter (25854):
E/flutter (25854):

@ankittripathi4494 ankittripathi4494 added package:http type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) labels Mar 15, 2023
@ankittripathi4494
Copy link
Author

my whole team team face this problem in our retailer app api works slowly on mobile network but on wifi works superb. it is not api problem http package have some kind of issue. please help to rectify this problem as much as possible.

@mittalsam98
Copy link

I was also facing same issue @ankittripathi786 (working fine on wifi but not getting anything on mobile data), did u find any solution?

@ankittripathi4494
Copy link
Author

I was also facing same issue @ankittripathi786 (working fine on wifi but not getting anything on mobile data), did u find any solution?

No buddy... Dio and get also facing same issues

@ankittripathi4494
Copy link
Author

I was also facing same issue @ankittripathi786 (working fine on wifi but not getting anything on mobile data), did u find any solution?

No buddy... Dio and get also facing same issues

I tried all of them

@ankxz
Copy link

ankxz commented May 17, 2023

Did someone find any solution?

@ankittripathi4494
Copy link
Author

No buddy this problem from Google side http package is problem

@aliaafreen
Copy link

have anyone got any solution about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:http type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

4 participants