Please follow the below template, it will help us to help you!
PiHole works excellently
“Lost Connection to API”
“There was an error uploading your debug log.” [Looks like lots of errors shown in the output.]
This is a follow-up to my previous post of about October 19th which is now closed.
Noticing the network was running slow again I checked and found “Lost Connection to API” - same situation as last time.
Here’s the end of the file as previously requested by @DL6ER:
DNSSEC is on. I’m going to leave the PiHole as-is for the remainder of the day [holiday here today] if further diagnostics are needed while it is in this state but will need to restart it for work tomorrow.