[GH-ISSUE #3485] Bug report #2370

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

Originally created by @Forkas on GitHub (Sep 17, 2025).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3485

Describe the bug

2025/09/17 14:51:51 INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
2025/09/17 14:51:51 DEBUG - XRAY: A unified platform for anti-censorship.
2025/09/17 14:51:51 DEBUG - XRAY: Xray 25.9.11 (Xray, Penetrates Everything.) 3edfb0e (go1.25.1 linux/amd64)
2025/09/17 14:51:51 DEBUG - X-UI: restart Xray, force:false
2025/09/17 14:51:49 ERROR - X-UI: Failure in running xray-core:exit status 2
2025/09/17 14:51:49 DEBUG - X-UI: Core crash detected: panic: close of closed channel goroutine 857 [running]: github.com/xtls/xray-core/proxy/wireguard.(*netBind).Close(...) github.com/xtls/xray-core/proxy/wireguard/bind.go:118 github.com/xtls/xray-core/proxy/wireguard.(*Handler).processWireGuard.func1() github.com/xtls/xray-core/proxy/wireguard/client.go:132 +0x33 github.com/xtls/xray-core/proxy/wireguard.(*Handler).processWireGuard(0xc000188540, {0x197ec90, 0xc000f5b140}, {0x197c900, 0xc0031a7440}) github.com/xtls/xray-core/proxy/wireguard/client.go:139 +0x4cd github.com/xtls/xray-core/proxy/wireguard.(*Handler).Process(0xc000188540, {0x197ec90, 0xc000f5b140}, 0xc0009812c0, {0x197c900, 0xc0031a7440}) github.com/xtls/xray-core/proxy/wireguard/client.go:154 +0x113 github.com/xtls/xray-core/app/proxyman/outbound.(*Handler).Dispatch(0xc0031a7440, {0x197ec90, 0xc000f5b140}, 0xc0009812c0) github.com/xtls/xray-core/app/proxyman/outbound/handler.go:243 +0x992 github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).routedDispatch(0xc003088a50, {0x197ec90, 0xc000f5b140}, 0xc0009812c0, {{0x197ed70, 0xc000f21140}, 0x1bb, 0x2}) github.com/xtls/xray-core/app/dispatcher/default.go:520 +0xb02 github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).DispatchLink(0xc003088a50, {0x197ec90, 0xc000f5b140}, {{0x197f1d8?, 0xc0050b66fc?}, 0xf698?, 0xc0?}, 0xc0009812c0) github.com/xtls/xray-core/app/dispatcher/default.go:391 +0x825 github.com/xtls/xray-core/common/mux.(*Server).DispatchLink(0x24617c0?, {0x197ec90?, 0xc000f5b140?}, {{0x197f1d8?, 0xc0050b66fc?}, 0xafe0?, 0x0?}, 0x0?) github.com/xtls/xray-core/common/mux/server.go:65 +0x1b9 github.com/xtls/xray-core/proxy/vless/inbound.(*Handler).Process(0xc0000a3f10, {0x197ec90, 0xc000f9e510}, 0x19739e0?, {0x1986c38?, 0xc000f9e4b0?}, {0x19816e0, 0xc0001391e0}) github.com/xtls/xray-core/proxy/vless/inbound/inbound.go:625 +0x25ae github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).callback(0xc002ef7680, {0x1987000, 0xc000f886c0}) github.com/xtls/xray-core/app/proxyman/inbound/worker.go:129 +0xce3 created by github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).Start.func1 in goroutine 850 github.com/xtls/xray-core/app/proxyman/inbound/worker.go:143 +0x7a

How to repeat the problem?

In the Unbound settings, click Warp, get the key, add unbound, add domain in routing and select warp, save and restart.

Watch the main panel and watch how Xray restarts every 20+ seconds.

Expected action

No response

Received action

No response

3x-ui Version

2.8.0

Xray-core Version

