[GH-ISSUE #2398] http log not providing remote_ip for Fail2Ban configuration #6664

Closed
opened 2026-04-20 17:15:15 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @pquantin on GitHub (Mar 15, 2026).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2398

Pre-submission checklist

  • I have searched for existing open or closed issue reports with the same problem.

Description

Hi,

I'm discovering Vikunja since a few days and I'm trying to integrate the Fail2Ban configuration as described in https://vikunja.io/docs/fail2ban/ using the official docker image.
But when filling a wrong username/password I get the following HTTP log:

time=2026-03-15T14:32:15.282Z level=ERROR component=http method=POST uri=/api/v1/login status=403 latency=1.377566707s err="Wrong username or password"

It lacks the remote_ip field compared to the documentation. I have configured my reverse proxy with the X-Real-IP, X-Forwarded-For, X-Forwarded-Proto and Host headers and I cannot figure out if I did something wrong of if there is an issue with the current log.
I cannot verify if this happens with the Vikunja demo website as I do not have access to its logs.

Thanks for this great piece of software and best regards.

Vikunja Version

2.1.0

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @pquantin on GitHub (Mar 15, 2026). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2398 ### Pre-submission checklist - [x] I have searched for existing open or closed issue reports with the same problem. ### Description Hi, I'm discovering Vikunja since a few days and I'm trying to integrate the Fail2Ban configuration as described in https://vikunja.io/docs/fail2ban/ using the official docker image. But when filling a wrong username/password I get the following HTTP log: ``` time=2026-03-15T14:32:15.282Z level=ERROR component=http method=POST uri=/api/v1/login status=403 latency=1.377566707s err="Wrong username or password" ``` It lacks the remote_ip field compared to the documentation. I have configured my reverse proxy with the X-Real-IP, X-Forwarded-For, X-Forwarded-Proto and Host headers and I cannot figure out if I did something wrong of if there is an issue with the current log. I cannot verify if this happens with the Vikunja demo website as I do not have access to its logs. Thanks for this great piece of software and best regards. ### Vikunja Version 2.1.0 ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
Author
Owner

@pquantin commented on GitHub (Mar 15, 2026):

Just found https://github.com/go-vikunja/vikunja/issues/2177, sorry for the noise.

<!-- gh-comment-id:4063630601 --> @pquantin commented on GitHub (Mar 15, 2026): Just found https://github.com/go-vikunja/vikunja/issues/2177, sorry for the noise.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6664