mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-05 00:39:38 +03:00
🐛 Bug Report: Cannot login when using Unix Socket (Cannot get client ip) #354
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 @Moraxyc on GitHub (Jun 27, 2025).
Originally assigned to: @ItalyPaleAle on GitHub.
Reproduction steps
I’m trying to use
pocket-idbehind nginx with a UNIX socket.NGINX config:
And then, try to login with a client
Additional context:
https://github.com/gin-gonic/gin/issues/2718
Expected behavior
Login correctly
Actual Behavior
Version and Environment
v1.4.1
Log Output
@ItalyPaleAle commented on GitHub (Jun 28, 2025):
Thanks for the report, fix should be possible.
@Guanran928 commented on GitHub (Jul 9, 2025):
I'm on pocket-id v1.6.1, the issue seems to be not fixed.
@ItalyPaleAle commented on GitHub (Jul 9, 2025):
My bad, the fix was not complete. https://github.com/pocket-id/pocket-id/pull/737 should actually fix this entirely. Sorry about it!