Open hailiang-wang opened 3 years ago
It's very hard to understand the program situation without any reproducible steps.
HAWechaty definitely has lots of bugs (it's still WIP), and the PuppetPadlocal has issues sometimes too.
If we find any reproducible steps, I'd like to dig into them and see what happens.
更多日志
osschat_1 | at /app/node_modules/rxjs/dist/cjs/internal/operators/observeOn.js:10:197
osschat_1 | at QueueAction.work (/app/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js:8:9)
osschat_1 | at QueueAction.AsyncAction._execute (/app/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:76:18)
osschat_1 | at QueueAction.execute (/app/node_modules/rxjs/dist/cjs/internal/scheduler/QueueAction.js:41:18)
osschat_1 | at QueueScheduler.AsyncScheduler.flush (/app/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js:39:33)
osschat_1 | at QueueAction.schedule (/app/node_modules/rxjs/dist/cjs/internal/scheduler/QueueAction.js:35:24)
osschat_1 | at QueueScheduler.Scheduler.schedule (/app/node_modules/rxjs/dist/cjs/internal/Scheduler.js:13:57)
osschat_1 | at Object.executeSchedule (/app/node_modules/rxjs/dist/cjs/internal/util/executeSchedule.js:7:42)
osschat_1 | at /app/node_modules/rxjs/dist/cjs/internal/operators/observeOn.js:10:126
osschat_1 | at OperatorSubscriber._this._next (/app/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:28:21)
osschat_1 | at OperatorSubscriber.Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:72:18)
osschat_1 | at /app/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:28:28
osschat_1 | at OperatorSubscriber._this._next (/app/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:28:21)
osschat_1 | at OperatorSubscriber.Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:72:18)
osschat_1 | at /app/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:28:28
osschat_1 | at OperatorSubscriber._this._next (/app/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:28:21)
osschat_1 | at OperatorSubscriber.Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:72:18)
osschat_1 | at /app/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:28:28
osschat_1 | at OperatorSubscriber._this._next (/app/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:28:21)
osschat_1 | at OperatorSubscriber.Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:72:18)
osschat_1 | at /app/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js:17:190
osschat_1 | at OperatorSubscriber._this._next (/app/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:28:21)
osschat_1 | at OperatorSubscriber.Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:72:18)
osschat_1 | at /app/node_modules/rxjs/dist/cjs/internal/operators/mergeInternals.js:28:28
osschat_1 | at OperatorSubscriber._this._next (/app/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:28:21)
osschat_1 | at OperatorSubscriber.Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:72:18)
osschat_1 | at /app/node_modules/rxjs/dist/cjs/internal/operators/map.js:10:24
osschat_1 | at OperatorSubscriber._this._next (/app/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:28:21)
osschat_1 | at OperatorSubscriber.Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:72:18)
osschat_1 | at AsyncAction.work (/app/node_modules/rxjs/dist/cjs/internal/observable/timer.js:28:28)
osschat_1 | at AsyncAction._execute (/app/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:76:18)
osschat_1 | at AsyncAction.execute (/app/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncAction.js:64:26)
osschat_1 | at AsyncScheduler.flush (/app/node_modules/rxjs/dist/cjs/internal/scheduler/AsyncScheduler.js:39:33)
osschat_1 | at listOnTimeout (internal/timers.js:557:17)
osschat_1 | at processTimers (internal/timers.js:500:7)
osschat_1 | 06:28:42 VERB StateSwitch <PuppetPadlocal> ready(off, noCross=false)
osschat_1 | 06:28:42 WARN [PuppetPadlocal] stop() is called on a OFF puppet. await ready(off) and return.
osschat_1 | 06:29:22 VERB Contact say(ding)
osschat_1 | 06:30:50 VERB Contact say(ding)
osschat_1 | 06:32:18 VERB Contact say(ding)
osschat_1 | 06:33:47 VERB Contact say(ding)
Service does not work, with following trace.
Describe the solution you'd like
When OSSChat is restarted, the bot is up and works.
Auto detect the error and exit, as later the server would auto restart with some monitor.