FranzKafkaYu / x-ui

Lightweight Xray panel with multi-protocol and multi-user on the same port,supports English language and Telegram bot. Easy to use and easy to manage.
GNU General Public License v3.0
7.84k stars 1.57k forks source link

单端口多用户下,个别账户会失效,端口连接不上,修改端口后正常 #444

Closed zxy719 closed 1 year ago

zxy719 commented 1 year ago

Welcome

Description of the problem,screencshot would be good

不知道为什么,很奇怪

Version of x-ui

```console $ x-ui version # Paste output here ```

x-ui log or xray log

```console # paste log here ```
FranzKafkaYu commented 1 year ago

@907904228 请确认对应账户的流量、时间限制未生效;另无法连接时请提供相关报错日志进行排查

zxy719 commented 1 year ago

@907904228 请确认对应账户的流量、时间限制未生效;另无法连接时请提供相关报错日志进行排查

感谢大佬回复。没有流量、时间限制,重启x-ui后也无法恢复。以下是部分日志:

Jul 06 21:38:33 racknerd-e53e88 x-ui[4214]: 2023/07/06 21:38:33 x-ui 0.3.4.3:20230610 Jul 06 21:38:33 racknerd-e53e88 x-ui[4214]: 2023/07/06 21:38:33 INFO - web server run http on [::]:54321 Jul 06 21:38:33 racknerd-e53e88 x-ui[4214]: 2023/07/06 21:38:33 INFO - We got 1 members in client Jul 06 21:38:33 racknerd-e53e88 x-ui[4214]: 2023/07/06 21:38:33 INFO - We got 1 members in client Jul 06 21:38:33 racknerd-e53e88 x-ui[4214]: 2023/07/06 21:38:33 INFO - We got 3 members in client Jul 06 21:38:33 racknerd-e53e88 x-ui[4214]: 2023/07/06 21:38:33 INFO - We got 10 members in client Jul 06 21:38:33 racknerd-e53e88 x-ui[4214]: 2023/07/06 21:38:33 INFO - We got 3 members in client Jul 06 21:38:33 racknerd-e53e88 x-ui[4214]: 2023/07/06 21:38:33 INFO - We got 10 members in client Jul 06 21:38:33 racknerd-e53e88 x-ui[4214]: 2023/07/06 21:38:33 INFO - We got 6 members in client Jul 06 21:38:33 racknerd-e53e88 x-ui[4214]: 2023/07/06 21:38:33 INFO - delete disabled client,index: 3 Jul 06 21:38:33 racknerd-e53e88 x-ui[4214]: 2023/07/06 21:38:33 INFO - Wait 2 seconds for telegram bot ready

FranzKafkaYu commented 1 year ago

@907904228 从x-ui日志来看,存在用户限制生效的情况,另外无法连接时需要的是客户端日志。

zxy719 commented 1 year ago

@FranzKafkaYu 我不会看客户端的日志,sorry,只能找到这个记录。用户限制生效是因为我刚才添加了时间限制,但对最终结果没有影响,不论有没有时间限制,都是更改端口后就可以正常访问了

image image
FranzKafkaYu commented 1 year ago

@907904228 确认是该端口下部分用户无法连接而其他用户则可以么,如果是简单的更换端口即恢复更怀疑是端口被Q,更换客户端使用也有类似情况么

zxy719 commented 1 year ago

@FranzKafkaYu 你好,确认这个端口下的所有用户都无法连接,其他端口可以,跟换其他客户端也是一样的。可能是因为流量太大了导致端口被墙?但总共也才两个G的流量消耗。很奇怪,我还是单人单端口试试。

FranzKafkaYu commented 1 year ago

很大可能是端口被墙,请通过ping.pe进行测试,尽可能使用安全的协议组合;vless+xtls-rprx-vision+reality