调用bot.Room.create,报错
17:58:31 WARN sendShort receive unknown package: [126] 7e0ffffffff3000000009642180d000000005b12f687450000a90500 [��E �║ ] B
17:58:31 ERR Room create() exception: UNKNOWN_PACKAGE
UNKNOWN_PACKAGE
17:58:32 INFO PadproManager Connection has problem, reset self to recover the connection.
17:58:32 INFO CacheManager release()
17:58:32 INFO CacheManager release()
17:58:32 INFO WechatGateway stop()
17:58:32 INFO WechatGateway initLongSocket() connection to wechat long host server: 163.177.81.141 ended.
17:58:32 INFO WechatGateway stop() finished
17:58:32 INFO WechatGateway init(puppet_padpro_8owoml2onkuw9h39, padpro.botorange.com:6666, undefined)
17:58:32 INFO WechatGateway initLongSocket() connection to wechat long host server: 163.177.81.141 closed.
3. 复现的步骤 (或者解决的步骤)
这一部分非常重要,如果你无法给出复现步骤,我们也很难提供相应的解决办法:
复现步骤中一定要给出复现代码
const helperContactA = await bot.Contact.find({ name: 'a' }) // change 'lijiarui' to any contact in your wechat;
const helperContactB = await bot.Contact.find({ name: 'b' }) // change 'juxiaomi' to any contact in your wechat;
const contactList = [helperContactA, helperContactB]
console.log('Bot', 'contactList: %s', contactList.join(','))
const room = await bot.Room.create(contactList, `ding${number++}`);
console.log('Bot', 'createDingRoom() new ding room created: %s', room)
0. 发 Issue 指南
请运行下面的命令,看问题是否可以被解决:
请在 FAQ 清单 看是否已有解决办法。
请先在issue 中搜关键信息,确认你要发的内容和之前的issue 不重复。
1. 提供你的包版本信息
2. Bug 描述
调用bot.Room.create,报错 17:58:31 WARN sendShort receive unknown package: [126] 7e0ffffffff3000000009642180d000000005b12f687450000a90500 [��E �║ ] B 17:58:31 ERR Room create() exception: UNKNOWN_PACKAGE UNKNOWN_PACKAGE 17:58:32 INFO PadproManager Connection has problem, reset self to recover the connection. 17:58:32 INFO CacheManager release() 17:58:32 INFO CacheManager release() 17:58:32 INFO WechatGateway stop() 17:58:32 INFO WechatGateway initLongSocket() connection to wechat long host server: 163.177.81.141 ended. 17:58:32 INFO WechatGateway stop() finished 17:58:32 INFO WechatGateway init(puppet_padpro_8owoml2onkuw9h39, padpro.botorange.com:6666, undefined) 17:58:32 INFO WechatGateway initLongSocket() connection to wechat long host server: 163.177.81.141 closed.
3. 复现的步骤 (或者解决的步骤)
这一部分非常重要,如果你无法给出复现步骤,我们也很难提供相应的解决办法:
复现步骤中一定要给出复现代码
4. 期待程序运行的结果
请用精简的语言描述你期待运行的结果
5. 程序实际运行的结果
请用精简的语言或者截图描述实际运行的结果(请不要在这里粘贴日志截图)
6. 完整的日志信息:
通过
WECHATY_LOG=silly
设定环境变量,将设置log 等级为 silly,获取最详细的日志信息(默认log 等级为 info) 请提供完整的日志信息(不要只提供部分的日志截图,请复制粘贴日志内容!)Show Logs
```shell $ WECHATY_LOG=silly node yourbot.js ```7. 其他信息
有相关bug 的背景信息,可以在这里说明
[bug]