GithubHelp home page GithubHelp logo

Comments (18)

Equartey avatar Equartey commented on June 13, 2024 1

Hey @harini18. We could not reproduce this on a existing app.

We're still working on reproducing this on a fresh app.

We will provide more updates as we have them.

from amplify-flutter.

Jordan-Nelson avatar Jordan-Nelson commented on June 13, 2024

Can you run in debug mode with Flutter dev tools open and capture the network requests?

from amplify-flutter.

harini18 avatar harini18 commented on June 13, 2024

Screenshot 2024-05-13 at 1 24 42 PM
Screenshot 2024-05-13 at 1 25 22 PM
Screenshot 2024-05-13 at 1 26 26 PM

from amplify-flutter.

harini18 avatar harini18 commented on June 13, 2024

Screenshot 2024-05-13 at 1 28 38 PM

sometimes around 10 seconds

from amplify-flutter.

Jordan-Nelson avatar Jordan-Nelson commented on June 13, 2024

@harini18 - From the first screenshot it looks like one of the network requests takes significantly longer than the others. This appears to be the InitiateAuth call. Do you have any Cognito Auth triggers enabled for this user pool?

from amplify-flutter.

harini18 avatar harini18 commented on June 13, 2024

No. It is simple setup. It was setup via amplify.

There are no auth triggers.

from amplify-flutter.

harini18 avatar harini18 commented on June 13, 2024

Also Login via Social works fine - look at this screenshot

Screenshot 2024-05-13 at 1 40 09 PM

from amplify-flutter.

harini18 avatar harini18 commented on June 13, 2024

Any updates?

from amplify-flutter.

Jordan-Nelson avatar Jordan-Nelson commented on June 13, 2024

@harini18 - I am not able to reproduce this. Can you share more info about how you set up the backend? Did you using the Amplify (Gen 1) CLI or did you use Amplify Gen 2?

from amplify-flutter.

harini18 avatar harini18 commented on June 13, 2024

Using Amplify (Gen 1) CLI.

from amplify-flutter.

Jordan-Nelson avatar Jordan-Nelson commented on June 13, 2024

Can you walk me through what options you selected when creating the project?

Is US West 2 the geographic location that you are located closest to? I see most of the requests are fairly quick so I don't think latency is the issue here but would like to rule that out.

Do you use a VPN or any proxy tools?

from amplify-flutter.

harini18 avatar harini18 commented on June 13, 2024

We setup Auth - for email, via Google and via Apple.

We do not use any other Amiplfy packages other than Auth.

Not using VPN or proxy tools.

I am not sure why that one call is consistently taking 5 to 10 seconds.

from amplify-flutter.

Jordan-Nelson avatar Jordan-Nelson commented on June 13, 2024

Are you able to reproduce this on both iOS and Android? Is it reproducible on a physical device?

from amplify-flutter.

harini18 avatar harini18 commented on June 13, 2024

Yes it is happening on both iOS and Android. Also in physical device.

from amplify-flutter.

NikaHsn avatar NikaHsn commented on June 13, 2024

thanks @harini18 for the info. we will look into this issue and get back to you with any updates.

from amplify-flutter.

harini18 avatar harini18 commented on June 13, 2024

Thanks

from amplify-flutter.

harini18 avatar harini18 commented on June 13, 2024

Any updates?

from amplify-flutter.

Jordan-Nelson avatar Jordan-Nelson commented on June 13, 2024

@harini18 I was unable to reproduce this with a new Amplify app following the instructions you provided? If you create a branch new Amplify app following those steps do you see this issue?

from amplify-flutter.

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.