Pihole web interface not loading -- connection refused

My Pihole web interface was working until today. I get a connection refused. I remember installing Citadel several days before, but it didn't seem to conflict with Pihole whatsoever.

I have since removed Citadel, but now I can't access my Pihole.

I don't think that has anything to do with it.

I ran a debug and found this particular message:

"X-Header does not match or could not be retrieved."

My debug token is: 0qnzt26l3s

I've ran pihole -r and that didn't work.

What should I do?

Have you looked at other recent posts about people with the same problem

If you are not sure what posts to read look for the ones labeled " Cone of Shame " and also I think one is labeled " Dunce "

Can you give a screenshot of going to http://pi.hole/admin?
What is the output of this command?

curl -I http://pi.hole/admin/index.php

Also, do you see a page at http://pi.hole/ ?

@sml156 Thanks for trying to reduce duplicate issues, but this one seems unique.

Oh my word it decided to work today.

I seriously have no idea what went on. It just would not load yesterday. I guess it fixed itself?

Yesterday, it said some X-Header was missing. I didn't really mess with anything after that. I guess it decided to just work again.

curl -I http://pi.hole/admin/index.php
HTTP/1.1 200 OK
X-Pi-hole: The Pi-hole Web interface is working!
X-Frame-Options: DENY
Set-Cookie: PHPSESSID=niuojbmtl8v2hp7nsqtoet06g3; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Content-type: text/html; charset=UTF-8
Date: Sun, 10 Dec 2017 05:01:33 GMT
Server: lighttpd/1.4.45

It just won't load by just typing in my IP address of my Pi anymore.

Typing in just the IP address, or also add on the /admin? You can easily get to the web interface using http://pi.hole

With /admin at the end. Just refuses to connect. And yeah, I tried that yesterday. It didn't work.

It worked today, which is odd.

Are you sure you went to it via HTTP and not HTTPS? Also, check to see if the IP is the same as in the settings page.

Well, crap. I feel dumb. I had my HTTPS everywhere extension set to force everything encrypted and I guess it automatically added an "https" to my IP address of my Pi.

It works now.

i have same problem, but when i test web page:

$ curl -I http://pi.hole/admin/index.php
curl: (7) Failed to connect to pi.hole port 80: Connessione rifiutata

A post was split to a new topic: Cannot curl -I http://pi.hole/admin/index.php