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

The 'obj' field in response is null #442

Closed ADLVI closed 1 year ago

ADLVI commented 1 year ago

Welcome

Description of the problem,screencshot would be good

Im trying to add inboubd uaing the backend api, sending the request with right payload and its fine o add, but in response , instead of showing new inboubd details it gives Null, i in other forks its give the details This is your forks: IMG_20230706_024316_432

This is other one: IMG_20230706_024441_089

Version of x-ui

x-ui v0.3.4.3

x-ui log or xray log

```console Jul 05 21:41:58 ubuntu22 x-ui[2512]: 2023/07/05 21:41:58 WARNING - get udp connections failed: open /proc/net/udp6: no such file or directory Jul 05 21:42:00 ubuntu22 x-ui[2512]: 2023/07/05 21:42:00 WARNING - get tcp connections failed: open /proc/net/tcp6: no such file or directory Jul 05 21:42:00 ubuntu22 x-ui[2512]: 2023/07/05 21:42:00 WARNING - get udp connections failed: open /proc/net/udp6: no such file or directory Jul 05 21:42:02 ubuntu22 x-ui[2512]: 2023/07/05 21:42:02 WARNING - get tcp connections failed: open /proc/net/tcp6: no such file or directory Jul 05 21:42:02 ubuntu22 x-ui[2512]: 2023/07/05 21:42:02 WARNING - get udp connections failed: open /proc/net/udp6: no such file or directory Jul 05 21:42:04 ubuntu22 x-ui[2512]: 2023/07/05 21:42:04 WARNING - get tcp connections failed: open /proc/net/tcp6: no such file or directory Jul 05 21:42:04 ubuntu22 x-ui[2512]: 2023/07/05 21:42:04 WARNING - get udp connections failed: open /proc/net/udp6: no such file or directory Jul 05 21:44:44 ubuntu22 systemd[1]: Stopping x-ui Service... Jul 05 21:44:44 ubuntu22 systemd[1]: x-ui.service: Deactivated successfully. Jul 05 21:44:44 ubuntu22 systemd[1]: Stopped x-ui Service. Jul 05 21:44:44 ubuntu22 systemd[1]: x-ui.service: Consumed 2.217s CPU time. Jul 05 21:44:50 ubuntu22 systemd[1]: Started x-ui Service. Jul 05 21:44:50 ubuntu22 x-ui[4619]: 2023/07/05 21:44:50 x-ui 0.3.4.3:20230610 Jul 05 21:44:50 ubuntu22 x-ui[4619]: 2023/07/05 21:44:50 INFO - web server run http on 0.0.0.0:21560 Jul 05 21:44:50 ubuntu22 x-ui[4619]: 2023/07/05 21:44:50 INFO - We got 1 members in client Jul 05 21:44:50 ubuntu22 x-ui[4619]: 2023/07/05 21:44:50 INFO - We got 1 members in client Jul 05 21:44:50 ubuntu22 x-ui[4619]: 2023/07/05 21:44:50 INFO - Wait 2 seconds for telegram bot ready Jul 05 21:44:52 ubuntu22 x-ui[4619]: SSHLogin[2023-07-05 21:44:00] early than XUI start[2023-07-05 21:44:50],don't notify Jul 05 21:45:43 ubuntu22 x-ui[4619]: 2023/07/05 21:45:43 WARNING - stop server err: multierr: close tcp 0.0.0.0:21560: use of closed network connection | Jul 05 21:45:43 ubuntu22 x-ui[4619]: 2023/07/05 21:45:43 INFO - web server run http on 0.0.0.0:21560 Jul 05 21:45:43 ubuntu22 x-ui[4619]: 2023/07/05 21:45:43 INFO - We got 1 members in client Jul 05 21:45:43 ubuntu22 x-ui[4619]: 2023/07/05 21:45:43 INFO - We got 1 members in client Jul 05 21:45:43 ubuntu22 x-ui[4619]: 2023/07/05 21:45:43 INFO - Wait 2 seconds for telegram bot ready Jul 05 21:46:05 ubuntu22 x-ui[4619]: 2023/07/05 21:46:05 INFO - RecordXrayVersion: v1.8.3 Jul 05 21:46:05 ubuntu22 x-ui[4619]: 2023/07/05 21:46:05 INFO - We got 1 members in client Jul 05 21:46:05 ubuntu22 x-ui[4619]: 2023/07/05 21:46:05 INFO - We got 1 members in client Jul 05 21:46:33 ubuntu22 x-ui[4619]: 2023/07/05 21:46:33 INFO - We got 1 members in client Jul 05 21:46:33 ubuntu22 x-ui[4619]: 2023/07/05 21:46:33 INFO - We got 1 members in client Jul 05 21:46:33 ubuntu22 x-ui[4619]: 2023/07/05 21:46:33 INFO - We got 1 members in client Jul 05 22:27:13 ubuntu22 x-ui[4619]: 2023/07/05 22:27:13 INFO - We got 1 members in client Jul 05 22:27:13 ubuntu22 x-ui[4619]: 2023/07/05 22:27:13 INFO - We got 1 members in client Jul 05 22:27:13 ubuntu22 x-ui[4619]: 2023/07/05 22:27:13 INFO - We got 1 members in client Jul 05 22:27:13 ubuntu22 x-ui[4619]: 2023/07/05 22:27:13 INFO - We got 1 members in client ```