mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4110] IPs doesn't shown in user editing/configuration menu #2790
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#2790
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @MEM-917 on GitHub (Apr 27, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4110
Describe the bug
After manually building the repo with the latest pulls related to fixing the IP limit, the IP window does not display anything.

The IP gets registered in both x-ui's access file and nginx's log file, but the window seems unresponsive in showing user login details.
How to repeat the problem?
Expected action
Showing detailed login information.
Received action
None.
3x-ui Version
2.9.2 with latest patches regarding IP limit
Xray-core Version
v26.4.25
Checklist
@MEM-917 commented on GitHub (Apr 27, 2026):
I just upgraded to the newest version, and the problem persists.
@ArminDeihim commented on GitHub (Apr 30, 2026):
Fail2ban fails to work as well. It doesn't ban users with multiple IP connections. I re-installed everything with the latest version, but still doesn't work.
@MEM-917 commented on GitHub (May 2, 2026):
I haven't tested the functionality because of the Islamic Republic's internet blackout, but in my tests, although the IP does register in log files, the panel doesn't show anything. Thanks for the reassurance that the problem isn't from my side.
@MEM-917 commented on GitHub (May 8, 2026):
I compiled with the latest pulls, and the problem hasn't been resolved yet.
Edit: I forgot to give my gratitude.
Thanks
@ArminDeihim commented on GitHub (May 10, 2026):
Still client's IP address is not shown in newly released version v3.0.0 panel.
I uninstalled and re-installed everything, but still it doesn't show the client's IP address.
I received following error message during installing Fail2ban on Ubuntu 24.04.4 LTS:
Setting up fail2ban (1.0.2-3ubuntu0.1) ...
/usr/lib/python3/dist-packages/fail2ban/tests/fail2banregextestcase.py:224: SyntaxWarning: invalid escape sequence '\s'
"1490349000 test failed.dns.ch", "^\stest \S+"
/usr/lib/python3/dist-packages/fail2ban/tests/fail2banregextestcase.py:435: SyntaxWarning: invalid escape sequence '\S'
'^'+prefix+'User \S+ not allowed\n'
/usr/lib/python3/dist-packages/fail2ban/tests/fail2banregextestcase.py:443: SyntaxWarning: invalid escape sequence '\S'
'^'+prefix+'User \S+ not allowed\n'
/usr/lib/python3/dist-packages/fail2ban/tests/fail2banregextestcase.py:444: SyntaxWarning: invalid escape sequence '\d'
'^'+prefix+'Received disconnect from port \d+'
/usr/lib/python3/dist-packages/fail2ban/tests/fail2banregextestcase.py:451: SyntaxWarning: invalid escape sequence '\s'
_test_variants('common', prefix="\s\S+ sshd[\d+]:\s+")
/usr/lib/python3/dist-packages/fail2ban/tests/fail2banregextestcase.py:537: SyntaxWarning: invalid escape sequence '['
'common[prefregex="^svc[\d+] connect .+$"'
/usr/lib/python3/dist-packages/fail2ban/tests/servertestcase.py:1375: SyntaxWarning: invalid escape sequence '\s'
"
{ nft -a list chain inet f2b-table f2b-chain | grep -oP '@addr-set-j-w-nft-mp\s+.*\s+\Khandle\s+(\d+)$'; } | while read -r hdl; do",/usr/lib/python3/dist-packages/fail2ban/tests/servertestcase.py:1378: SyntaxWarning: invalid escape sequence '\s'
"
{ nft -a list chain inet f2b-table f2b-chain | grep -oP '@addr6-set-j-w-nft-mp\s+.*\s+\Khandle\s+(\d+)$'; } | while read -r hdl; do",/usr/lib/python3/dist-packages/fail2ban/tests/servertestcase.py:1421: SyntaxWarning: invalid escape sequence '\s'
"
{ nft -a list chain inet f2b-table f2b-chain | grep -oP '@addr-set-j-w-nft-ap\s+.*\s+\Khandle\s+(\d+)$'; } | while read -r hdl; do",/usr/lib/python3/dist-packages/fail2ban/tests/servertestcase.py:1424: SyntaxWarning: invalid escape sequence '\s'
"
{ nft -a list chain inet f2b-table f2b-chain | grep -oP '@addr6-set-j-w-nft-ap\s+.*\s+\Khandle\s+(\d+)$'; } | while read -r hdl; do",@MEM-917 commented on GitHub (May 13, 2026):
@MHSanaei
After upgrading to the latest version(v3.0.1), the problem persists. In one of my panels, which runs on v2.8.9, this problem doesn't occur, but in all current builds, the IP gets registered in the "access.log" file but isn't shown on the panel itself.
If you want to reproduce the problem, just run it behind haproxy and nginx.
EDIT: I just tested this in another VPS and with the same configuration of nginx and haproxy, and the general configuration of x-ui panel, the IP shown in the panel. I even looked at both of the databases, and the only thing that gets registered in the malfunctioning server is an empty bracket.
@MEM-917 commented on GitHub (May 13, 2026):
Just edit the "datepattern" in the
/etc/fail2ban/filter.d/3x-ipl.confas shown below:^%%Y/%%m/%%d %%H:%%M:%%S
@ArminDeihim commented on GitHub (May 13, 2026):
Yes, I know that. I edited the "datepattern" like that (^%%Y/%%m/%%d %%H:%%M:%%S), but that only makes Fail2ban service running while still it doesn't work to ban IPs.
@MEM-917 commented on GitHub (May 14, 2026):
After compiling the latest version of fail2ban(main branch), the panel works as intended without any hiccups. I haven't tested the banning function, but that is for another time.