[GH-ISSUE #4954] [Bug]: Removing one inbound from a client deletes all inbounds of that node #3473

Closed
opened 2026-10-31 20:32:41 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @mo3g666 on GitHub (Jun 5, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4954

Describe the bug

Setup: central panel (subscription mode), 2 nodes, multiple inbounds per node

When editing a client in the central panel (multi-node / subscription setup), removing a single inbound from one node causes all inbounds of that node to be deleted from the client. Inbounds belonging to other nodes are not affected.

How to reproduce the problem

  1. Open the central panel → Clients
  2. Select a client assigned to inbounds on both nodes (e.g. Node A: inbound-1, inbound-2 / Node B: inbound-3)
  3. Click Edit
  4. Uncheck (remove) only inbound-1 from Node A
  5. Save

Expected behavior

Client retains inbound-2 (Node A) and inbound-3 (Node B). Only inbound-1 is removed.

Actual behavior

All inbounds of Node A are removed (inbound-1 and inbound-2). Node B inbounds remain intact.

Relevant logs

**Central Panel**
Jun 04 09:42:28 spb-3-vm-7t0p systemd[1]: Started x-ui.service - x-ui Service.
Jun 04 09:42:28 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 09:42:28 Starting x-ui 3.2.7
Jun 04 09:42:28 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Web server running HTTPS on [::]:25017
Jun 04 09:42:28 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - custom geo startup: no custom geofiles configured
Jun 04 09:42:28 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Sub server running HTTPS on [::]:2096
Jun 04 09:42:28 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Jun 04 09:42:28 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - XRAY: core: Xray 26.6.1 started
Jun 04 09:42:45 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully, Ip Address: [REDACTED_IP]
Jun 04 09:42:45 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully
Jun 04 09:44:49 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Received SIGHUP signal. Restarting servers...
Jun 04 09:44:49 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - WebSocket hub stopped
Jun 04 09:44:49 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Web server running HTTPS on [::]:25017
Jun 04 09:44:49 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - custom geo startup: no custom geofiles configured
Jun 04 09:44:49 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 09:44:49 Web server restarted successfully.
Jun 04 09:44:49 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Sub server running HTTPS on [::]:8469
Jun 04 09:44:49 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 09:44:49 Sub server restarted successfully.
Jun 04 10:02:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Received SIGHUP signal. Restarting servers...
Jun 04 10:02:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - WebSocket hub stopped
Jun 04 10:02:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Web server running HTTPS on [::]:25017
Jun 04 10:02:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - custom geo startup: no custom geofiles configured
Jun 04 10:02:53 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:02:53 Web server restarted successfully.
Jun 04 10:02:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Sub server running HTTPS on [::]:8469
Jun 04 10:02:53 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:02:53 Sub server restarted successfully.
Jun 04 10:07:56 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT]
                                                          )
Jun 04 10:08:56 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT]
                                                          )
Jun 04 10:09:04 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Jun 04 10:09:04 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - XRAY: core: Xray 26.6.1 started
Jun 04 10:09:12 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Received SIGHUP signal. Restarting servers...
Jun 04 10:09:12 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - WebSocket hub stopped
Jun 04 10:09:12 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Web server running HTTPS on [::]:25017
Jun 04 10:09:12 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - custom geo startup: no custom geofiles configured
Jun 04 10:09:12 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:09:12 Web server restarted successfully.
Jun 04 10:09:12 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Sub server running HTTPS on [::]:8469
Jun 04 10:09:12 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:09:12 Sub server restarted successfully.
Jun 04 10:11:27 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT]
                                                          )
Jun 04 10:13:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Received SIGHUP signal. Restarting servers...
Jun 04 10:13:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - WebSocket hub stopped
Jun 04 10:13:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Web server running HTTPS on [::]:25017
Jun 04 10:13:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - custom geo startup: no custom geofiles configured
Jun 04 10:13:29 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:13:29 Web server restarted successfully.
Jun 04 10:13:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Sub server running HTTPS on [::]:8469
Jun 04 10:13:29 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:13:29 Sub server restarted successfully.
Jun 04 10:15:37 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:15:37.815239 [Warning] infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW
Jun 04 10:15:59 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Jun 04 10:15:59 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW
Jun 04 10:15:59 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - XRAY: core: Xray 26.6.1 started
Jun 04 10:17:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Jun 04 10:17:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - XRAY: core: Xray 26.6.1 started
Jun 04 10:19:32 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT]
                                                          )
Jun 04 10:19:41 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: subId already in use: [REDACTED_SUBID]
Jun 04 10:20:05 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/[REDACTED_CLIENT]/attach handler=controller.(*ClientController).attach client.go:172] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT]
                                                          )
Jun 04 10:21:20 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: ERROR - Failed to localize message: message "get" not found in language "ru-RU"
Jun 04 10:21:20 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [GET /[REDACTED_PATH]/panel/api/clients/get/[REDACTED_CLIENT] handler=controller.(*ClientController).get client.go:90]  Сбой: record not found
Jun 04 10:23:23 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - node traffic sync: fetch from RU-1 failed: GET panel/api/inbounds/list: Get "https://[REDACTED_IP]:[REDACTED_PORT]/[REDACTED_PATH]/panel/api/inbounds/list": context deadline exceeded
Jun 04 10:32:32 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/[REDACTED_CLIENT]/attach handler=controller.(*ClientController).attach client.go:172] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT]
                                                          )
Jun 04 10:33:11 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT]
                                                          )
