-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
Error in log: can't resolve request via upstream server; context deadline exceeded #1430
Comments
Two of my docker containers stopped to respond to DNS queries, when I checked console - both of them were reporting same problem. They were unable to reach any upstream, including local BIND that I use to manage internal DNS. Both worked find after simply restarting containers |
Yes, a restart usually does fix the issue.... but I would like to understand what is causing the |
Some questions about this behavior:
|
For the first config in the first post it is advised to configure a bootstrap resolver. |
|
After reading some about the cause it seems most likely that some resources aren't correctly freed in a previous request. Could you set the log level to debug and provide the entries of the 2-3 queries before it fails again? |
My current guess: TCP pool exhaustion in the HTTP client since the defer body closure is missing a drain method
If my guess is correct you should have log entries starting with |
Blocky log is reporting errors related to context deadline exceeded
Here is brief blocky.log
The main error is
context deadline exceeded
My blocky configuration
Any idea why this happens? Or how to resolve?
As an additional note: I do not get these errors when I use my local Unbound instead of upstream Google/Cloudflare.
Blocky configuration
The text was updated successfully, but these errors were encountered: