Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

discarded message because puppet is not logged-in #266

Open
nauyniq opened this issue Apr 15, 2019 · 0 comments
Open

discarded message because puppet is not logged-in #266

nauyniq opened this issue Apr 15, 2019 · 0 comments

Comments

@nauyniq
Copy link

nauyniq commented Apr 15, 2019

重要:请不要删除模板自行填写,所有不按照模板填写的issue,我们将不会处理。

0. 发 Issue 指南

  1. 请运行下面的命令,看问题是否可以被解决:
rm -rf package-lock.json
rm -rf node_modules
npm install
  1. 请在 FAQ 清单 看是否已有解决办法。

  2. 请先在issue 中搜关键信息,确认你要发的内容和之前的issue 不重复。

1. 提供你的包版本信息

  • wechaty 版本:0.23.40
  • wechaty-puppet-padchat 版本:0.17.22
  • node 版本: (运行 node --version 获取版本) v.10.8.0
  • 你使用的操作系统:

2. Bug 描述

请用精简的语言描述你遇到的bug

我们的bot在运行的过程中,会发生一种假死的状态,偶尔发生的是只能接收消息不能发送消息,也有时候接受和发送都不支持,并且logout事件监听不到这种情况的发生
发现之前有人反应过这种问题,想知道有没有对应的解决方案

因为不是必然发生的所以没有复现步骤。。

3. 复现的步骤 (或者解决的步骤)

这一部分非常重要,如果你无法给出复现步骤,我们也很难提供相应的解决办法:

复现步骤中一定要给出复现代码

例子:

  • 第一步:
  • 第二步:
  • 。。。

4. 期待程序运行的结果

请用精简的语言描述你期待运行的结果

5. 程序实际运行的结果

请用精简的语言或者截图描述实际运行的结果(请不要在这里粘贴日志截图

6. 完整的日志信息:

通过WECHATY_LOG=silly设定环境变量,将设置log 等级为 silly,获取最详细的日志信息(默认log 等级为 info)
请提供完整的日志信息(不要只提供部分的日志截图,请复制粘贴日志内容!)

$ WECHATY_LOG=silly node yourbot.js


11:54:44 WARN PuppetPadchat onPadchatMessage({"content":"wxid_okzjq68mf1m522:\n空调格拿了没@志OoO宏 ","continue":1,"description":"","from_user":"5339844681@chatroom","msg_id":"1031558142399292404","msg_source":"<msgsource>\n\t<atuserlist>wxid_wq97o7m25yrb21</atuserlist>\n\t<silence>1</silence>\n\t<membercount>14</membercount>\n</msgsource>\n","msg_type":5,"status":1,"sub_type":1,"timestamp":1555299985,"to_user":"wxid_0dfh02oi70yn22","uin":250927186}) discarded message because puppet is not logged-in
11:54:44 WARN PuppetPadchat onPadchatMessage({"content":"wxid_2g8dqb9mscqp21:\n@张李周 ","continue":1,"description":"李刚 : @张李周 ","from_user":"10214182469@chatroom","msg_id":"938823861498002138","msg_source":"<msgsource>\n\t<atuserlist>wxid_w9hn6rql7ug512</atuserlist>\n\t<silence>0</silence>\n\t<membercount>18</membercount>\n</msgsource>\n","msg_type":5,"status":1,"sub_type":1,"timestamp":1555300004,"to_user":"wxid_0dfh02oi70yn22","uin":250927186}) discarded message because puppet is not logged-in
11:54:44 WARN PuppetPadchat onPadchatMessage({"content":"wxid_n850givewmzw22:\n能给往门店送一下吗","continue":1,"description":"","from_user":"12675065216@chatroom","msg_id":"4237214915624725424","msg_source":"<msgsource>\n\t<silence>1</silence>\n\t<membercount>28</membercount>\n</msgsource>\n","msg_type":5,"status":1,"sub_type":1,"timestamp":1555300013,"to_user":"wxid_0dfh02oi70yn22","uin":250927186}) discarded message because puppet is not logged-in
11:54:44 WARN PuppetPadchat onPadchatMessage({"content":"wxid_n850givewmzw22:\n@陈艳超 ","continue":1,"description":"","from_user":"12675065216@chatroom","msg_id":"3699455524878182167","msg_source":"<msgsource>\n\t<atuserlist><![CDATA[wxid_vluwyyvo7eqz11]]></atuserlist>\n\t<silence>1</silence>\n\t<membercount>28</membercount>\n</msgsource>\n","msg_type":5,"status":1,"sub_type":1,"timestamp":1555300023,"to_user":"wxid_0dfh02oi70yn22","uin":250927186}) discarded message because puppet is not logged-in
11:54:44 WARN PuppetPadchat onPadchatMessage({"content":"wxid_kbsxb4x0gpbj22:\nLE4HG3GB2EL163515机滤  空滤  报下价便宜的   店面在管庄路","continue":1,"description":"余勇宏 : LE4HG3GB2EL163515机滤  空滤  >报下价便宜的   店面在管庄路","from_user":"5601803458@chatroom","msg_id":"2559523605085652085","msg_source":"<msgsource>\n\t<silence>0</silence>\n\t<membercount>26</membercount>\n</msgsource>\n","msg_type":5,"status":1,"sub_type":1,"timestamp":1555300026,"to_user":"wxid_0dfh02oi70yn22","uin":250927186}) discarded message because puppet is not logged-in
11:54:44 WARN PuppetPadchat onPadchatMessage({"content":"wxid_2g8dqb9mscqp21:\n@张李周 珠富  森林人升降器开关  580\n协调下钱","continue":1,"description":"李刚 : @张李周 珠富  森林人升降器开关  580\n协调下
钱","from_user":"10214182469@chatroom","msg_id":"3317251785778583243","msg_source":"<msgsource>\n\t<silence>0</silence>\n\t<membercount>18</membercount>\n</msgsource>\n","msg_type":5,"status":1,"sub_type":1,"timestamp":1555300027,"to_user":"wxid_0dfh02oi70yn22","uin":250927186}) discarded message because puppet is not logged-in
11:54:44 WARN PuppetPadchat onPadchatMessage({"content":"i9920909:\n前面的减震器     油底壳垫   前刹车盘    ","continue":1,"description":"也对也错 : 前面的减震器     油底壳垫   前刹车盘    ","from_user":"12000111752@chatroom","msg_id":"4682029394879915894","msg_source":"<msgsource>\n\t<silence>0</silence>\n\t<membercount>18</membercount>\n</msgsource>\n","msg_type":5,"status":1,"sub_type":1,"timestamp":1555300029,"to_user":"wxid_0dfh02oi70yn22","uin":250927186}) discarded message because puppet is not logged-in

7. 其他信息

有相关bug 的背景信息,可以在这里说明

[bug]

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

No branches or pull requests

1 participant