diff --git a/backend/package.json b/backend/package.json index 862d92ef..9dc4f46b 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.20.52", + "version": "2.20.53", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/producers/sing-box.js b/backend/src/core/proxy-utils/producers/sing-box.js index 455c6bfa..fb6345bd 100644 --- a/backend/src/core/proxy-utils/producers/sing-box.js +++ b/backend/src/core/proxy-utils/producers/sing-box.js @@ -670,6 +670,13 @@ const naiveParser = (proxy = {}) => { tlsParser(proxy, parsedProxy); smuxParser(proxy.smux, parsedProxy); ipVersionParser(proxy, parsedProxy); + if (parsedProxy.tls?.insecure) { + $.info( + `Platform sing-box: insecure is not supported on naive outbound`, + ); + delete parsedProxy.tls.insecure; + } + return parsedProxy; }; const hysteriaParser = (proxy = {}) => {