When I'm connected to my Paperless-NGX server via VPN, I'm accessing it via Token, which works well. But when I'm not connected to the VPN, the webserver will respond with 401 (as I'm using HTTP authentication to access it from outside networks). When PaperNext receives the 401 response, it will lose its (connection) settings, and I have to reenter everything again (server address, token, etc.).
Settings reset when after authentication failure
Feedback & Bug Reports / Feedback & Fehlerberichte
25.01.2026 13:06
#2
Hi Reiner,
There is no special clearing logic for 401 or 403. I think this bug is related to the one referenced here.
I am looking into it. The intended behavior is that, in 4xx cases, PaperNext should offer a retry or a "re" sign-in flow.
Thanks,
Björn
28.01.2026 06:32
#3
Good morning,
I changed the logic how expired sessions or error codes are handled. Should fixed by version 0.5.10.
Thanks
Björn