I'm seeing this error quite a bit lately: Connection error (127.0.0.1#5335): TCP connection failed while receiving payload length from upstream (Connection prematurely closed by remote server)
I don't know what the reason is or how to investigate this. Appreciate any help:
I have seen this occasionally since moving to v6 of Pi-hole (once a week or so). There are already forum threads about this issue. Try searching for ‘TCP connection’. There is potentially an unbound config option that might help, but otherwise…it’s more of a warning than anything as I never noticed DNS issues at my clients because of it.
Yes, I've seen some of the threads about it but I couldn't find a solution for it. I know this issue was also on v5, but it wasn't reported on that version.
I didn't see which unbound setting I need to modify to resolve this.
It’s where ever your unbound configs are. That is ‘a’ general location, but I self build it, so my config is /usr/local/etc/unbound/unbound.conf.d/pi-hole.conf. Did you not install and config it from the Pi-hole guide?