Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Connection timeout at startup #801
I am running dnscrypt-proxy in version 2.0.19 installed from the Debian sid repository on an minimal raspbian installation. I want to use it to encrypt dns queries through DNS over HTTPS but it does not matter what server I want it to use (Quad9, Cloudflare), every time after a system startup/restart the following is showing up in the system log:
Apr 25 04:51:50 raspi dnscrypt-proxy: [2019-04-25 04:51:50] [ERROR] Get https://dns.quad9.net/dns-query?ct=&dns=yv4BAAABAAAAAAABAAACAAEAACkQAAAAgAAAAA: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
At startup dnscrypt-proxy can't reach the server and resolving is impossible and exact 1 min and 55 sec later it is no problem.
That would be a good catch but unfortunately that is not the case. To make it perfectly sure, I disabled the the systemd unit and waited for systemd-timesyncd to synchronize the time. After this I started it manually over the command line but the problem still remains.
When I (re)boot the system, wait for 2 minutes and start it manually, erverthing is fine. So there is something in the background that keeps dnscrypt-proxy away from working correctly but I don't know what it could be.