Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Authz - HTTP Timeout with context deadline exceeded (Client.Timeout exceeded while awaiting headers) #395

Open
julienstroheker opened this issue Oct 16, 2024 · 0 comments

Comments

@julienstroheker
Copy link
Contributor

At random time, we do see Guard with the following error in the logs : HTTP Timeout with context deadline exceeded (Client.Timeout exceeded while awaiting headers).

The pattern identified is that all connections are failing for a period of ~12 to 17 min and starting to work again after that period.

It looks very similar to the following error we identified in Azure Golang SDK : Azure/azure-sdk-for-go#21346

I would like to raise a PR to enable HTTP/2 ping transport in the http.Client used by Guard. This will enforce the golang transport to do a HTTP/2 Ping every X amount of time and decide to either close or keep alive the connections in the pool.

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

No branches or pull requests

1 participant