webman的push经常会报错

forwebreg

问题描述

不知道怎么复现。。。

程序代码或配置

ErrorException: Undefined array key "private-2B132E6C" in /app/vendor/webman/push/src/Server.php:512
Stack trace:
#0 /app/vendor/webman/push/src/Server.php(512): {closure}()
#1 /app/vendor/webman/push/src/Server.php(529): Webman\Push\Server->unsubscribePublicChannel()
#2 /app/vendor/webman/push/src/Server.php(321): Webman\Push\Server->unsubscribePrivateChannel()
#3 /app/vendor/workerman/workerman/src/Connection/TcpConnection.php(748): Webman\Push\Server->onMessage()
#4 /app/vendor/workerman/workerman/src/Events/Fiber.php(274): Workerman\Connection\TcpConnection->baseRead()
#5 [internal function]: Workerman\Events\Fiber->Workerman\Events\{closure}()
#6 /app/vendor/workerman/workerman/src/Events/Fiber.php(274): Fiber->start()
#7 /app/vendor/workerman/workerman/src/Events/Fiber.php(147): Workerman\Events\Fiber->safeCall()
#8 /app/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(594): Workerman\Events\Fiber->Workerman\Events\{closure}()
#9 [internal function]: Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#10 /app/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(502): Fiber->resume()
#11 /app/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(558): Revolt\EventLoop\Internal\AbstractDriver->invokeCallbacks()
#12 [internal function]: Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#13 /app/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(96): Fiber->start()
#14 /app/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(116): Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#15 /app/vendor/revolt/event-loop/src/EventLoop/Driver/EventDriver.php(119): Revolt\EventLoop\Internal\AbstractDriver->run()
#16 /app/vendor/workerman/workerman/src/Events/Fiber.php(94): Revolt\EventLoop\Driver\EventDriver->run()
#17 /app/vendor/workerman/workerman/src/Worker.php(1742): Workerman\Events\Fiber->run()
#18 /app/vendor/workerman/workerman/src/Worker.php(1544): Workerman\Worker::forkOneWorkerForLinux()
#19 /app/vendor/workerman/workerman/src/Worker.php(1524): Workerman\Worker::forkWorkersForLinux()
#20 /app/vendor/workerman/workerman/src/Worker.php(1885): Workerman\Worker::forkWorkers()
#21 /app/vendor/workerman/workerman/src/Worker.php(1822): Workerman\Worker::monitorWorkersForLinux()
#22 /app/vendor/workerman/workerman/src/Worker.php(595): Workerman\Worker::monitorWorkers()
#23 /app/vendor/workerman/webman-framework/src/support/App.php(147): Workerman\Worker::runAll()
#24 /app/start.php(5): support\App::run()
#25 {main}
240 3 0
3个回答

阿沁

很明显数组中没有 private-2B132E6C键

德玛西亚
  • 暂无评论
composer require webman/push ^1.1.1

更新下版本重启webman

  • 暂无评论
×
🔝