[GH-ISSUE #5389] [Bug]: xui stops working 3.3.1 #3773

Closed
opened 2026-10-31 20:34:51 +07:00 by bsakaguchi · 11 comments
Owner

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

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
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 ```shell ``` ### 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 - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:34:51 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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

<!-- gh-comment-id:4721658683 --> @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
Author
Owner

@RayanErfan 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

Jun 16 18:10:15 /usr/local/x-ui/x-ui[15813]: WARNING - add inbound traffic failed: traffic writer queue full

<!-- gh-comment-id:4721876438 --> @RayanErfan 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 Jun 16 18:10:15 /usr/local/x-ui/x-ui[15813]: WARNING - add inbound traffic failed: traffic writer queue full
Author
Owner

@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

Jun 16 18:10:15 /usr/local/x-ui/x-ui[15813]: WARNING - add inbound traffic failed: traffic writer queue full

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.

<!-- gh-comment-id:4722029995 --> @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 > > Jun 16 18:10:15 /usr/local/x-ui/x-ui[15813]: WARNING - add inbound traffic failed: traffic writer queue full 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.
Author
Owner

@RayanErfan 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

Jun 16 18:10:15 /usr/local/x-ui/x-ui[15813]: WARNING - add inbound traffic failed: traffic writer queue full

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.

my nodes are cpu 4, ram 2
i dont have a problem with older versions of xui idk

<!-- gh-comment-id:4722063904 --> @RayanErfan 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 > > > > > > Jun 16 18:10:15 /usr/local/x-ui/x-ui[15813]: WARNING - add inbound traffic failed: traffic writer queue full > > 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. my nodes are cpu 4, ram 2 i dont have a problem with older versions of xui idk
Author
Owner

@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.

<!-- gh-comment-id:4722119461 --> @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.
Author
Owner

@RayanErfan 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.

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

<!-- gh-comment-id:4722558990 --> @RayanErfan 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. 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
Author
Owner

@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.

<!-- gh-comment-id:4722582983 --> @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.
Author
Owner

@RayanErfan 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.

let me migrate to sqlite and ill report back

<!-- gh-comment-id:4722841998 --> @RayanErfan 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. let me migrate to sqlite and ill report back
Author
Owner

@RayanErfan 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.

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

<!-- gh-comment-id:4722881715 --> @RayanErfan 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. 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
Author
Owner

@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

<!-- gh-comment-id:4722964315 --> @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
Author
Owner

@RayanErfan 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

yeah the problem was totally from POSTGARESQL, after using sqlite it fixed

<!-- gh-comment-id:4724025608 --> @RayanErfan 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 yeah the problem was totally from POSTGARESQL, after using sqlite it fixed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#3773
No description provided.