Giter Club home page Giter Club logo

Comments (3)

assyadh avatar assyadh commented on May 31, 2024

Hi,

Are you running this in Visual Studio? If so, can you please try the following:

https://stackoverflow.com/questions/37474309/timeouts-with-long-running-asp-net-mvc-core-controller-httppost-method

from aws-aspnet-cognito-identity-provider.

jlwhitfill avatar jlwhitfill commented on May 31, 2024

Yes, Im running Visual Studio 2017, I have looked at the article and tried everything in it to no avail. I didnt think it would work because it the cancellation error appears right at 5 seconds, which is not a long running item anyway and doesn't need to have the timeout extended. Even with the changes the article proposes, using a webconfig or changing the PROGRAM.CS file and the UseKestrel function, it still shows the error at 5 seconds into the call

I've implemented a complete Cognito authentication structure in a node.js setting and the login and register times are within a second or two max. Im trying to get it all moved into a .NET server side setting and I just can get past this error above. I even went as far as to create a brand new Cognito user pool with a basic setup, a new client id and secret and I still get this error. It seems to be masking some other error, either a connection issue or a permission issue.

from aws-aspnet-cognito-identity-provider.

jlwhitfill avatar jlwhitfill commented on May 31, 2024

I now have it functioning, I went into the Nuget Package Manager and had to update one of my packages:

Microsoft.VisualStudio.Web.CodeGeneration.Design to the latest version.

That required me in install a few others with regards to Razor and then once that was all installed it magically started working.

from aws-aspnet-cognito-identity-provider.

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.