ory / cli

Create bulk action scripts, automate your tasks, manage your projects, and seamlessly interact with the Ory Network using the Ory command line interface (CLI).
https://www.ory.sh/cli?utm_source=github&utm_medium=banner&utm_campaign=cli
Apache License 2.0
43 stars 22 forks source link

fix: increase server shutdown timeout #370

Closed zepatrik closed 1 month ago

zepatrik commented 1 month ago

Some users reported Error: failed to authenticate, please try again: context deadline exceeded. Starring at the code, this is the likely cause for this error. I am just wondering why 2 seconds would not be enough. At the point when the shutdown is triggered, all we do in the handler is http.Redirect 🤷

alnr commented 1 month ago

IMO we should just shutdown the server without wating.