mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5389] [Bug]: xui stops working 3.3.1 #3773
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#3773
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 @RayanErfan on GitHub (Jun 16, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5389
Describe the bug
xui stops working and only fixes by restarting the panel ( it takes 10 minutes to restart ) or reboot
and i use multiple nodes if that helps to find the problem
How to reproduce the problem
i create a inbound of nodes and try to edit it sometimes hit the crash
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.3.1
Xray-core version
26.1
How did you install 3x-ui?
install.sh script
Operating system
Ubunto 22
Which parts of the panel are affected?
Backend (API endpoints, login, settings)
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
No — direct access
Before submitting
@mitrios-hub commented on GitHub (Jun 16, 2026):
x-ui 3.3.1 + 26.6.1 works fine. see logs and configs, try to clear install using another vds and try to use debian 13. ubuntu isnt a good choice but if not for grandma desktop home use
@RayanErfan commented on GitHub (Jun 16, 2026):
Jun 16 18:10:15 /usr/local/x-ui/x-ui[15813]: WARNING - add inbound traffic failed: traffic writer queue full
@mitrios-hub commented on GitHub (Jun 16, 2026):
What is the configuration of your node? RAM, number of CPU cores, storage type. Seriously, try installing a different operating system. I wasn't joking.
@RayanErfan commented on GitHub (Jun 16, 2026):
``
my nodes are cpu 4, ram 2
i dont have a problem with older versions of xui idk
@mitrios-hub commented on GitHub (Jun 16, 2026):
As far as I understand, no one else has this problem, otherwise they would have already created a ticket. There is very little data to understand what is happening, but you provided part of the log above and it is becoming clearer. The service can stop for various reasons, and your error most likely means that the queue for writing traffic statistics to the database in x-ui has overflowed. Usually this is not the cause of the crash itself, but a symptom that the process is not keeping up with processing the accumulated data. If the server load is adequate, then I think we need to study the logs even more and perhaps the developer can help.
@RayanErfan commented on GitHub (Jun 16, 2026):
so based on what i have checked, the error happens after connection of someone to configs, now i restarted it and its ok but when i connect to config the whole panel doesnt come up, maybe the problem with db? postgare sql currently
@mitrios-hub commented on GitHub (Jun 16, 2026):
By the way, I wanted to ask about the database, but for some reason I kept quiet. Once , in my case, the service on PostgreSQL didn't start, and I had to reinstall it.
@RayanErfan commented on GitHub (Jun 16, 2026):
let me migrate to sqlite and ill report back
@RayanErfan commented on GitHub (Jun 16, 2026):
2026-06-16 19:52:26.329 UTC [24183] MxDdJiob@xui LOG: unexpected EOF on client connection with an open transaction
2026-06-16 19:52:26.332 UTC [24207] MxDdJiob@xui LOG: unexpected EOF on client connection with an open transaction
2026-06-16 19:52:26.334 UTC [24194] MxDdJiob@xui LOG: unexpected EOF on client connection with an open transaction
2026-06-16 19:52:26.336 UTC [24179] MxDdJiob@xui LOG: unexpected EOF on client connection with an open transaction
2026-06-16 19:52:26.341 UTC [24217] MxDdJiob@xui LOG: unexpected EOF on client connection with an open transaction
2026-06-16 19:52:26.346 UTC [24355] MxDdJiob@xui LOG: could not send data to client: Broken pipe
2026-06-16 19:52:26.346 UTC [24355] MxDdJiob@xui FATAL: connection to client lost
2026-06-16 19:52:26.788 UTC [25100] MxDdJiob@xui ERROR: column "id" does not exist at character 70
2026-06-16 19:52:26.788 UTC [25100] MxDdJiob@xui STATEMENT: SELECT setval(pg_get_serial_sequence($1, 'id'), COALESCE((SELECT MAX(id) FROM "client_inbounds"), 1), true)
WHERE pg_get_serial_sequence($2, 'id') IS NOT NULL
@mitrios-hub commented on GitHub (Jun 16, 2026):
ERROR: column "id" does not exist
SELECT setval(
pg_get_serial_sequence($1, 'id'),
COALESCE((SELECT MAX(id) FROM "client_inbounds"), 1),
true
)
SELECT MAX(id) FROM client_inbounds
But there is no id column in table client_inbounds?
Try sql lite
@RayanErfan commented on GitHub (Jun 16, 2026):
yeah the problem was totally from POSTGARESQL, after using sqlite it fixed