Incompatibility with xray-core 26.2.6
When importing core version 26.2.6 into release version 1.5.10, I get the following error:
Xray 26.2.6 (Xray, Penetrates Everything.) 12ee51e (go1.25.7 darwin/amd64) A unified platform for anti-censorship. 2026/03/14 22:10:49.301970 [Info] infra/conf/serial: Reading config: &{Name:stdin: Format:json} Failed to start: main: failed to load config files: [stdin:] > infra/conf: failed to build outbound config with tag 111 > infra/conf: failed to build stream settings for outbound detour > infra/conf: Failed to build mKCP config. > common/errors: The feature mkcp header & seed has been removed and migrated to finalmask/udp header-* & mkcp-original & mkcp-aes128gcm. Please update your config(s) according to release note and documentation. 2026-03-14 22:10:49.330 V2RayXS[14086:621034] core exit with code 23
It seems the issue is caused by the default mKCP settings that the V2RayXS adds to every new connection. Since xray-core version 26.2.6, these settings are expected to be located in a different config block.
As a possible workaround, a new connection can be added via the full JSON config, which avoids using the app’s default connection template. However, this does not solve the problem for connections imported via subscription, which are still broken.
@Venique Thank you for your feedback. I will start investigating this problem later. Can you give me a configuration that can reproduce (please replace key information such as server keys with placeholders) or share link so that I can quickly restart this problem?
You can press "+" in server list to add test server and after that try to load xray-core. You even don't need to press 'transport settings...' and change anything in KCP, app will put default KCP block by itself. So when you will try to load core you will get same error because of outdated json template that used by v2rayxs:
http://127.0.0.1:8070/config.json?u=...
"kcpSettings" : {
!!! "header" : {
"type" : "none"
},
"mtu" : 1350,
"congestion" : false,
"tti" : 20,
"uplinkCapacity" : 5,
"writeBufferSize" : 1,
"readBufferSize" : 1,
!!! "seed" : "",
"downlinkCapacity" : 20
},
Please refer to https://xtls.github.io/en/config/transports/mkcp.html#smaller-protocol-header