Jun 04 10:33:35 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: Duplicate email: [REDACTED_CLIENT]
Jun 04 11:07:02 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully, Ip Address: [REDACTED_IP]
Jun 04 11:07:02 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully
Jun 04 11:22:43 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - node traffic sync: fetch from RU-1 failed: GET panel/api/inbounds/list: Get "https://[REDACTED_IP]:[REDACTED_PORT]/[REDACTED_PATH]/panel/api/inbounds/list": context deadline exceeded
Jun 04 11:22:48 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - node traffic sync: fetch from RU-1 failed: GET panel/api/inbounds/list: Get "https://[REDACTED_IP]:[REDACTED_PORT]/[REDACTED_PATH]/panel/api/inbounds/list": context deadline exceeded
Jun 04 11:22:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - node traffic sync: fetch from RU-1 failed: GET panel/api/inbounds/list: Get "https://[REDACTED_IP]:[REDACTED_PORT]/[REDACTED_PATH]/panel/api/inbounds/list": context deadline exceeded
Jun 04 14:07:38 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 14:07:38 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: use of closed network connection
Jun 04 14:33:37 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [GET /[REDACTED_PATH]/panel/api/server/xrayMetricsHistory/:metric/:bucket handler=controller.(*ServerController).getXrayMetricsHistoryBucket server.go:142] invalid metric Failed: unknown metric
Jun 04 17:50:33 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully, Ip Address: [REDACTED_IP]
Jun 04 17:50:33 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully
Jun 05 07:12:51 spb-3-vm-7t0p x-ui[5137]: 2026/06/05 07:12:51 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 05 07:13:03 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully, Ip Address: [REDACTED_IP]
Jun 05 07:13:03 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully
Jun 05 07:14:42 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Jun 05 07:14:43 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - XRAY: core: Xray 26.6.1 started
Jun 05 07:14:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Received SIGHUP signal. Restarting servers...
Jun 05 07:14:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - WebSocket hub stopped
Jun 05 07:14:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Web server running HTTPS on [::]:25017
Jun 05 07:14:53 spb-3-vm-7t0p x-ui[5137]: 2026/06/05 07:14:53 Web server restarted successfully.
Jun 05 07:14:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - custom geo startup: no custom geofiles configured
Jun 05 07:14:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Sub server running HTTPS on [::]:8469
Jun 05 07:14:53 spb-3-vm-7t0p x-ui[5137]: 2026/06/05 07:14:53 Sub server restarted successfully.

