--onMessage--9031---------2019/08/05-10:32:20 [ERROR] Swoft\Error\DefaultExceptionHandler:handle(36) (DEFAULT HANDLER)Exception(Swoft\Exception\SessionException): session information has been lost of the SID: 1
At File /www/wwwroot/swoft2/vendor/swoft/framework/src/Session/Session.php line 126
Trace:
Details bean.php wsServer.setting.dispatch_mode = 1 轮询模式
--onMessage--9031---------2019/08/05-10:32:20 [ERROR] Swoft\Error\DefaultExceptionHandler:handle(36) (DEFAULT HANDLER)Exception(Swoft\Exception\SessionException): session information has been lost of the SID: 1 At File /www/wwwroot/swoft2/vendor/swoft/framework/src/Session/Session.php line 126 Trace:
0 /www/wwwroot/swoft2/vendor/swoft/websocket-server/src/WsMessageDispatcher.php(46): Swoft\Session\Session::mustGet()
1 /www/wwwroot/swoft2/vendor/swoft/websocket-server/src/Swoole/MessageListener.php(60): Swoft\WebSocket\Server\WsMessageDispatcher->dispatch(Object(Swoole\WebSocket\Server), Object(Swoole\WebSocket\Frame))
2 {main}
感觉是work之前session数据的问题,是这我没配置对吗?
bean.php wsServer.setting.dispatch_mode = 2 FD取模 默认的没有的这个问题。