mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-06 00:22:42 -05:00
[GH-ISSUE #1303] [BUG] Rules not stateless between requests? #8609
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tiuck on GitHub (Aug 18, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1303
Hi,
I'm using Pangolin to secure my Immich installation but I'm having trouble with the rules that appear not to match as they should.
Setup information
https://mydomain/share/L66jTe8ejIrl9XFcPHo0EzccmLh4H8Lggng477usD0Uie-r2g7_Wq8S8xTwD4zuBNK4adminandauthdirectories (see below)Problem description
(all attempts made using chrome incognito sessions)
Unauthorizedin the body.Always deny *rule refreshing the page does not result in a 401 unauthorized!Any ideas what this could be and how to prevent it? I'd be happy to share pangolin logs but don't know which logs would be relevant and how I would access them.
Many thanks in advance!
@oschwartz10612 commented on GitHub (Aug 31, 2025):
Hi! Sorry for the long delay in my reply!
This is strange. While something could be going on with state issues in
the rules processing my hypothesis is this could be related to Immich
and caching or something. When you load the resource for a 2nd time, if
you open the network tab in the browser tools could you post that? A
before and after? I am curious to see more about the request that is
getting blocked. Mainly: is it the same as the first request in path?
@tiuck commented on GitHub (Aug 31, 2025):
Hi @oschwartz10612,
I just updated immich to v.140.1.1 and Pangolin to v.1.9.2 and I now cannot replicate the behavior anymore. I'll keep an eye on it and will report if it does happen again.
In any case, where and how would I be able to see the respective logs that show the rules processing decisions if it does happen again?
Many thanks!
@oschwartz10612 commented on GitHub (Sep 1, 2025):
Sounds good!
You can turn on debug logs by setting the log level to debug and
restarting then looking at the logs:
https://docs.digpangolin.com/self-host/advanced/config-file#param-log-level
You can also open dev tools in chrome to see the client side requests in
the network tab!
:}
Let us know if it happens again!