You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2023-08-08T00:03:28.439] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is close, remote server host: 10.65.189.10, port: 3005Error:
at Logger.pLogger. [as error] (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-logger/lib/logger.ts:76:34)
at Connection. (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-admin/lib/protocol/mqtt/mqttClient.ts:108:20)
at Connection.emit (node:events:390:28)
at Socket.emit (node:events:390:28)
at TCP. (node:net:687:12)
[2023-08-08T00:04:28.440] [INFO] pinus-admin - [master-server-1 mqttClient.js] reconnect delay 60 s
[2023-08-08T00:04:28.442] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is error, remote server host: 10.65.189.10, port: 3005Error:
at Logger.pLogger. [as error] (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-logger/lib/logger.ts:76:34)
at Connection. (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-admin/lib/protocol/mqtt/mqttClient.ts:113:20)
at Connection.emit (node:events:390:28)
at Socket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2023-08-08T00:04:28.442] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is close, remote server host: 10.65.189.10, port: 3005Error:
at Logger.pLogger. [as error] (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-logger/lib/logger.ts:76:34)
at Connection. (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-admin/lib/protocol/mqtt/mqttClient.ts:108:20)
at Connection.emit (node:events:390:28)
at Socket.emit (node:events:390:28)
at TCP. (node:net:687:12)
[2023-08-08T00:05:28.442] [INFO] pinus-admin - [master-server-1 mqttClient.js] reconnect delay 60 s
[2023-08-08T00:05:28.444] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is error, remote server host: 10.65.189.10, port: 3005Error:
at Logger.pLogger. [as error] (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-logger/lib/logger.ts:76:34)
at Connection. (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-admin/lib/protocol/mqtt/mqttClient.ts:113:20)
at Connection.emit (node:events:390:28)
at Socket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2023-08-08T00:05:28.445] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is close, remote server host: 10.65.189.10, port: 3005Error:
at Logger.pLogger. [as error] (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-logger/lib/logger.ts:76:34)
at Connection. (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-admin/lib/protocol/mqtt/mqttClient.ts:108:20)
at Connection.emit (node:events:390:28)
at Socket.emit (node:events:390:28)
at TCP. (node:net:687:12)
[2023-08-08T00:06:28.445] [INFO] pinus-admin - [master-server-1 mqttClient.js] reconnect delay 60 s
[2023-08-08T00:06:28.447] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is error, remote server host: 10.65.189.10, port: 3005Error:
at Logger.pLogger. [as error] (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-logger/lib/logger.ts:76:34)
at Connection. (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-admin/lib/protocol/mqtt/mqttClient.ts:113:20)
at Connection.emit (node:events:390:28)
at Socket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2023-08-08T00:06:28.447] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is close, remote server host: 10.65.189.10, port: 3005Error:
2023-08-08T00:03:28.439] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is close, remote server host: 10.65.189.10, port: 3005Error:
at Logger.pLogger. [as error] (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-logger/lib/logger.ts:76:34)
at Connection. (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-admin/lib/protocol/mqtt/mqttClient.ts:108:20)
at Connection.emit (node:events:390:28)
at Socket.emit (node:events:390:28)
at TCP. (node:net:687:12)
[2023-08-08T00:04:28.440] [INFO] pinus-admin - [master-server-1 mqttClient.js] reconnect delay 60 s
[2023-08-08T00:04:28.442] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is error, remote server host: 10.65.189.10, port: 3005Error:
at Logger.pLogger. [as error] (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-logger/lib/logger.ts:76:34)
at Connection. (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-admin/lib/protocol/mqtt/mqttClient.ts:113:20)
at Connection.emit (node:events:390:28)
at Socket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2023-08-08T00:04:28.442] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is close, remote server host: 10.65.189.10, port: 3005Error:
at Logger.pLogger. [as error] (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-logger/lib/logger.ts:76:34)
at Connection. (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-admin/lib/protocol/mqtt/mqttClient.ts:108:20)
at Connection.emit (node:events:390:28)
at Socket.emit (node:events:390:28)
at TCP. (node:net:687:12)
[2023-08-08T00:05:28.442] [INFO] pinus-admin - [master-server-1 mqttClient.js] reconnect delay 60 s
[2023-08-08T00:05:28.444] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is error, remote server host: 10.65.189.10, port: 3005Error:
at Logger.pLogger. [as error] (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-logger/lib/logger.ts:76:34)
at Connection. (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-admin/lib/protocol/mqtt/mqttClient.ts:113:20)
at Connection.emit (node:events:390:28)
at Socket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2023-08-08T00:05:28.445] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is close, remote server host: 10.65.189.10, port: 3005Error:
at Logger.pLogger. [as error] (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-logger/lib/logger.ts:76:34)
at Connection. (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-admin/lib/protocol/mqtt/mqttClient.ts:108:20)
at Connection.emit (node:events:390:28)
at Socket.emit (node:events:390:28)
at TCP. (node:net:687:12)
[2023-08-08T00:06:28.445] [INFO] pinus-admin - [master-server-1 mqttClient.js] reconnect delay 60 s
[2023-08-08T00:06:28.447] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is error, remote server host: 10.65.189.10, port: 3005Error:
at Logger.pLogger. [as error] (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-logger/lib/logger.ts:76:34)
at Connection. (/home/gpx/app/avg-game-engine-2d/node_modules/pinus-admin/lib/protocol/mqtt/mqttClient.ts:113:20)
at Connection.emit (node:events:390:28)
at Socket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2023-08-08T00:06:28.447] [ERROR] pinus-admin - [master-server-1 mqttClient.js] mqtt socket is close, remote server host: 10.65.189.10, port: 3005Error:
通过上面的报错信息,查看了一下代码,代码触发了socket的close和error,然后调了self.onSocketClose();在onSocketClose()方法里面,把this.closed设成了true,然后调了一次reconnect,reconnect里面起了一个定时器去调connect方法,connect方法又把this.closed设成了false,connect不上又触发了socket的close和error,然后一直循环
The text was updated successfully, but these errors were encountered: