Skip to content

Conversation

@zepatrik
Copy link
Member

@zepatrik zepatrik commented Aug 2, 2024

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 🤷

@zepatrik zepatrik requested a review from aeneasr August 2, 2024 12:22
@zepatrik zepatrik merged commit ee938b2 into master Aug 2, 2024
@zepatrik zepatrik deleted the fix/auth/increase-server-shutdown-timeout branch August 2, 2024 12:59
@alnr
Copy link
Collaborator

alnr commented Aug 6, 2024

IMO we should just shutdown the server without wating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants