What is the problem?
I use my printer once every few months.
For the last year and a half, every time I go to start a print job, I try to log into Octoprint, but for some reason, it refuses my login credentials. I have kept a list of every username and password combo I have used in a note so I'm certain the credentials are correct.
Each time, I have had to re-image the microSD card with OctoPi, and then I am able to log in, re-setup the printer, get all my plugins working right, ...and then I use the printer once, and then leave it for few months, rinse and repeat, can't log in.
It has happened too many times and today I am finally annoyed enough to post about it here.
What did you already try to solve it?
Reinstalling OctoPi. Repeatedly.
Have you tried running in safe mode?
Can't do that if I can't log in.
Systeminfo Bundle
You can download this in OctoPrint's System Information dialog... no bundle, no support, unless the reason you couldn't retrieve the bundle is your network issues
Can't retrieve that because I can't log in.
Additional information about your setup
Hardware you are trying to connect to, hardware you are trying to connect from, router, access point, used operating systems, ... as much data as possible
OctoPrint running on a Raspberry Pi 4, trying to log in from a Windows 10 laptop (Firefox and Chrome), an Apple iMac (Safari and Chrome), and even the Home Assistant add-on. The OctoPrint Raspberry Pi is connected to my network via Ethernet cable. I have a Ubiquiti UniFi router and that shows the Pi as being online.
Importantly, I am able to access the login screen just fine; it simply refuses my login credentials, which I know are correct.
A look at related topics
This post, unanswered.
This other post suggests disabled noscript if I have it installed. I don't. That seems to be a spam filtering service. So even if I did have that installed, it shouldn't prevent login, and even if it somehow did, then it wouldn't be effecting my Home Assistant add-on as well. This must be an issue with OctoPrint itself.
Thank you in advance for any suggestions that get me back into my OctoPrint instance, preferably without having to reinstall OctoPrint yet again...