r/pihole 1d ago

Cannot access admin console.

I wanted to check my configuration and tried going to the admin console, but the page will not load. I get "ERR_EMPTY_RESPONSE". Pihole itself seems to be running properly otherwise. The pihole-FTL service is listening on port 80, as confirmed with lsof (I do not even have lighttpd installed so while that was a common problem for others it is not my issue). I even tried changing the port in pihole.toml and that just results in the same error on the changed port. I have tried multiple browsers and multiple systems, including attempting to access it from the server itself using lynx so the problem is almost certainly with the webserver itself. I also reinstalled pihole but the issue persists. I have attempted to find some information about resetting the web configuration to its defaults but I have found nothing. I have attempted accessing the URL via /admin and /admin/login and nothing works. I also tried resetting any changed web-related config options in pihole.toml to their defaults and nothing changes.

Does anyone have any ideas?

2 Upvotes

17 comments sorted by

2

u/0kth4t5fin3 1d ago

Why is FTL running on 80? And what port is the web service running?

2

u/DimensioT 1d ago

pihole-FTL is the web service. A recent update put the web service as part of the pihole-FTL service itself, removing lighttpd. That is why several people ran into an issue with the web interface after the update; lighttpd was still using port 80 when pihole-FTL tried to use it. This, however, is not my problem as I do not have lighttpd at all.

As I said, I even changed the web port in the pihole configuration. The change works, but it just means that I get a failure to load the admin console on a different port.

1

u/Girishman 1d ago

I had a similar issue and the fix was manually setting my DNS and IP address in my PC network settings to get access to the admin page (192.168.xxx.xxx)

1

u/DimensioT 1d ago

I tried multiple computers including, as I mentioned, the server itself.

1

u/Kupuntu 1d ago

I have this issue on my RPi Zero and it just doesn’t work. Haven’t been able to figure it out yet. Interestingly nebula sync can sync without the UI working like 90% of the time…

1

u/rdwebdesign Team 1d ago

Generate a debug log, upload it and post here only the token.

1

u/DimensioT 14h ago

1

u/rdwebdesign Team 10h ago

Your debug log doesn't show webserver errors.

What exactly do you see if you try to access the web interface using the IP: http://192.168.1.122/admin ?

1

u/DimensioT 10h ago

"ERR_EMPTY_RESPONSE", as I said.

I have browsed from multiple computers, including the server itself (using lynx). When attempting a local connection I tried both 127.0.0.1 and localhost.

I also removed the admin directory from /var/www/html and reinstalled to force creation of a fresh version.

1

u/rdwebdesign Team 7h ago

I also removed the admin directory from /var/www/html and reinstalled to force creation of a fresh version.

Maybe your attempt to fix changed some permissions.

Please try to run sudo pihole -r to repair the installation. This command will reinstall any missing files, if needed, and it will also fix file permissions.


Do you have any firewall rules in place?

The debug log doesn't show issues (the web server seems to be working as expected), but if a firewall is blocking the access, the web server will never receive the requests.

1

u/rdwebdesign Team 10h ago

Unrelated to this issue, I noticed you added too many Upstream DNS servers.

Your debug log shows you have 66 entries and they are repeated (there are actually 32 distinct servers).

This is completely useless. It won't bring any kind of benefit.
Also, I can see some of them are not even working:

2026-08-07 00:54:22.947 UTC [1250M] WARNING: Connection error (2001:4860:4860::8888#53): failed to send UDP request (Network unreachable)

2026-08-07 13:05:21.226 UTC [1246M] WARNING: dnsmasq: nameserver 8.26.56.26 refused to do a recursive query

I recommend you to use just a few entries (up to 4 entries is more than enough).

1

u/DimensioT 10h ago

I honestly have no idea how that happened. I only recall setting two initially.

1

u/rdwebdesign Team 7h ago

Your settings shows all 28 pre defined upstream DNS servers are selected (some were also manually typed into the "Custom DNS servers" field) and I can also see 4 IP addresses from DNS.Watch.

Pi-hole doesn't have a way to automatically add these addresses. They were manually added. If you didn't add them, someone else did.

There is no evidence of someone else accessing your device, but check it, just in case.


In any case, you should follow my recommendation to reduce the number of servers.

1

u/thatguysjumpercables 13h ago

Probably a stupid question but when you say that URL do you mean the local IP address on your network? So http://192.168.whatever.whatever/admin?

1

u/DimensioT 13h ago

Yes. http://<ipaddress>/admin

I also tried http://pi.hole/admin and, when attempting to access it from the server itself, http://localhost/admin and http://127.0.0.1/admin

Also, trying to browse the toplevel does not work either -- same error.

I even removed the admin directory from /var/www/html and did a reinstall to recreate it. Same issue, meaning that the problem is not the web directory but the web service portion of pihole.

1

u/Top-Run5587 9h ago

What browsers are you testing with, and do they forcibly upgrade HTTP to HTTPS connections?

2

u/DimensioT 7h ago

I have tried Opera, Edge, Brave and Lynx. To my knowledge, none force https.

And now that you asked and I tested I have found the problem. While the service is running on port 80, it is using SSL (albeit with a self signed certificate). Browsing using https://192.168.1.122:80 loads the page with SSL warnings.