You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
I searched issues and did not find any similar issues.
Version
1.8.13
Description
Since I upgraded from 1.8.6 I could connect to Wireguard inbound from a WiresockUI client but after upgrading to 1.8.13 I get a panic error on xray-core when some traffics sends to server after handshake (not sure).
Update: As I tested version 1.8.12 and 1.8.13 are crashing.
Reproduction Method
Try to connect to Wireguard inbound on xray-core from a WiresockUI (windows client)
2024-05-26 10:04:03 WireSock WireGuard VPN Client Service 1.2.37
The service is starting using local.conf WireGuard client configuration.
WireSock WireGuard VPN Client 1.2.37 is running as a regular process.
2024-05-26 10:04:03 WireSock Service has started.
2024-05-26 10:04:03 [MGR]: Using WireGuard server: SERVER_IP : 41199
2024-05-26 10:04:03 [TUN]: Detected default interface {B404DFD0-745B-4C91-B5C7-BA78647826B8}
2024-05-26 10:04:03 [TUN]: Using local IPv4 = 192.168.1.110 for the {B404DFD0-745B-4C91-B5C7-BA78647826B8}
2024-05-26 10:04:03 [TUN]: Local IPv6 address for the {B404DFD0-745B-4C91-B5C7-BA78647826B8} not available
2024-05-26 10:04:03 [TUN]: Sent handshake packet to the WireGuard server at SERVER_IP:41199
May 26 06:32:18 node105 systemd[1]: Started Xray Service.
May 26 06:32:19 node105 xray[137794]: Xray 1.8.13 (Xray, Penetrates Everything.) 3120ca4 (go1.22.3 linux/amd64)
May 26 06:32:19 node105 xray[137794]: A unified platform for anti-censorship.
May 26 06:32:19 node105 xray[137794]: 2024/05/26 06:32:19 [Info] infra/conf/serial: Reading config: /usr/local/etc/xray/config.json
May 26 06:34:04 node105 xray[137794]: panic: runtime error: index out of range [-1]
May 26 06:34:04 node105 xray[137794]: goroutine 52 [running]:
May 26 06:34:04 node105 xray[137794]: github.com/xtls/xray-core/proxy/wireguard.(*Server).Process(0xc00033b130, {0x15566b8, 0xc0003281e0}, 0x1538cb8?, {0x155d450, 0xc0003ba080}, {0x1558b20, 0xc00031f1a0})
May 26 06:34:04 node105 xray[137794]: github.com/xtls/xray-core/proxy/wireguard/server.go:84 +0x772
May 26 06:34:04 node105 xray[137794]: github.com/xtls/xray-core/app/proxyman/inbound.(*udpWorker).callback.func1()
May 26 06:34:04 node105 xray[137794]: github.com/xtls/xray-core/app/proxyman/inbound/worker.go:330 +0x397
May 26 06:34:04 node105 xray[137794]: created by github.com/xtls/xray-core/app/proxyman/inbound.(*udpWorker).callback in goroutine 15
May 26 06:34:04 node105 xray[137794]: github.com/xtls/xray-core/app/proxyman/inbound/worker.go:306 +0x305
May 26 06:34:04 node105 systemd[1]: xray.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 26 06:34:04 node105 systemd[1]: xray.service: Failed with result 'exit-code'.
The text was updated successfully, but these errors were encountered:
Integrity requirements
Version
1.8.13
Description
Since I upgraded from 1.8.6 I could connect to Wireguard inbound from a WiresockUI client but after upgrading to 1.8.13 I get a panic error on xray-core when some traffics sends to server after handshake (not sure).
Update: As I tested version 1.8.12 and 1.8.13 are crashing.
Reproduction Method
Try to connect to Wireguard inbound on xray-core from a WiresockUI (windows client)
Client config
Server config
Client log
Server log
The text was updated successfully, but these errors were encountered: