Pi-hole Password First Time Login Cookie "Issue"
Posted by GamerX06
I don't believe this is a SparkBox issue, but I wanted to share my little issue in case anyone else is stuck on it. In SparkBox, I went to apps and installed Pi-hole. I then went to the Home Dashboard after it was done installing to open the Webpage and get the Password. This worked as expected, but when pasting the password in and trying to log into Pi-hole, it would just reload the page. The Chrome console would show a 401 auth error. Even though this was my first time on the webpage, this was all due to something stale in the Cookies/Site Data and after deleting them for my Pi-hole URL I was able to refresh the page and log in to the Pi-hole dashboard with the SparkBox provided password. Hope this helps!
1 replies
tomspark wrote:
Appreciate you writing this up — and you've got it right, that's a browser thing rather than SparkBox. A leftover cookie for that same address (often from a different app or an earlier container that used it) makes Pi-hole bounce you with a 401 on the very first login. Clearing the site data for that URL like you did fixes it, and opening it in a private/incognito window does the same in one step. Posting it here means the next person who hits it can find the fix fast. Glad you're in!