There are a few problems shown in your debug log, including an empty gravity list. Do the following to allow the Pi to temporarily bypass Pi-Hole, and repair your installation.
sudo nano /etc/resolv.conf
edit nameserver 127.0.0.1 to nameserver 9.9.9.9 or your preferred third party DNS service, save and exit
The first command (sudo nano /etc/resolv.conf) invokes a text editor that opens up the file. From there, you edit it to put in the new nameserver, then save and exit from the editor.
This is done from the Pi terminal. The editor window will look like this (nothing has been edited at this point):
Thanks for the quyick reply, I am not sure of what is name server ,. is it the IP adress of the PI-hole ?
Sorry for my poor knowledge on thois topic...
The nameserver (listed in the file /etc/resolv.conf) is the DNS server that the Pi device is using. By default, it is 127.0.0.1 (which is the loopback address of the Pi). This tells the Pi to use Pi-Hole for DNS resolution.
When Pi-Hole is misbehaving (as may be your case), when we temporarily change the 127.0.0.1 to another DNS (typically a commercial one like Quad 9 - 9.9.9.9), then the Pi can get to the internet by bypassing Pi-Hole.
After you edit the file, it should read as follows:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 9.9.9.9
Hi I did the change in name server with 9.9.9.9, and did again the pihole -r, then i retried to connect to WebInterface with my IP adress and get the same b browser error:
Hi,
Unfortunately ' it does not seem to work, I did and redo a debug, then tried to get to the Web Interface by typping the IP adress of the PIHole, I also tried by typing : http://pi.hole/admin
There is still the same error from the Web browser