Skip to content

[Bug]:  #427

Description

@liyancai

Environment

- wechaty:
- wechaty-puppet: 
- wechaty-puppet-service: 
- wechaty-plugin-contrib: 
- token type: padlocal|wxwork|xp
- the version of wechaty docker container: [0.65]

Description

Error: WatchdogAgent reset: lastFood: "{"data":"heartbeat@browserbridge ding","timeoutMilliseconds":60000}"

每隔一段时间以后,就会报这个错误,死掉了,只能手动重启服务。

Minimum reproducible code

const bot = WechatyBuilder.build({
name: 'wechat-bot-' + wechatBotId,
puppet: 'wechaty-puppet-wechat', // 默认 wechaty-puppet-wechat
puppetOptions: {
uos: true // 开启uos协议
},
});

bot.on('scan', onScan)
bot.on('login', onLogin)
bot.on('logout', onLogout)
bot.on('message', onMessage)
bot.on('heartbeat', onHeartbeat)
bot.on('error', onError)

bot.start()
.then(() => {
log.info('启动机器人:', 'Starter Bot Started.')
})
.catch(e => {
log.error('启动时异常:', e)
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions