workerman.log 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. 2020-03-03 12:57:39 pid:1 TypeError: Argument 1 passed to app\worker\controller\Worker::onConnect() must be of the type string, object given, called in D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php on line 2469 and defined in D:\phpstudy_pro\WWW\small\syyxy\php\app\worker\controller\Worker.php:29
  2. Stack trace:
  3. #0 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(2469): app\worker\controller\Worker->onConnect(Object(Workerman\Connection\TcpConnection))
  4. #1 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Events\Select.php(292): Workerman\Worker->acceptConnection(Resource id #187)
  5. #2 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(2402): Workerman\Events\Select->loop()
  6. #3 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1397): Workerman\Worker->run()
  7. #4 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1340): Workerman\Worker::forkWorkersForWindows()
  8. #5 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(539): Workerman\Worker::forkWorkers()
  9. #6 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\think-worker\src\command\Server.php(75): Workerman\Worker::runAll()
  10. #7 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\console\Command.php(210): think\worker\command\Server->execute(Object(think\console\Input), Object(think\console\Output))
  11. #8 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(600): think\console\Command->run(Object(think\console\Input), Object(think\console\Output))
  12. #9 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(259): think\Console->doRunCommand(Object(think\worker\command\Server), Object(think\console\Input), Object(think\console\Output))
  13. #10 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(196): think\Console->doRun(Object(think\console\Input), Object(think\console\Output))
  14. #11 D:\phpstudy_pro\WWW\small\syyxy\php\think(19): think\Console->run()
  15. #12 {main}
  16. 2020-03-03 12:57:39 pid:1 Worker process terminated
  17. 2020-03-03 12:59:28 pid:1 Error: Cannot use object of type Workerman\Connection\TcpConnection as array in D:\phpstudy_pro\WWW\small\syyxy\php\app\worker\controller\Worker.php:31
  18. Stack trace:
  19. #0 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(2469): app\worker\controller\Worker->onConnect(Object(Workerman\Connection\TcpConnection))
  20. #1 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Events\Select.php(292): Workerman\Worker->acceptConnection(Resource id #187)
  21. #2 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(2402): Workerman\Events\Select->loop()
  22. #3 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1397): Workerman\Worker->run()
  23. #4 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1340): Workerman\Worker::forkWorkersForWindows()
  24. #5 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(539): Workerman\Worker::forkWorkers()
  25. #6 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\think-worker\src\command\Server.php(75): Workerman\Worker::runAll()
  26. #7 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\console\Command.php(210): think\worker\command\Server->execute(Object(think\console\Input), Object(think\console\Output))
  27. #8 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(600): think\console\Command->run(Object(think\console\Input), Object(think\console\Output))
  28. #9 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(259): think\Console->doRunCommand(Object(think\worker\command\Server), Object(think\console\Input), Object(think\console\Output))
  29. #10 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(196): think\Console->doRun(Object(think\console\Input), Object(think\console\Output))
  30. #11 D:\phpstudy_pro\WWW\small\syyxy\php\think(19): think\Console->run()
  31. #12 {main}
  32. 2020-03-03 12:59:28 pid:1 Worker process terminated
  33. 2020-03-03 12:59:41 pid:1 think\exception\ErrorException: Accessing static property Workerman\Connection\TcpConnection::$connections as non static in D:\phpstudy_pro\WWW\small\syyxy\php\app\worker\controller\Worker.php:31
  34. Stack trace:
  35. #0 D:\phpstudy_pro\WWW\small\syyxy\php\app\worker\controller\Worker.php(31): think\initializer\Error->appError(8, 'Accessing stati...', 'D:\\phpstudy_pro...', 31, Array)
  36. #1 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(2469): app\worker\controller\Worker->onConnect(Object(Workerman\Connection\TcpConnection))
  37. #2 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Events\Select.php(292): Workerman\Worker->acceptConnection(Resource id #187)
  38. #3 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(2402): Workerman\Events\Select->loop()
  39. #4 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1397): Workerman\Worker->run()
  40. #5 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1340): Workerman\Worker::forkWorkersForWindows()
  41. #6 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(539): Workerman\Worker::forkWorkers()
  42. #7 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\think-worker\src\command\Server.php(75): Workerman\Worker::runAll()
  43. #8 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\console\Command.php(210): think\worker\command\Server->execute(Object(think\console\Input), Object(think\console\Output))
  44. #9 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(600): think\console\Command->run(Object(think\console\Input), Object(think\console\Output))
  45. #10 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(259): think\Console->doRunCommand(Object(think\worker\command\Server), Object(think\console\Input), Object(think\console\Output))
  46. #11 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(196): think\Console->doRun(Object(think\console\Input), Object(think\console\Output))
  47. #12 D:\phpstudy_pro\WWW\small\syyxy\php\think(19): think\Console->run()
  48. #13 {main}
  49. 2020-03-03 12:59:41 pid:1 Worker process terminated
  50. 2020-03-03 14:06:57 pid:1 think\exception\ErrorException: json_decode() expects parameter 1 to be string, object given in D:\phpstudy_pro\WWW\small\syyxy\php\app\worker\controller\Worker.php:32
  51. Stack trace:
  52. #0 [internal function]: think\initializer\Error->appError(2, 'json_decode() e...', 'D:\\phpstudy_pro...', 32, Array)
  53. #1 D:\phpstudy_pro\WWW\small\syyxy\php\app\worker\controller\Worker.php(32): json_decode(Object(Workerman\Connection\TcpConnection), true)
  54. #2 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(2469): app\worker\controller\Worker->onConnect(Object(Workerman\Connection\TcpConnection))
  55. #3 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Events\Select.php(292): Workerman\Worker->acceptConnection(Resource id #187)
  56. #4 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(2402): Workerman\Events\Select->loop()
  57. #5 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1397): Workerman\Worker->run()
  58. #6 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1340): Workerman\Worker::forkWorkersForWindows()
  59. #7 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(539): Workerman\Worker::forkWorkers()
  60. #8 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\think-worker\src\command\Server.php(75): Workerman\Worker::runAll()
  61. #9 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\console\Command.php(210): think\worker\command\Server->execute(Object(think\console\Input), Object(think\console\Output))
  62. #10 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(600): think\console\Command->run(Object(think\console\Input), Object(think\console\Output))
  63. #11 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(259): think\Console->doRunCommand(Object(think\worker\command\Server), Object(think\console\Input), Object(think\console\Output))
  64. #12 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(196): think\Console->doRun(Object(think\console\Input), Object(think\console\Output))
  65. #13 D:\phpstudy_pro\WWW\small\syyxy\php\think(19): think\Console->run()
  66. #14 {main}
  67. 2020-03-03 14:06:57 pid:1 Worker process terminated
  68. 2020-03-03 14:08:31 pid:1 Worker process terminated
  69. 2020-03-03 14:08:49 pid:1 1212
  70. 2020-03-03 14:12:18 pid:1 1212
  71. 2020-03-03 14:12:18 pid:1 Error: Call to undefined method GatewayWorker\Gateway::sendToAll() in D:\phpstudy_pro\WWW\small\syyxy\php\app\worker\controller\Worker.php:40
  72. Stack trace:
  73. #0 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Connection\TcpConnection.php(656): app\worker\controller\Worker->onMessage(Object(Workerman\Connection\TcpConnection), '{"code":1,"name...')
  74. #1 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Events\Select.php(292): Workerman\Connection\TcpConnection->baseRead(Resource id #221)
  75. #2 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(2402): Workerman\Events\Select->loop()
  76. #3 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1397): Workerman\Worker->run()
  77. #4 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1340): Workerman\Worker::forkWorkersForWindows()
  78. #5 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(539): Workerman\Worker::forkWorkers()
  79. #6 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\think-worker\src\command\Server.php(75): Workerman\Worker::runAll()
  80. #7 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\console\Command.php(210): think\worker\command\Server->execute(Object(think\console\Input), Object(think\console\Output))
  81. #8 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(600): think\console\Command->run(Object(think\console\Input), Object(think\console\Output))
  82. #9 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(259): think\Console->doRunCommand(Object(think\worker\command\Server), Object(think\console\Input), Object(think\console\Output))
  83. #10 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(196): think\Console->doRun(Object(think\console\Input), Object(think\console\Output))
  84. #11 D:\phpstudy_pro\WWW\small\syyxy\php\think(19): think\Console->run()
  85. #12 {main}
  86. 2020-03-03 14:12:18 pid:1 Worker process terminated
  87. 2020-03-03 14:13:03 pid:1 Error: Call to undefined method GatewayWorker\Lib\Gateway::log() in D:\phpstudy_pro\WWW\small\syyxy\php\app\worker\controller\Worker.php:31
  88. Stack trace:
  89. #0 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(2469): app\worker\controller\Worker->onConnect(Object(Workerman\Connection\TcpConnection))
  90. #1 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Events\Select.php(292): Workerman\Worker->acceptConnection(Resource id #187)
  91. #2 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(2402): Workerman\Events\Select->loop()
  92. #3 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1397): Workerman\Worker->run()
  93. #4 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1340): Workerman\Worker::forkWorkersForWindows()
  94. #5 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(539): Workerman\Worker::forkWorkers()
  95. #6 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\think-worker\src\command\Server.php(75): Workerman\Worker::runAll()
  96. #7 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\console\Command.php(210): think\worker\command\Server->execute(Object(think\console\Input), Object(think\console\Output))
  97. #8 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(600): think\console\Command->run(Object(think\console\Input), Object(think\console\Output))
  98. #9 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(259): think\Console->doRunCommand(Object(think\worker\command\Server), Object(think\console\Input), Object(think\console\Output))
  99. #10 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(196): think\Console->doRun(Object(think\console\Input), Object(think\console\Output))
  100. #11 D:\phpstudy_pro\WWW\small\syyxy\php\think(19): think\Console->run()
  101. #12 {main}
  102. 2020-03-03 14:13:03 pid:1 Worker process terminated
  103. 2020-03-03 14:13:18 pid:1 think\exception\ErrorException: stream_socket_client(): unable to connect to tcp://127.0.0.1:1236 (由于目标计算机积极拒绝,无法连接。
  104. ) in D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\gateway-worker\src\Lib\Gateway.php:1317
  105. Stack trace:
  106. #0 [internal function]: think\initializer\Error->appError(2, 'stream_socket_c...', 'D:\\phpstudy_pro...', 1317, Array)
  107. #1 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\gateway-worker\src\Lib\Gateway.php(1317): stream_socket_client('tcp://127.0.0.1...', 10061, '\xD3\xC9\xD3\xDA\xC4\xBF\xB1\xEA\xBC\xC6\xCB\xE3\xBB\xFA\xBB...', 3)
  108. #2 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\gateway-worker\src\Lib\Gateway.php(1235): GatewayWorker\Lib\Gateway::getAllGatewayAddressesFromRegister()
  109. #3 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\gateway-worker\src\Lib\Gateway.php(112): GatewayWorker\Lib\Gateway::sendToAllGateway(Array)
  110. #4 D:\phpstudy_pro\WWW\small\syyxy\php\app\worker\controller\Worker.php(41): GatewayWorker\Lib\Gateway::sendToAll('21212')
  111. #5 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Connection\TcpConnection.php(656): app\worker\controller\Worker->onMessage(Object(Workerman\Connection\TcpConnection), '{"code":1,"name...')
  112. #6 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Events\Select.php(292): Workerman\Connection\TcpConnection->baseRead(Resource id #219)
  113. #7 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(2402): Workerman\Events\Select->loop()
  114. #8 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1397): Workerman\Worker->run()
  115. #9 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1340): Workerman\Worker::forkWorkersForWindows()
  116. #10 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(539): Workerman\Worker::forkWorkers()
  117. #11 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\think-worker\src\command\Server.php(75): Workerman\Worker::runAll()
  118. #12 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\console\Command.php(210): think\worker\command\Server->execute(Object(think\console\Input), Object(think\console\Output))
  119. #13 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(600): think\console\Command->run(Object(think\console\Input), Object(think\console\Output))
  120. #14 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(259): think\Console->doRunCommand(Object(think\worker\command\Server), Object(think\console\Input), Object(think\console\Output))
  121. #15 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(196): think\Console->doRun(Object(think\console\Input), Object(think\console\Output))
  122. #16 D:\phpstudy_pro\WWW\small\syyxy\php\think(19): think\Console->run()
  123. #17 {main}
  124. 2020-03-03 14:13:18 pid:1 Worker process terminated
  125. 2020-03-03 14:13:44 pid:1 think\exception\ErrorException: stream_socket_client(): unable to connect to tcp://127.0.0.1:1236 (由于目标计算机积极拒绝,无法连接。
  126. ) in D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\gateway-worker\src\Lib\Gateway.php:1317
  127. Stack trace:
  128. #0 [internal function]: think\initializer\Error->appError(2, 'stream_socket_c...', 'D:\\phpstudy_pro...', 1317, Array)
  129. #1 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\gateway-worker\src\Lib\Gateway.php(1317): stream_socket_client('tcp://127.0.0.1...', 10061, '\xD3\xC9\xD3\xDA\xC4\xBF\xB1\xEA\xBC\xC6\xCB\xE3\xBB\xFA\xBB...', 3)
  130. #2 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\gateway-worker\src\Lib\Gateway.php(1235): GatewayWorker\Lib\Gateway::getAllGatewayAddressesFromRegister()
  131. #3 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\gateway-worker\src\Lib\Gateway.php(112): GatewayWorker\Lib\Gateway::sendToAllGateway(Array)
  132. #4 D:\phpstudy_pro\WWW\small\syyxy\php\app\worker\controller\Worker.php(41): GatewayWorker\Lib\Gateway::sendToAll('21212')
  133. #5 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Connection\TcpConnection.php(656): app\worker\controller\Worker->onMessage(Object(Workerman\Connection\TcpConnection), '{"code":1,"name...')
  134. #6 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Events\Select.php(292): Workerman\Connection\TcpConnection->baseRead(Resource id #221)
  135. #7 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(2402): Workerman\Events\Select->loop()
  136. #8 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1397): Workerman\Worker->run()
  137. #9 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(1340): Workerman\Worker::forkWorkersForWindows()
  138. #10 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\workerman\workerman\Worker.php(539): Workerman\Worker::forkWorkers()
  139. #11 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\think-worker\src\command\Server.php(75): Workerman\Worker::runAll()
  140. #12 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\console\Command.php(210): think\worker\command\Server->execute(Object(think\console\Input), Object(think\console\Output))
  141. #13 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(600): think\console\Command->run(Object(think\console\Input), Object(think\console\Output))
  142. #14 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(259): think\Console->doRunCommand(Object(think\worker\command\Server), Object(think\console\Input), Object(think\console\Output))
  143. #15 D:\phpstudy_pro\WWW\small\syyxy\php\vendor\topthink\framework\src\think\Console.php(196): think\Console->doRun(Object(think\console\Input), Object(think\console\Output))
  144. #16 D:\phpstudy_pro\WWW\small\syyxy\php\think(19): think\Console->run()
  145. #17 {main}
  146. 2020-03-03 14:13:44 pid:1 Worker process terminated
  147. 2020-06-05 14:38:43 pid:1 Worker process terminated
  148. 2020-06-05 14:40:21 pid:1 Worker process terminated
  149. 2020-06-10 13:20:31 pid:1 Worker process terminated
  150. 2020-06-10 13:20:53 pid:1 Worker process terminated
  151. 2020-06-10 13:21:12 pid:1 Worker process terminated