Node-A
Jun 04 08:40:22 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - [REDACTED_USER] logged in successfully, Ip Address: [REDACTED_IP]
Jun 04 08:40:22 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - [REDACTED_USER] logged in successfully
Jun 04 08:40:45 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/xray_test_[REDACTED_ID].json Format:json}
Jun 04 08:40:48 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/xray_test_[REDACTED_ID].json Format:json}
Jun 04 08:40:51 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/xray_test_[REDACTED_ID].json Format:json}
Jun 04 08:53:40 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - started panel update job via systemd-run unit x-ui-web-update-[REDACTED_ID]
Jun 04 08:53:46 spb-3-vm-9oid systemd[1]: Stopping x-ui.service - x-ui Service...
Jun 04 08:53:46 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - WebSocket hub stopped
Jun 04 08:53:49 spb-3-vm-9oid x-ui[4108]: 2026/06/04 08:53:49 Shutting down servers.
Jun 04 08:53:49 spb-3-vm-9oid systemd[1]: x-ui.service: Deactivated successfully.
Jun 04 08:53:49 spb-3-vm-9oid systemd[1]: Stopped x-ui.service - x-ui Service.
Jun 04 08:53:49 spb-3-vm-9oid systemd[1]: x-ui.service: Consumed 40min 41.405s CPU time, 154.9M memory peak, 0B memory swap peak.
Jun 04 08:53:54 spb-3-vm-9oid systemd[1]: Started x-ui.service - x-ui Service.
Jun 04 08:53:54 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:53:54 Starting x-ui 3.2.7
Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - Web server running HTTPS on [::]:31863
Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - custom geo startup: checking 2 custom geofile(s)
Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - custom geo startup id=1 alias=roscom path=bin/geosite_roscom.dat: present
Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - custom geo startup id=2 alias=itdog path=bin/geosite_itdog.dat: present
Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - Sub server running HTTPS on [::]:2096
Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ======
Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ======
Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW
Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW
Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: core: Xray 26.6.1 started
Jun 04 08:55:11 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: ERROR - XRAY: transport/internet/splithttp: failed to serve HTTP for XHTTP > accept tcp [::]:443: use of closed network connection
Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:55:11.409508 [Warning] infra/conf: ====== SECURITY WARNING ======
Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: inbound "in-443-tcp" using splithttp has not configured "sockopt.trustedXForwardedFor".
Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: THIS IS VERY INSECURE!!!
Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: For compatibility, Xray still allows this for now and still trusts X-Forwarded-For implicitly.
Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: Please configure "sockopt.trustedXForwardedFor" immediately.
Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: In future versions, this option must be explicitly set.
Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: ====== SECURITY WARNING ======
Jun 04 08:56:50 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: ERROR - XRAY: transport/internet/splithttp: failed to serve HTTP for XHTTP > accept tcp [::]:443: use of closed network connection
Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:56:50.087725 [Warning] infra/conf: ====== SECURITY WARNING ======
Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: inbound "in-443-tcp" using splithttp has not configured "sockopt.trustedXForwardedFor".
Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: THIS IS VERY INSECURE!!!
Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: For compatibility, Xray still allows this for now and still trusts X-Forwarded-For implicitly.
Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: Please configure "sockopt.trustedXForwardedFor" immediately.
Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: In future versions, this option must be explicitly set.
Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: ====== SECURITY WARNING ======
Jun 04 08:57:49 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:57:49 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 08:57:59 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:57:59 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 08:58:05 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:58:05 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 08:58:14 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:58:14 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 08:59:51 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:59:51 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 09:05:14 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: ERROR - XRAY: transport/internet/splithttp: failed to serve HTTP for XHTTP > accept tcp [::]:443: use of closed network connection
Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:05:14.591936 [Warning] infra/conf: ====== SECURITY WARNING ======
Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: inbound "in-443-tcp" using splithttp has not configured "sockopt.trustedXForwardedFor".
Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: THIS IS VERY INSECURE!!!
Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: For compatibility, Xray still allows this for now and still trusts X-Forwarded-For implicitly.
Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: Please configure "sockopt.trustedXForwardedFor" immediately.
Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: In future versions, this option must be explicitly set.
Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: ====== SECURITY WARNING ======
Jun 04 09:08:31 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:08:31 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 09:09:02 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:09:02 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 09:09:24 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:09:24 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 09:09:29 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:09:29 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 09:09:39 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:09:39 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 09:09:56 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:09:56 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 09:10:05 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:10:05 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 09:23:17 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:23:17.977920 [Warning] infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW
Jun 04 09:23:24 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Jun 04 09:23:24 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ======
Jun 04 09:23:24 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ======
Jun 04 09:23:24 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW
Jun 04 09:23:24 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW
Jun 04 09:23:24 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: core: Xray 26.6.1 started
Jun 04 09:23:41 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:23:41 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: client offered only unsupported versions: []
Jun 04 09:23:41 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:23:41 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:24:14 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:24:14 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: client offered only unsupported versions: [301]
Jun 04 09:24:14 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:24:14 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:24:47 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:24:47 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: client offered only unsupported versions: [302 301]
Jun 04 09:24:47 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:24:47 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:25:20 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:25:20 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: no cipher suite supported by both client and server; client offered: [...]
Jun 04 09:25:20 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:25:20 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:25:53 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:25:53 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: no cipher suite supported by both client and server; client offered: [...]
Jun 04 09:25:53 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:25:53 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:26:20 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - Received SIGHUP signal. Restarting servers...
Jun 04 09:26:20 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - WebSocket hub stopped
Jun 04 09:26:21 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - Web server running HTTPS on [::]:31863
Jun 04 09:26:21 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - custom geo startup: checking 2 custom geofile(s)
Jun 04 09:26:21 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - custom geo startup id=1 alias=roscom path=bin/geosite_roscom.dat: present
Jun 04 09:26:21 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - custom geo startup id=2 alias=itdog path=bin/geosite_itdog.dat: present
Jun 04 09:26:21 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:26:21 Web server restarted successfully.
Jun 04 09:26:21 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - Sub server running HTTPS on [::]:2096
Jun 04 09:26:21 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:26:21 Sub server restarted successfully.
Jun 04 09:26:26 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:26:26 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: client offered only unsupported versions: [302 301]
Jun 04 09:26:26 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:26:26 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:26:59 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:26:59 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 09:27:33 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:27:33 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:28:06 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:28:06 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: no cipher suite supported by both client and server; client offered: [...]
Jun 04 09:28:26 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:28:26 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:28:59 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:28:59 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:29:25 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:29:25 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 09:29:32 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:29:32 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:29:36 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:29:36 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 09:29:45 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:29:45 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 04 09:30:05 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:30:05 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: no cipher suite supported by both client and server; client offered: [...]
Jun 04 09:30:38 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:30:38 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:31:11 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:31:11 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: client offered only unsupported versions: [302 301]
Jun 04 09:31:44 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:31:44 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:32:17 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:32:17 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:32:50 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:32:50 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: no cipher suite supported by both client and server; client offered: [...]
Jun 04 09:33:24 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:33:24 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer
Jun 04 09:45:26 spb-3-vm-9oid systemd[1]: Stopping x-ui.service - x-ui Service...
Jun 04 09:45:27 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - WebSocket hub stopped
Jun 04 09:45:27 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:45:27 Shutting down servers.
Jun 04 09:45:27 spb-3-vm-9oid systemd[1]: x-ui.service: Deactivated successfully.
Jun 04 09:45:27 spb-3-vm-9oid systemd[1]: Stopped x-ui.service - x-ui Service.
Jun 04 09:45:27 spb-3-vm-9oid systemd[1]: x-ui.service: Consumed 1min 52.659s CPU time.
-- Boot [REDACTED_BOOT_ID] --
Jun 04 09:49:06 spb-3-vm-9oid systemd[1]: Started x-ui.service - x-ui Service.
Jun 04 09:49:07 spb-3-vm-9oid x-ui[735]: 2026/06/04 09:49:07 Starting x-ui 3.2.7
Jun 04 09:49:08 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - Web server running HTTPS on [::]:31863
Jun 04 09:49:08 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - custom geo startup: checking 2 custom geofile(s)
Jun 04 09:49:08 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - custom geo startup id=1 alias=roscom path=bin/geosite_roscom.dat: present
Jun 04 09:49:08 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - custom geo startup id=2 alias=itdog path=bin/geosite_itdog.dat: present
Jun 04 09:49:08 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Jun 04 09:49:08 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - Sub server running HTTPS on [::]:2096
Jun 04 09:49:09 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ======
Jun 04 09:49:09 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ======
Jun 04 09:49:09 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW
Jun 04 09:49:09 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW
Jun 04 09:49:09 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: core: Xray 26.6.1 started
Jun 04 09:50:41 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: ERROR - XRAY: transport/internet/splithttp: failed to serve HTTP for XHTTP > accept tcp [::]:443: use of closed network connection
Jun 04 09:50:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: ERROR - XRAY: transport/internet/splithttp: failed to serve HTTP for XHTTP > accept tcp [::]:34926: use of closed network connection
Jun 04 10:02:15 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: app/observatory/burst: error ping https://www.google.com/generate_204 with NL [#3] High Speed: Head "https://www.google.com/generate_204": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Jun 04 10:06:05 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - DelInbound: runtime lookup failed, deleting central row anyway: record not found
Jun 04 10:06:05 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - DelInbound: runtime lookup failed, deleting central row anyway: record not found
Jun 04 10:06:05 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - DelInbound: runtime lookup failed, deleting central row anyway: record not found
Jun 04 10:06:05 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - DelInbound: runtime lookup failed, deleting central row anyway: record not found
Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: 2026/06/04 10:07:33.332183 [Warning] infra/conf: ====== SECURITY WARNING ======
Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: inbound "in-443-tcp" using splithttp has not configured "sockopt.trustedXForwardedFor".
Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: THIS IS VERY INSECURE!!!
Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: For compatibility, Xray still allows this for now and still trusts X-Forwarded-For implicitly.
Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: Please configure "sockopt.trustedXForwardedFor" immediately.
Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: In future versions, this option must be explicitly set.
Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: ====== SECURITY WARNING ======
Jun 04 10:07:56 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT]
Jun 04 10:08:56 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT]
Jun 04 10:11:27 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT]
Jun 04 10:17:10 spb-3-vm-9oid x-ui[735]: 2026/06/04 10:17:10.953088 [Warning] infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW
Jun 04 10:18:11 spb-3-vm-9oid x-ui[735]: 2026/06/04 10:18:11.688804 [Warning] infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW
Jun 04 10:18:36 spb-3-vm-9oid x-ui[735]: 2026/06/04 10:18:36.501369 [Warning] infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW
Jun 04 10:19:32 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT]
Jun 04 10:19:53 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/del/[REDACTED_CLIENT] handler=controller.(*ClientController).delete client.go:149] Something went wrong Failed: client "[REDACTED_CLIENT]" not found in any inbound or client record
Jun 04 10:20:05 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT]
Jun 04 10:23:34 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/xray_test_[REDACTED_ID].json Format:json}
Jun 04 10:24:15 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Jun 04 10:24:15 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ======
Jun 04 10:24:15 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW
Jun 04 10:24:15 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: core: Xray 26.6.1 started
Jun 04 10:30:21 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: app/observatory/burst: error ping https://www.google.com/generate_204 with tun01: context deadline exceeded
Jun 04 10:30:27 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: app/observatory/burst: error ping https://www.google.com/generate_204 with tun01: context deadline exceeded
Jun 04 10:32:32 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT]
Jun 04 10:33:11 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT]
Jun 04 14:13:56 spb-3-vm-9oid x-ui[735]: 2026/06/04 14:13:56 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF
Jun 05 07:15:29 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - [REDACTED_USER] logged in successfully, Ip Address: [REDACTED_IP]
Jun 05 07:15:29 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - [REDACTED_USER] logged in successfully

