Integrity requirements
Description
In the Xray config editor, many valid parameters (e.g., tcp, ws, grpc) are rejected with the error message "Update config profile error" even though the parameters are correct and the config works fine when tested directly on Xray. The validation in the panel seems too strict or outdated.
When using the Edit Config feature for Xray nodes, valid parameters for streamSettings and tlsSettings are rejected with the error message "Update config profile error" even though the configuration is completely valid and works when directly tested with Xray.
For example, the following configuration (gRPC + TLS) is valid for Xray but cannot be saved through the panel:
{
"tag": "gRPC+TLS",
"listen": "0.0.0.0",
"port": 443,
"protocol": "vless",
"settings": {
"clients": [],
"decryption": "none"
},
"streamSettings": {
"network": "grpc",
"security": "tls",
"grpcSettings": {
"serviceName": "example",
"multiMode": false
},
"tlsSettings": {
"serverName": "example.com",
"minVersion": "1.0",
"maxVersion": "1.3",
"cipherSuites": "RSA_AES_128_CBC:RSA_AES_256_CBC:RSA_AES_128_GCM:RSA_AES_256_GCM:AES_128_GCM:AES_256_GCM:CHACHA20_POLY1305:ECDHE_ECDSA_AES_128_CBC:ECDHE_ECDSA_AES_256_CBC:ECDHE_RSA_AES_128_CBC:ECDHE_RSA_AES_256_CBC:ECDHE_ECDSA_AES_128_GCM:ECDHE_ECDSA_AES_256_GCM:ECDHE_RSA_AES_128_GCM:ECDHE_RSA_AES_256_GCM:ECDHE_ECDSA_CHACHA20_POLY1305:ECDHE_RSA_CHACHA20_POLY1305",
"rejectUnknownSni": false,
"disableSystemRoot": false,
"enableSessionResumption": false,
"alpn": ["h2", "http/1.1"],
"certificates": [
{
"certificateFile": "/var/lib/remnawave/configs/xray/ssl/fullchain.pem",
"keyFile": "/var/lib/remnawave/configs/xray/ssl/privkey.key",
"ocspStapling": 3600,
"usage": "encipherment",
"buildChain": false
}
],
"settings": {
"allowInsecure": false,
"fingerprint": "chrome"
}
}
},
"sniffing": {
"enabled": false
}
}
Reproduction Method
1-Go to Nodes → Edit Config.
2-Paste the above config.
3-Click Save.
4-Observe error: "Update config profile error".
Integrity requirements
Description
In the Xray config editor, many valid parameters (e.g., tcp, ws, grpc) are rejected with the error message "Update config profile error" even though the parameters are correct and the config works fine when tested directly on Xray. The validation in the panel seems too strict or outdated.
When using the Edit Config feature for Xray nodes, valid parameters for streamSettings and tlsSettings are rejected with the error message "Update config profile error" even though the configuration is completely valid and works when directly tested with Xray.
For example, the following configuration (gRPC + TLS) is valid for Xray but cannot be saved through the panel:
Reproduction Method
1-Go to Nodes → Edit Config.
2-Paste the above config.
3-Click Save.
4-Observe error: "Update config profile error".