国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

使用GatewayWorker Exception: client_id is invalid

愛吃魚

問題描述

使用GatewayWorker 做websocket服務(wù)時(shí)stdout.log 有報(bào)錯(cuò)信息

{main}Exception: client_id aaaa'%bf%27 is invalid in /www/wwwroot/carpay-gateway/vendor/workerman/gateway-worker/src/Lib/Context.php:131

報(bào)錯(cuò)日志信息如下

Stack trace:
#0 /www/wwwroot/carpay-gateway/vendor/workerman/gateway-worker/src/Lib/Gateway.php(1131): GatewayWorker\Lib\Context::clientIdToAddress()
#1 /www/wwwroot/carpay-gateway/vendor/workerman/gateway-worker/src/Lib/Gateway.php(897): GatewayWorker\Lib\Gateway::sendCmdAndMessageToClient()
#2 /www/wwwroot/carpay-gateway/app/home/controller/carpay/IndexController.php(16): GatewayWorker\Lib\Gateway::bindUid()
#3 /www/wwwroot/carpay-gateway/vendor/workerman/webman-framework/src/App.php(319): app\home\controller\carpay\IndexController->bindUser()
#4 /www/wwwroot/carpay-gateway/vendor/workerman/webman-framework/src/App.php(349): Webman\App::Webman\{closure}()
#5 /www/wwwroot/carpay-gateway/app/middleware/CorsMiddleware.php(12): Webman\App::Webman\{closure}()
#6 /www/wwwroot/carpay-gateway/vendor/workerman/webman-framework/src/App.php(341): app\middleware\CorsMiddleware->process()
#7 /www/wwwroot/carpay-gateway/app/middleware/LogMiddleware.php(18): Webman\App::Webman\{closure}()
#8 /www/wwwroot/carpay-gateway/vendor/workerman/webman-framework/src/App.php(341): App\middleware\LogMiddleware->process()
#9 /www/wwwroot/carpay-gateway/vendor/workerman/webman-framework/src/App.php(141): Webman\App::Webman\{closure}()
#10 /www/wwwroot/carpay-gateway/vendor/workerman/workerman/Connection/TcpConnection.php(646): Webman\App->onMessage()
#11 /www/wwwroot/carpay-gateway/vendor/workerman/workerman/Events/Select.php(311): Workerman\Connection\TcpConnection->baseRead()
#12 /www/wwwroot/carpay-gateway/vendor/workerman/workerman/Worker.php(1635): Workerman\Events\Select->loop()
#13 /www/wwwroot/carpay-gateway/vendor/workerman/workerman/Worker.php(1426): Workerman\Worker::forkOneWorkerForLinux()
#14 /www/wwwroot/carpay-gateway/vendor/workerman/workerman/Worker.php(1400): Workerman\Worker::forkWorkersForLinux()
#15 /www/wwwroot/carpay-gateway/vendor/workerman/workerman/Worker.php(560): Workerman\Worker::forkWorkers()
#16 /www/wwwroot/carpay-gateway/vendor/workerman/webman-framework/src/support/App.php(131): Workerman\Worker::runAll()
#17 /www/wwwroot/carpay-gateway/start.php(4): support\App::run()
#18 {main}Exception: client_id aaaa'%bf%27 is invalid in /www/wwwroot/carpay-gateway/vendor/workerman/gateway-worker/src/Lib/Context.php:131

截圖報(bào)錯(cuò)信息里報(bào)錯(cuò)文件相關(guān)代碼

截圖

1369 1 0
1個(gè)回答

admin

錯(cuò)誤原因:非gatewayworker原因,個(gè)人代碼原因

#2 /www/wwwroot/carpay-gateway/app/home/controller/carpay/IndexController.php(16): GatewayWorker\Lib\Gateway::bindUid()

解決方案:仔細(xì)閱讀手冊(cè)

http://www.wtbis.cn/doc/gateway-worker/bind-uid.html

如閱讀手冊(cè)后,未解決,請(qǐng)繼續(xù)貼上代碼

  • 暫無評(píng)論
年代過于久遠(yuǎn),無法發(fā)表回答
??