Coder Social home page Coder Social logo

Comments (7)

hansmboron avatar hansmboron commented on July 22, 2024 1

I have the same problem when trying to run an app with dio in the lambdaTest tunnel
image

from dio.

renehw avatar renehw commented on July 22, 2024 1

We discovered in our tests that using https://pub.dev/packages/native_dio_adapter the problem does not occur. Using native_dio_adapter, we were able to connect the remote mobile device to our QA machine without any problems.

However, despite having managed to solve this problem, I believe there is a problem when using http Dart. As native_dio_adapter uses a native library for HTTP requests, the problem does not occur. I suggest carrying out a review at this point.

For now, the problem we were having is resolved.

from dio.

Lewiz-QA avatar Lewiz-QA commented on July 22, 2024

Me too, when I try to use a Flutter App on LambdaTest using a local backend over UnderPass tunnel, I face the DioExceptions "errno=7" or "errno=111", which are very generic to identify what's the main cause of the problem.
One important point is that the same request that didn't run on app, works fine on Chrome present in some Real Device of LambdaTest.

from dio.

AlexV525 avatar AlexV525 commented on July 22, 2024

Is the service running on the device? If not, use the ip of your host device to access.

from dio.

renehw avatar renehw commented on July 22, 2024

Does not work with local device IP. This device is accessed remotely.

from dio.

AlexV525 avatar AlexV525 commented on July 22, 2024

I'm not following here. Is 127.0.0.1 targeting the same device as where the Flutter app runs? Such as you are running Flutter on an Android device, but trying to access the 127.0.0.1.lambdatest on a macOS device.

from dio.

AlexV525 avatar AlexV525 commented on July 22, 2024

We cannot make any review until a detailed example is provided. I'm still not sure about the environment as I mentioned above:

I'm not following here. Is 127.0.0.1 targeting the same device as where the Flutter app runs? Such as you are running Flutter on an Android device, but trying to access the 127.0.0.1.lambdatest on a macOS device.

from dio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.