25.9.11

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @Forkas on GitHub (Sep 17, 2025). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3485 ### Describe the bug 2025/09/17 14:51:51 INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} 2025/09/17 14:51:51 DEBUG - XRAY: A unified platform for anti-censorship. 2025/09/17 14:51:51 DEBUG - XRAY: Xray 25.9.11 (Xray, Penetrates Everything.) 3edfb0e (go1.25.1 linux/amd64) 2025/09/17 14:51:51 DEBUG - X-UI: restart Xray, force:false 2025/09/17 14:51:49 ERROR - X-UI: Failure in running xray-core:exit status 2 2025/09/17 14:51:49 DEBUG - X-UI: Core crash detected: panic: close of closed channel goroutine 857 [running]: github.com/xtls/xray-core/proxy/wireguard.(*netBind).Close(...) github.com/xtls/xray-core/proxy/wireguard/bind.go:118 github.com/xtls/xray-core/proxy/wireguard.(*Handler).processWireGuard.func1() github.com/xtls/xray-core/proxy/wireguard/client.go:132 +0x33 github.com/xtls/xray-core/proxy/wireguard.(*Handler).processWireGuard(0xc000188540, {0x197ec90, 0xc000f5b140}, {0x197c900, 0xc0031a7440}) github.com/xtls/xray-core/proxy/wireguard/client.go:139 +0x4cd github.com/xtls/xray-core/proxy/wireguard.(*Handler).Process(0xc000188540, {0x197ec90, 0xc000f5b140}, 0xc0009812c0, {0x197c900, 0xc0031a7440}) github.com/xtls/xray-core/proxy/wireguard/client.go:154 +0x113 github.com/xtls/xray-core/app/proxyman/outbound.(*Handler).Dispatch(0xc0031a7440, {0x197ec90, 0xc000f5b140}, 0xc0009812c0) github.com/xtls/xray-core/app/proxyman/outbound/handler.go:243 +0x992 github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).routedDispatch(0xc003088a50, {0x197ec90, 0xc000f5b140}, 0xc0009812c0, {{0x197ed70, 0xc000f21140}, 0x1bb, 0x2}) github.com/xtls/xray-core/app/dispatcher/default.go:520 +0xb02 github.com/xtls/xray-core/app/dispatcher.(*DefaultDispatcher).DispatchLink(0xc003088a50, {0x197ec90, 0xc000f5b140}, {{0x197f1d8?, 0xc0050b66fc?}, 0xf698?, 0xc0?}, 0xc0009812c0) github.com/xtls/xray-core/app/dispatcher/default.go:391 +0x825 github.com/xtls/xray-core/common/mux.(*Server).DispatchLink(0x24617c0?, {0x197ec90?, 0xc000f5b140?}, {{0x197f1d8?, 0xc0050b66fc?}, 0xafe0?, 0x0?}, 0x0?) github.com/xtls/xray-core/common/mux/server.go:65 +0x1b9 github.com/xtls/xray-core/proxy/vless/inbound.(*Handler).Process(0xc0000a3f10, {0x197ec90, 0xc000f9e510}, 0x19739e0?, {0x1986c38?, 0xc000f9e4b0?}, {0x19816e0, 0xc0001391e0}) github.com/xtls/xray-core/proxy/vless/inbound/inbound.go:625 +0x25ae github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).callback(0xc002ef7680, {0x1987000, 0xc000f886c0}) github.com/xtls/xray-core/app/proxyman/inbound/worker.go:129 +0xce3 created by github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).Start.func1 in goroutine 850 github.com/xtls/xray-core/app/proxyman/inbound/worker.go:143 +0x7a ### How to repeat the problem? In the Unbound settings, click Warp, get the key, add unbound, add domain in routing and select warp, save and restart. Watch the main panel and watch how Xray restarts every 20+ seconds. ### Expected action _No response_ ### Received action _No response_ ### 3x-ui Version 2.8.0 ### Xray-core Version 25.9.11 ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:25:03 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MHSanaei commented on GitHub (Sep 17, 2025):

report it to xray i can't help you with that
Core crash detected: panic

<!-- gh-comment-id:3302678710 --> @MHSanaei commented on GitHub (Sep 17, 2025): report it to xray i can't help you with that Core crash detected: panic
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#2370
No description provided.