Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为vmess增加sni分流支持 #1254

Merged
merged 1 commit into from
May 17, 2021
Merged

为vmess增加sni分流支持 #1254

merged 1 commit into from
May 17, 2021

Conversation

VeryAdd
Copy link

@VeryAdd VeryAdd commented May 17, 2021

支持clash Shadowrocket v2rayn 的sni证书功能
使用方法:节点地址 末尾添加 "|sni=证书域名"
如节点保存错误,是因为节点地址长度过长超过了默认的128字节导致的
数据库 执行
ALTER TABLE ss_node CHANGE server server VARCHAR(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;

支持clash Shadowrocket v2rayn 的sni证书功能
使用方法:节点地址 末尾添加 "|sni=证书域名"
如节点保存错误,是因为节点地址长度过长超过了默认的128字节导致的
数据库 执行
ALTER TABLE ss_node CHANGE server server VARCHAR(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;
@AutisticShark AutisticShark merged commit 6fefb80 into Anankke:dev May 17, 2021
@mashirozx
Copy link
Contributor

mashirozx commented Jun 18, 2021

同样的问题见 #1260 ,并未得到解决
报错如下,全新安装,db schema是最新的:

Whoops\Exception\ErrorException thrown with message "Undefined index: sni"

Stacktrace:
#18 Whoops\Exception\ErrorException in /var/www/dev/src/Utils/AppURI.php:347
#17 Whoops\Run:handleError in /var/www/dev/src/Utils/AppURI.php:347
#16 App\Utils\AppURI:getClashURI in /var/www/dev/src/Controllers/LinkController.php:787
#15 App\Controllers\LinkController:getClash in /var/www/dev/src/Controllers/LinkController.php:175
#14 App\Controllers\LinkController:GetContent in /var/www/dev/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php:41
#13 call_user_func in /var/www/dev/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php:41
#12 Slim\Handlers\Strategies\RequestResponse:__invoke in /var/www/dev/vendor/slim/slim/Slim/Route.php:356
#11 Slim\Route:__invoke in /var/www/dev/vendor/slim/slim/Slim/MiddlewareAwareTrait.php:117
#10 Slim\Route:callMiddlewareStack in /var/www/dev/vendor/slim/slim/Slim/Route.php:334
#9 Slim\Route:run in /var/www/dev/vendor/slim/slim/Slim/App.php:515
#8 Slim\App:__invoke in /var/www/dev/vendor/zeuxisoo/slim-whoops/src/Zeuxisoo/Whoops/Provider/Slim/WhoopsMiddleware.php:70
#7 Zeuxisoo\Whoops\Provider\Slim\WhoopsMiddleware:__invoke in /var/www/dev/vendor/slim/slim/Slim/DeferredCallable.php:43
#6 call_user_func_array in /var/www/dev/vendor/slim/slim/Slim/DeferredCallable.php:43
#5 Slim\DeferredCallable:__invoke in /var/www/dev/vendor/slim/slim/Slim/MiddlewareAwareTrait.php:70
#4 call_user_func in /var/www/dev/vendor/slim/slim/Slim/MiddlewareAwareTrait.php:70
#3 Slim\App:Slim{closure} in /var/www/dev/vendor/slim/slim/Slim/MiddlewareAwareTrait.php:117
#2 Slim\App:callMiddlewareStack in /var/www/dev/vendor/slim/slim/Slim/App.php:405
#1 Slim\App:process in /var/www/dev/vendor/slim/slim/Slim/App.php:313
#0 Slim\App:run in /var/www/dev/public/index.php:37

不清楚是否还需要提供其他信息,请告知。

这样可能好看一点:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants