Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: #427

Open
liyancai opened this issue Jun 3, 2024 · 0 comments
Open

[Bug]: #427

liyancai opened this issue Jun 3, 2024 · 0 comments

Comments

@liyancai
Copy link

liyancai commented Jun 3, 2024

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)
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant