Context deadline exceeded/ DNS errors?

Yet another context deadline exceeded topic … :unamused:

My setup of application server/network server/gateway bridge was running fine until I rebooted my Raspberry this morning. The web interface gave timeouts and I was not able to click on my gateway… I read the other topics about this issue and resolved the timeouts in the web interface by setting the network server address from localhost to 127.0.0.1.

Now I can see packets coming in, but they never seem to reach the application server. The network server (debug level 5) spits out these messages:

Oct 08 12:24:17 pi chirpstack-network-server[2636]: time=“2020-10-08T12:24:17+02:00” level=debug msg=“dns: SRV record lookup error: lookup _grpclb._tcp.localhost on [2002:d97a:5fa2:0:12da:43ff:fec8:fe64]:53: dial udp [2002:d97a:5fa2:0:12da:43ff:fec8:fe64]:53: operation was canceled”
Oct 08 12:24:17 pi chirpstack-network-server[2636]: time=“2020-10-08T12:24:17+02:00” level=debug msg=“ccResolverWrapper: sending update to cc: {[{127.0.0.1:8001 0 } {[::1]:8001 0 }] }”
Oct 08 12:24:17 pi chirpstack-network-server[2636]: time=“2020-10-08T12:24:17+02:00” level=error msg=“uplink: processing uplink frame error” ctx_id=bfdb8f46-29b8-4f64-ab4b-9bfe07e25bff error=“get application-server client error: create application-server api client error: dial application-server api error: context deadline exceeded”
Oct 08 12:24:17 pi chirpstack-network-server[2636]: time=“2020-10-08T12:24:17+02:00” level=error msg=“uplink: processing uplink frame error” ctx_id=bfdb8f46-29b8-4f64-ab4b-9bfe07e25bff error=“get application-server client error: create application-server api client error: dial application-server api error: context deadline exceeded”

These messages seem to indicate some DNS error? I’ve edited my resolv.conf to comment out the ipv6 dns server, this results in the same errors, but the IPV6 address is replaced with my IPV4 address (google DNS, 8.8.4.4). nslookup of localhost works, and just returns 127.0.0.1
The messages seem also a bit odd, is this normal? Anyone any idea’s?

It seems my raspberry was indeed having DNS errors, when I removed google DNS and set my router as DNS server the problems are resolved.

Strange thing is the google DNS where working before my reboot… After the reboot I can still ping the server, but DNS does not seem to work.