Screenshots

No response

3x-ui version

3.2.7

Xray-core version

26.6.1

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24.04

Which parts of the panel are affected?

Multi-node (sub-nodes)

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

None

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 @mo3g666 on GitHub (Jun 5, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4954 ### Describe the bug Setup: central panel (subscription mode), 2 nodes, multiple inbounds per node When editing a client in the central panel (multi-node / subscription setup), removing **a single inbound** from one node causes **all inbounds of that node** to be deleted from the client. Inbounds belonging to other nodes are not affected. ### How to reproduce the problem 1. Open the central panel → **Clients** 2. Select a client assigned to inbounds on both nodes (e.g. Node A: `inbound-1`, `inbound-2` / Node B: `inbound-3`) 3. Click **Edit** 4. Uncheck (remove) only `inbound-1` from Node A 5. Save ### Expected behavior Client retains `inbound-2` (Node A) and `inbound-3` (Node B). Only `inbound-1` is removed. ### Actual behavior **All** inbounds of Node A are removed (`inbound-1` **and** `inbound-2`). Node B inbounds remain intact. ### Relevant logs ```shell **Central Panel** Jun 04 09:42:28 spb-3-vm-7t0p systemd[1]: Started x-ui.service - x-ui Service. Jun 04 09:42:28 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 09:42:28 Starting x-ui 3.2.7 Jun 04 09:42:28 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Web server running HTTPS on [::]:25017 Jun 04 09:42:28 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - custom geo startup: no custom geofiles configured Jun 04 09:42:28 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Sub server running HTTPS on [::]:2096 Jun 04 09:42:28 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} Jun 04 09:42:28 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - XRAY: core: Xray 26.6.1 started Jun 04 09:42:45 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully, Ip Address: [REDACTED_IP] Jun 04 09:42:45 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully Jun 04 09:44:49 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Received SIGHUP signal. Restarting servers... Jun 04 09:44:49 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - WebSocket hub stopped Jun 04 09:44:49 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Web server running HTTPS on [::]:25017 Jun 04 09:44:49 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - custom geo startup: no custom geofiles configured Jun 04 09:44:49 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 09:44:49 Web server restarted successfully. Jun 04 09:44:49 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Sub server running HTTPS on [::]:8469 Jun 04 09:44:49 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 09:44:49 Sub server restarted successfully. Jun 04 10:02:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Received SIGHUP signal. Restarting servers... Jun 04 10:02:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - WebSocket hub stopped Jun 04 10:02:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Web server running HTTPS on [::]:25017 Jun 04 10:02:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - custom geo startup: no custom geofiles configured Jun 04 10:02:53 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:02:53 Web server restarted successfully. Jun 04 10:02:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Sub server running HTTPS on [::]:8469 Jun 04 10:02:53 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:02:53 Sub server restarted successfully. Jun 04 10:07:56 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT] ) Jun 04 10:08:56 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT] ) Jun 04 10:09:04 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} Jun 04 10:09:04 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - XRAY: core: Xray 26.6.1 started Jun 04 10:09:12 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Received SIGHUP signal. Restarting servers... Jun 04 10:09:12 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - WebSocket hub stopped Jun 04 10:09:12 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Web server running HTTPS on [::]:25017 Jun 04 10:09:12 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - custom geo startup: no custom geofiles configured Jun 04 10:09:12 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:09:12 Web server restarted successfully. Jun 04 10:09:12 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Sub server running HTTPS on [::]:8469 Jun 04 10:09:12 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:09:12 Sub server restarted successfully. Jun 04 10:11:27 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT] ) Jun 04 10:13:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Received SIGHUP signal. Restarting servers... Jun 04 10:13:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - WebSocket hub stopped Jun 04 10:13:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Web server running HTTPS on [::]:25017 Jun 04 10:13:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - custom geo startup: no custom geofiles configured Jun 04 10:13:29 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:13:29 Web server restarted successfully. Jun 04 10:13:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Sub server running HTTPS on [::]:8469 Jun 04 10:13:29 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:13:29 Sub server restarted successfully. Jun 04 10:15:37 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 10:15:37.815239 [Warning] infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW Jun 04 10:15:59 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} Jun 04 10:15:59 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW Jun 04 10:15:59 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - XRAY: core: Xray 26.6.1 started Jun 04 10:17:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} Jun 04 10:17:29 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - XRAY: core: Xray 26.6.1 started Jun 04 10:19:32 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT] ) Jun 04 10:19:41 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: subId already in use: [REDACTED_SUBID] Jun 04 10:20:05 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/[REDACTED_CLIENT]/attach handler=controller.(*ClientController).attach client.go:172] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT] ) Jun 04 10:21:20 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: ERROR - Failed to localize message: message "get" not found in language "ru-RU" Jun 04 10:21:20 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [GET /[REDACTED_PATH]/panel/api/clients/get/[REDACTED_CLIENT] handler=controller.(*ClientController).get client.go:90] Сбой: record not found Jun 04 10:23:23 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - node traffic sync: fetch from RU-1 failed: GET panel/api/inbounds/list: Get "https://[REDACTED_IP]:[REDACTED_PORT]/[REDACTED_PATH]/panel/api/inbounds/list": context deadline exceeded Jun 04 10:32:32 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/[REDACTED_CLIENT]/attach handler=controller.(*ClientController).attach client.go:172] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT] ) Jun 04 10:33:11 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: remote: Something went wrong (email already in use: [REDACTED_CLIENT] ) Jun 04 10:33:35 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Что-то пошло не так Сбой: Duplicate email: [REDACTED_CLIENT] Jun 04 11:07:02 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully, Ip Address: [REDACTED_IP] Jun 04 11:07:02 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully Jun 04 11:22:43 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - node traffic sync: fetch from RU-1 failed: GET panel/api/inbounds/list: Get "https://[REDACTED_IP]:[REDACTED_PORT]/[REDACTED_PATH]/panel/api/inbounds/list": context deadline exceeded Jun 04 11:22:48 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - node traffic sync: fetch from RU-1 failed: GET panel/api/inbounds/list: Get "https://[REDACTED_IP]:[REDACTED_PORT]/[REDACTED_PATH]/panel/api/inbounds/list": context deadline exceeded Jun 04 11:22:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - node traffic sync: fetch from RU-1 failed: GET panel/api/inbounds/list: Get "https://[REDACTED_IP]:[REDACTED_PORT]/[REDACTED_PATH]/panel/api/inbounds/list": context deadline exceeded Jun 04 14:07:38 spb-3-vm-7t0p x-ui[5137]: 2026/06/04 14:07:38 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: use of closed network connection Jun 04 14:33:37 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - [GET /[REDACTED_PATH]/panel/api/server/xrayMetricsHistory/:metric/:bucket handler=controller.(*ServerController).getXrayMetricsHistoryBucket server.go:142] invalid metric Failed: unknown metric Jun 04 17:50:33 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully, Ip Address: [REDACTED_IP] Jun 04 17:50:33 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully Jun 05 07:12:51 spb-3-vm-7t0p x-ui[5137]: 2026/06/05 07:12:51 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 05 07:13:03 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully, Ip Address: [REDACTED_IP] Jun 05 07:13:03 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - [REDACTED_USER] logged in successfully Jun 05 07:14:42 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} Jun 05 07:14:43 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: WARNING - XRAY: core: Xray 26.6.1 started Jun 05 07:14:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Received SIGHUP signal. Restarting servers... Jun 05 07:14:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - WebSocket hub stopped Jun 05 07:14:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Web server running HTTPS on [::]:25017 Jun 05 07:14:53 spb-3-vm-7t0p x-ui[5137]: 2026/06/05 07:14:53 Web server restarted successfully. Jun 05 07:14:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - custom geo startup: no custom geofiles configured Jun 05 07:14:53 spb-3-vm-7t0p /usr/local/x-ui/x-ui[5137]: INFO - Sub server running HTTPS on [::]:8469 Jun 05 07:14:53 spb-3-vm-7t0p x-ui[5137]: 2026/06/05 07:14:53 Sub server restarted successfully. Node-A Jun 04 08:40:22 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - [REDACTED_USER] logged in successfully, Ip Address: [REDACTED_IP] Jun 04 08:40:22 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - [REDACTED_USER] logged in successfully Jun 04 08:40:45 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/xray_test_[REDACTED_ID].json Format:json} Jun 04 08:40:48 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/xray_test_[REDACTED_ID].json Format:json} Jun 04 08:40:51 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/xray_test_[REDACTED_ID].json Format:json} Jun 04 08:53:40 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - started panel update job via systemd-run unit x-ui-web-update-[REDACTED_ID] Jun 04 08:53:46 spb-3-vm-9oid systemd[1]: Stopping x-ui.service - x-ui Service... Jun 04 08:53:46 spb-3-vm-9oid /usr/local/x-ui/x-ui[4108]: INFO - WebSocket hub stopped Jun 04 08:53:49 spb-3-vm-9oid x-ui[4108]: 2026/06/04 08:53:49 Shutting down servers. Jun 04 08:53:49 spb-3-vm-9oid systemd[1]: x-ui.service: Deactivated successfully. Jun 04 08:53:49 spb-3-vm-9oid systemd[1]: Stopped x-ui.service - x-ui Service. Jun 04 08:53:49 spb-3-vm-9oid systemd[1]: x-ui.service: Consumed 40min 41.405s CPU time, 154.9M memory peak, 0B memory swap peak. Jun 04 08:53:54 spb-3-vm-9oid systemd[1]: Started x-ui.service - x-ui Service. Jun 04 08:53:54 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:53:54 Starting x-ui 3.2.7 Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - Web server running HTTPS on [::]:31863 Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - custom geo startup: checking 2 custom geofile(s) Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - custom geo startup id=1 alias=roscom path=bin/geosite_roscom.dat: present Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - custom geo startup id=2 alias=itdog path=bin/geosite_itdog.dat: present Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - Sub server running HTTPS on [::]:2096 Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ====== Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ====== Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW Jun 04 08:53:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: core: Xray 26.6.1 started Jun 04 08:55:11 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: ERROR - XRAY: transport/internet/splithttp: failed to serve HTTP for XHTTP > accept tcp [::]:443: use of closed network connection Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:55:11.409508 [Warning] infra/conf: ====== SECURITY WARNING ====== Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: inbound "in-443-tcp" using splithttp has not configured "sockopt.trustedXForwardedFor". Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: THIS IS VERY INSECURE!!! Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: For compatibility, Xray still allows this for now and still trusts X-Forwarded-For implicitly. Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: Please configure "sockopt.trustedXForwardedFor" immediately. Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: In future versions, this option must be explicitly set. Jun 04 08:55:11 spb-3-vm-9oid x-ui[22776]: ====== SECURITY WARNING ====== Jun 04 08:56:50 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: ERROR - XRAY: transport/internet/splithttp: failed to serve HTTP for XHTTP > accept tcp [::]:443: use of closed network connection Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:56:50.087725 [Warning] infra/conf: ====== SECURITY WARNING ====== Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: inbound "in-443-tcp" using splithttp has not configured "sockopt.trustedXForwardedFor". Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: THIS IS VERY INSECURE!!! Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: For compatibility, Xray still allows this for now and still trusts X-Forwarded-For implicitly. Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: Please configure "sockopt.trustedXForwardedFor" immediately. Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: In future versions, this option must be explicitly set. Jun 04 08:56:50 spb-3-vm-9oid x-ui[22776]: ====== SECURITY WARNING ====== Jun 04 08:57:49 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:57:49 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 08:57:59 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:57:59 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 08:58:05 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:58:05 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 08:58:14 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:58:14 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 08:59:51 spb-3-vm-9oid x-ui[22776]: 2026/06/04 08:59:51 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 09:05:14 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: ERROR - XRAY: transport/internet/splithttp: failed to serve HTTP for XHTTP > accept tcp [::]:443: use of closed network connection Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:05:14.591936 [Warning] infra/conf: ====== SECURITY WARNING ====== Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: inbound "in-443-tcp" using splithttp has not configured "sockopt.trustedXForwardedFor". Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: THIS IS VERY INSECURE!!! Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: For compatibility, Xray still allows this for now and still trusts X-Forwarded-For implicitly. Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: Please configure "sockopt.trustedXForwardedFor" immediately. Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: In future versions, this option must be explicitly set. Jun 04 09:05:14 spb-3-vm-9oid x-ui[22776]: ====== SECURITY WARNING ====== Jun 04 09:08:31 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:08:31 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 09:09:02 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:09:02 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 09:09:24 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:09:24 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 09:09:29 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:09:29 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 09:09:39 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:09:39 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 09:09:56 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:09:56 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 09:10:05 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:10:05 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 09:23:17 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:23:17.977920 [Warning] infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW Jun 04 09:23:24 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} Jun 04 09:23:24 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ====== Jun 04 09:23:24 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ====== Jun 04 09:23:24 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW Jun 04 09:23:24 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW Jun 04 09:23:24 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: WARNING - XRAY: core: Xray 26.6.1 started Jun 04 09:23:41 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:23:41 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: client offered only unsupported versions: [] Jun 04 09:23:41 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:23:41 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:24:14 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:24:14 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: client offered only unsupported versions: [301] Jun 04 09:24:14 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:24:14 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:24:47 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:24:47 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: client offered only unsupported versions: [302 301] Jun 04 09:24:47 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:24:47 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:25:20 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:25:20 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: no cipher suite supported by both client and server; client offered: [...] Jun 04 09:25:20 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:25:20 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:25:53 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:25:53 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: no cipher suite supported by both client and server; client offered: [...] Jun 04 09:25:53 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:25:53 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:26:20 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - Received SIGHUP signal. Restarting servers... Jun 04 09:26:20 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - WebSocket hub stopped Jun 04 09:26:21 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - Web server running HTTPS on [::]:31863 Jun 04 09:26:21 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - custom geo startup: checking 2 custom geofile(s) Jun 04 09:26:21 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - custom geo startup id=1 alias=roscom path=bin/geosite_roscom.dat: present Jun 04 09:26:21 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - custom geo startup id=2 alias=itdog path=bin/geosite_itdog.dat: present Jun 04 09:26:21 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:26:21 Web server restarted successfully. Jun 04 09:26:21 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - Sub server running HTTPS on [::]:2096 Jun 04 09:26:21 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:26:21 Sub server restarted successfully. Jun 04 09:26:26 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:26:26 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: client offered only unsupported versions: [302 301] Jun 04 09:26:26 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:26:26 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:26:59 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:26:59 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 09:27:33 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:27:33 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:28:06 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:28:06 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: no cipher suite supported by both client and server; client offered: [...] Jun 04 09:28:26 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:28:26 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:28:59 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:28:59 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:29:25 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:29:25 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 09:29:32 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:29:32 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:29:36 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:29:36 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 09:29:45 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:29:45 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 04 09:30:05 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:30:05 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: no cipher suite supported by both client and server; client offered: [...] Jun 04 09:30:38 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:30:38 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:31:11 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:31:11 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: client offered only unsupported versions: [302 301] Jun 04 09:31:44 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:31:44 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:32:17 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:32:17 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:32:50 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:32:50 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: tls: no cipher suite supported by both client and server; client offered: [...] Jun 04 09:33:24 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:33:24 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: read tcp [REDACTED_IP]:[REDACTED_PORT]->[REDACTED_IP]:[REDACTED_PORT]: read: connection reset by peer Jun 04 09:45:26 spb-3-vm-9oid systemd[1]: Stopping x-ui.service - x-ui Service... Jun 04 09:45:27 spb-3-vm-9oid /usr/local/x-ui/x-ui[22776]: INFO - WebSocket hub stopped Jun 04 09:45:27 spb-3-vm-9oid x-ui[22776]: 2026/06/04 09:45:27 Shutting down servers. Jun 04 09:45:27 spb-3-vm-9oid systemd[1]: x-ui.service: Deactivated successfully. Jun 04 09:45:27 spb-3-vm-9oid systemd[1]: Stopped x-ui.service - x-ui Service. Jun 04 09:45:27 spb-3-vm-9oid systemd[1]: x-ui.service: Consumed 1min 52.659s CPU time. -- Boot [REDACTED_BOOT_ID] -- Jun 04 09:49:06 spb-3-vm-9oid systemd[1]: Started x-ui.service - x-ui Service. Jun 04 09:49:07 spb-3-vm-9oid x-ui[735]: 2026/06/04 09:49:07 Starting x-ui 3.2.7 Jun 04 09:49:08 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - Web server running HTTPS on [::]:31863 Jun 04 09:49:08 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - custom geo startup: checking 2 custom geofile(s) Jun 04 09:49:08 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - custom geo startup id=1 alias=roscom path=bin/geosite_roscom.dat: present Jun 04 09:49:08 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - custom geo startup id=2 alias=itdog path=bin/geosite_itdog.dat: present Jun 04 09:49:08 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} Jun 04 09:49:08 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - Sub server running HTTPS on [::]:2096 Jun 04 09:49:09 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ====== Jun 04 09:49:09 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ====== Jun 04 09:49:09 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW Jun 04 09:49:09 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW Jun 04 09:49:09 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: core: Xray 26.6.1 started Jun 04 09:50:41 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: ERROR - XRAY: transport/internet/splithttp: failed to serve HTTP for XHTTP > accept tcp [::]:443: use of closed network connection Jun 04 09:50:54 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: ERROR - XRAY: transport/internet/splithttp: failed to serve HTTP for XHTTP > accept tcp [::]:34926: use of closed network connection Jun 04 10:02:15 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: app/observatory/burst: error ping https://www.google.com/generate_204 with NL [#3] High Speed: Head "https://www.google.com/generate_204": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Jun 04 10:06:05 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - DelInbound: runtime lookup failed, deleting central row anyway: record not found Jun 04 10:06:05 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - DelInbound: runtime lookup failed, deleting central row anyway: record not found Jun 04 10:06:05 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - DelInbound: runtime lookup failed, deleting central row anyway: record not found Jun 04 10:06:05 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - DelInbound: runtime lookup failed, deleting central row anyway: record not found Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: 2026/06/04 10:07:33.332183 [Warning] infra/conf: ====== SECURITY WARNING ====== Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: inbound "in-443-tcp" using splithttp has not configured "sockopt.trustedXForwardedFor". Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: THIS IS VERY INSECURE!!! Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: For compatibility, Xray still allows this for now and still trusts X-Forwarded-For implicitly. Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: Please configure "sockopt.trustedXForwardedFor" immediately. Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: In future versions, this option must be explicitly set. Jun 04 10:07:33 spb-3-vm-9oid x-ui[735]: ====== SECURITY WARNING ====== Jun 04 10:07:56 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT] Jun 04 10:08:56 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT] Jun 04 10:11:27 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT] Jun 04 10:17:10 spb-3-vm-9oid x-ui[735]: 2026/06/04 10:17:10.953088 [Warning] infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW Jun 04 10:18:11 spb-3-vm-9oid x-ui[735]: 2026/06/04 10:18:11.688804 [Warning] infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW Jun 04 10:18:36 spb-3-vm-9oid x-ui[735]: 2026/06/04 10:18:36.501369 [Warning] infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW Jun 04 10:19:32 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT] Jun 04 10:19:53 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/del/[REDACTED_CLIENT] handler=controller.(*ClientController).delete client.go:149] Something went wrong Failed: client "[REDACTED_CLIENT]" not found in any inbound or client record Jun 04 10:20:05 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT] Jun 04 10:23:34 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/xray_test_[REDACTED_ID].json Format:json} Jun 04 10:24:15 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} Jun 04 10:24:15 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: infra/conf: ====== SECURITY WARNING ====== Jun 04 10:24:15 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports may get your IP blocked by the GFW Jun 04 10:24:15 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: core: Xray 26.6.1 started Jun 04 10:30:21 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: app/observatory/burst: error ping https://www.google.com/generate_204 with tun01: context deadline exceeded Jun 04 10:30:27 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - XRAY: app/observatory/burst: error ping https://www.google.com/generate_204 with tun01: context deadline exceeded Jun 04 10:32:32 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT] Jun 04 10:33:11 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: WARNING - [POST /[REDACTED_PATH]/panel/api/clients/add handler=controller.(*ClientController).create client.go:115] Something went wrong Failed: email already in use: [REDACTED_CLIENT] Jun 04 14:13:56 spb-3-vm-9oid x-ui[735]: 2026/06/04 14:13:56 http: TLS handshake error from [REDACTED_IP]:[REDACTED_PORT]: EOF Jun 05 07:15:29 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - [REDACTED_USER] logged in successfully, Ip Address: [REDACTED_IP] Jun 05 07:15:29 spb-3-vm-9oid /usr/local/x-ui/x-ui[735]: INFO - [REDACTED_USER] logged in successfully ``` ### Screenshots _No response_ ### 3x-ui version 3.2.7 ### Xray-core version 26.6.1 ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24.04 ### Which parts of the panel are affected? Multi-node (sub-nodes) ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? None ### 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:32:41 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@github-actions[bot] commented on GitHub (Jun 5, 2026):

Thanks for the detailed report and logs — this is enough to identify the bug.

What the logs tell us

The central-panel log shows four consecutive entries at the same second:

Error in deleting client on Node A : No routing table found: <id>

This message is emitted by rt.DeleteUser inside DelInboundClient (web/service/client.go). One DeleteUser call is made per inbound ID passed to Detach. Four failures means the browser sent all four Node A inbound IDs in the detach request — when it should have sent only the one you unchecked.

The four DelInbound: runtime lookup failed lines on Node A are a separate, secondary effect: after each DeleteUser fails, the central panel marks Node A as dirty; the next NodeTrafficSyncJob tick fires ReconcileNode, which pushes rt.DelInbound for any inbound tags it cannot resolve on the node (likely a transient tag-cache miss at that moment).

Root cause — frontend diff mismatch

The edit-client save path in ClientFormModal.tsx computes what to detach with:

// ClientFormModal.tsx lines 360-363
const original = new Set(attachedIds || []);   // from hydrate() → client_inbounds table — ALL protocols
const next     = new Set(form.inboundIds || []); // from the Select widget
const toDetach = [...original].filter((id) => \!next.has(id));

attachedIds comes from GET /panel/api/clients/get/:email → GetInboundIdsForRecord, which reads every row in client_inbounds for this client, regardless of protocol.

The inbound multi-select is built from a filtered list:

// ClientFormModal.tsx lines 31-33 and 260-268
const MULTI_CLIENT_PROTOCOLS = new Set([
  'shadowsocks', 'vless', 'vmess', 'trojan', 'hysteria',
]);

const inboundOptions = useMemo(
  () => (inbounds || [])
    .filter((ib) => MULTI_CLIENT_PROTOCOLS.has(ib.protocol || ''))
    .map((ib) => ({ label: ib.remark?.trim() || ib.tag || '', value: ib.id, title: ... })),
  [inbounds],
);

Any inbound whose protocol is not in that set (wireguard, http, mixed, tunnel, tun) is excluded from the Select's options. If the client is attached to such an inbound on Node A, its ID appears in original (from hydrate) but has no entry in inboundOptions.

In Ant Design v6 Select with mode="multiple", a controlled value entry that has no matching option may not be preserved in the onChange payload when the user interacts with the widget. Once that ID is dropped from form.inboundIds, it disappears from next — so at save time, toDetach includes it alongside the inbound you explicitly removed.

If all non-MULTI_CLIENT_PROTOCOLS inbounds the client holds are on Node A, then all of them end up in toDetach while Node B's inbounds (all visible in the Select) remain in next. This matches your observation exactly.

Confirming the hypothesis

Could you check what protocols Node A's inbounds use? Specifically, does the client have any attachment to a wireguard, http, mixed, tunnel, or tun inbound on Node A (even one added automatically or via bulk-assign)? You can query the central-panel DB directly:

SELECT i.id, i.tag, i.protocol
FROM inbounds i
JOIN client_inbounds ci ON ci.inbound_id = i.id
JOIN client_records cr  ON cr.id = ci.client_id
WHERE cr.email = '<your-client-email>'
  AND i.node_id = <node-A-id>;

Suggested fix direction

The safest fix is to restrict toDetach to inbound IDs that were actually visible in the Select — IDs the user could have interacted with:

// Only detach inbounds the user could see and choose to uncheck
const optionIds  = new Set(inboundOptions.map((o) => o.value));
const toDetach   = [...original].filter((id) => optionIds.has(id) && \!next.has(id));

This prevents silently detaching inbounds that the protocol filter hid from the UI. It also makes the behavior consistent: inbounds with non-subscription protocols can only be removed via the dedicated Detach API, not accidentally through the edit-client modal.

<!-- gh-comment-id:4629526546 --> @github-actions[bot] commented on GitHub (Jun 5, 2026): Thanks for the detailed report and logs — this is enough to identify the bug. ## What the logs tell us The central-panel log shows four consecutive entries at the same second: ``` Error in deleting client on Node A : No routing table found: <id> ``` This message is emitted by `rt.DeleteUser` inside `DelInboundClient` (`web/service/client.go`). One `DeleteUser` call is made per inbound ID passed to `Detach`. Four failures means the browser sent **all four Node A inbound IDs** in the detach request — when it should have sent only the one you unchecked. The four `DelInbound: runtime lookup failed` lines on Node A are a separate, secondary effect: after each `DeleteUser` fails, the central panel marks Node A as dirty; the next `NodeTrafficSyncJob` tick fires `ReconcileNode`, which pushes `rt.DelInbound` for any inbound tags it cannot resolve on the node (likely a transient tag-cache miss at that moment). ## Root cause — frontend diff mismatch The edit-client save path in `ClientFormModal.tsx` computes what to detach with: ```tsx // ClientFormModal.tsx lines 360-363 const original = new Set(attachedIds || []); // from hydrate() → client_inbounds table — ALL protocols const next = new Set(form.inboundIds || []); // from the Select widget const toDetach = [...original].filter((id) => \!next.has(id)); ``` `attachedIds` comes from `GET /panel/api/clients/get/:email` → `GetInboundIdsForRecord`, which reads every row in `client_inbounds` for this client, **regardless of protocol**. The inbound multi-select is built from a filtered list: ```tsx // ClientFormModal.tsx lines 31-33 and 260-268 const MULTI_CLIENT_PROTOCOLS = new Set([ 'shadowsocks', 'vless', 'vmess', 'trojan', 'hysteria', ]); const inboundOptions = useMemo( () => (inbounds || []) .filter((ib) => MULTI_CLIENT_PROTOCOLS.has(ib.protocol || '')) .map((ib) => ({ label: ib.remark?.trim() || ib.tag || '', value: ib.id, title: ... })), [inbounds], ); ``` Any inbound whose protocol is **not** in that set (`wireguard`, `http`, `mixed`, `tunnel`, `tun`) is excluded from the Select's `options`. If the client is attached to such an inbound on Node A, its ID appears in `original` (from hydrate) but has no entry in `inboundOptions`. In Ant Design v6 Select with `mode="multiple"`, a controlled `value` entry that has no matching option may not be preserved in the `onChange` payload when the user interacts with the widget. Once that ID is dropped from `form.inboundIds`, it disappears from `next` — so at save time, `toDetach` includes it alongside the inbound you explicitly removed. **If all non-`MULTI_CLIENT_PROTOCOLS` inbounds the client holds are on Node A, then all of them end up in `toDetach` while Node B's inbounds (all visible in the Select) remain in `next`. This matches your observation exactly.** ## Confirming the hypothesis Could you check what protocols Node A's inbounds use? Specifically, does the client have any attachment to a `wireguard`, `http`, `mixed`, `tunnel`, or `tun` inbound on Node A (even one added automatically or via bulk-assign)? You can query the central-panel DB directly: ```sql SELECT i.id, i.tag, i.protocol FROM inbounds i JOIN client_inbounds ci ON ci.inbound_id = i.id JOIN client_records cr ON cr.id = ci.client_id WHERE cr.email = '<your-client-email>' AND i.node_id = <node-A-id>; ``` ## Suggested fix direction The safest fix is to restrict `toDetach` to inbound IDs that were actually **visible** in the Select — IDs the user could have interacted with: ```tsx // Only detach inbounds the user could see and choose to uncheck const optionIds = new Set(inboundOptions.map((o) => o.value)); const toDetach = [...original].filter((id) => optionIds.has(id) && \!next.has(id)); ``` This prevents silently detaching inbounds that the protocol filter hid from the UI. It also makes the behavior consistent: inbounds with non-subscription protocols can only be removed via the dedicated Detach API, not accidentally through the edit-client modal.
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#3473
No description provided.