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

[BUG] SS订阅异常 #1575

Closed
Ruicw opened this issue Sep 7, 2022 · 4 comments
Closed

[BUG] SS订阅异常 #1575

Ruicw opened this issue Sep 7, 2022 · 4 comments

Comments

@Ruicw
Copy link

Ruicw commented Sep 7, 2022

Environment 环境

OS: Debian11
PHP version: 8.1
DB version: mariadb10.7
Commit: a22a2a6

Bug Info

Describe the issue you run into. 请描述你遇到的问题。

Slim Application Error
The application could not run because of the following error:

Details
Type: TypeError
Message: App\Models\Node::getItem(): Argument #2 ($mu_port) must be of type int, string given, called in /www/wwwroot/sspanel-uim/src/Utils/URL.php on line 303
File: /www/wwwroot/sspanel-uim/src/Models/Node.php
Line: 329
Trace
#0 /www/wwwroot/sspanel-uim/src/Utils/URL.php(303): App\Models\Node->getItem()
#1 /www/wwwroot/sspanel-uim/src/Utils/URL.php(342): App\Utils\URL::getNewAllItems()
#2 /www/wwwroot/sspanel-uim/src/Controllers/LinkController.php(803): App\Utils\URL::getNewAllUrl()
#3 /www/wwwroot/sspanel-uim/src/Controllers/LinkController.php(163): App\Controllers\LinkController::getSub()
#4 [internal function]: App\Controllers\LinkController::getContent()
#5 /www/wwwroot/sspanel-uim/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func()
#6 /www/wwwroot/sspanel-uim/vendor/slim/slim/Slim/Route.php(344): Slim\Handlers\Strategies\RequestResponse->__invoke()
#7 /www/wwwroot/sspanel-uim/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(116): Slim\Route->__invoke()
#8 /www/wwwroot/sspanel-uim/vendor/slim/slim/Slim/Route.php(316): Slim\Route->callMiddlewareStack()
#9 /www/wwwroot/sspanel-uim/vendor/slim/slim/Slim/App.php(438): Slim\Route->run()
#10 /www/wwwroot/sspanel-uim/vendor/zeuxisoo/slim-whoops/src/Zeuxisoo/Whoops/Provider/Slim/WhoopsMiddleware.php(70): Slim\App->__invoke()
#11 [internal function]: Zeuxisoo\Whoops\Provider\Slim\WhoopsMiddleware->__invoke()
#12 /www/wwwroot/sspanel-uim/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array()
#13 [internal function]: Slim\DeferredCallable->__invoke()
#14 /www/wwwroot/sspanel-uim/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(67): call_user_func()
#15 /www/wwwroot/sspanel-uim/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(116): Slim\App->Slim{closure}()
#16 /www/wwwroot/sspanel-uim/vendor/slim/slim/Slim/App.php(332): Slim\App->callMiddlewareStack()
#17 /www/wwwroot/sspanel-uim/vendor/slim/slim/Slim/App.php(293): Slim\App->process()
#18 /www/wwwroot/sspanel-uim/public/index.php(41): Slim\App->run()
#19 {main}


new-feat正常使用,因为没有切换到用户功能,重新安装Dev版,导入用户。
承载用户 端口8888 aes-256-gcm origin plain 协议式。。。。
承载节点 地址8888
奇怪的是直接导入节点链接可以正常使用,订阅下发出错误

@AutisticShark
Copy link
Contributor

爲什麽SS會有承載節點,倒是。

@AutisticShark
Copy link
Contributor

AutisticShark commented Sep 7, 2022

看了一下代碼,我建議你是先用別的節點類型。這個 Shadowsocks 單端是 GeekQuerxy 兩年前加的,不在現在官方正式支持的節點類型裏,要看能不能找到相關的文檔,才有辦法決定怎麽維護。

@Ruicw
Copy link
Author

Ruicw commented Sep 7, 2022

感谢解答,我先用着吧,不行我就换其它的

@huah6571
Copy link

我也遇到同样问题了2022.11版本,请教一下大佬如何解决的而?

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

No branches or pull requests

3 participants