Closed su-chang closed 4 years ago
Other Relate Logs
Other Relate Logs
Other Relate Logs
This bug will be fixed in wechaty-puppet-donut@0.0.26
.
Reason:
description
of UrlLink is too long for send mesasge, and then it will make the WeChat crashed.description
contain some special characters, e.g. <
>
, it will make UrlLink message turn to an unknow type message in PC WeChat which could not send successfully.Shall we close this issue?
Okay, this bug has not happened for three days and will be closed now.
0. Report Issue Guide
Please run the following command and check whether the problem has been fixed:
Please search in FAQ List first, and make sure your problem has not been solved before.
Please search in the issue first, and make sure your problem had not been reported before
1. Versions
What is your wechaty version? Answer:0.37.5
What is your wechaty-puppet-donut version? Answer:0.0.23
What is your node version? (run
node --version
) Answer: 10.16.0What os are you using Answer:MacOS
2. Describe the bug
Give a clear and concise description of what the bug is.
3. To Reproduce
This part is very important: if you can not provide any reproduce steps, then the problem will be very hard to be recognized.
Steps to reproduce the behavior:
4. Expected behavior
Give a clear and concise description of what you expected to happen.
5. Actual behavior
If applicable, add screenshots to help explain your problem. But do not paste log screenshots here.
6. Full Output Logs
Set env
WECHATY_LOG=silly
in order to set log level to silly, then we can get the full log (If you dosen't set log env, log level is info as default, we cannot get the full log)We need full log instead of log screenshot or log fragments!
Show Logs
```shell $ WECHATY_LOG=silly node yourbot.js Question: Paste your FULL(DO NOT ONLY PROVIDE FRAGMENTS) log messages Answer: 15:10:23 SILL Puppet contactPayload(wxid_7906109061112) cache SET 15:10:26 SILL Io start() setInterval() ws.ping() 15:10:27 ERR PuppetServiceImpl grpcError() roomPayload() rejection: get room timeout { code: 13, details: 'get room timeout' } 15:10:27 VERB PuppetServiceImpl messageSendUrl() 15:10:27 VERB PuppetDonut messageSendUrl("8676247154@chatroom", {"description":"Kudos, SonarCloud Quality Gate passed!\n\n[](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=BUG) \n[](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=VULNERABILITY) (and [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=SECURITY_HOTSPOT) to review) \n[](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=CODE_SMELL)\n\n[](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_coverage&view=list) [33.9% Coverage](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_coverage&view=list) \n[](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_duplicated_lines_density&view=list) [2.3% Duplication](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_duplicated_lines_density&view=list)\n\n","thumbnailUrl":"https://avatars2.githubusercontent.com/in/12526?v=4","title":"#356 add today for dependent item apache/incubator-dolphinscheduler","url":"https://github.com/apache/incubator-dolphinscheduler/pull/356#issuecomment-613265892"}) 15:10:27 SILL request(SEND_LINKMSG, [object Object]) 15:10:27 VERB Donut(ffi-adapter) SendWeChatData(1,{"data":{"desc":"Kudos, SonarCloud Quality Gate passed!\n\n[](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=BUG) \n[](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=VULNERABILITY) (and [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=SECURITY_HOTSPOT) to review) \n[](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=CODE_SMELL)\n\n[](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_coverage&view=list) [33.9% Coverage](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_coverage&view=list) \n[](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_duplicated_lines_density&view=list) [2.3% Duplication](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_duplicated_lines_density&view=list)\n\n","image_url":"https://avatars2.githubusercontent.com/in/12526?v=4","title":"#356 add today for dependent item apache/incubator-dolphinscheduler","to_wxid":"8676247154@chatroom","url":"https://github.com/apache/incubator-dolphinscheduler/pull/356#issuecomment-613265892"},"type":11039}) 15:10:27 VERB ffi-adapter Backend.lib(0: "C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dlls\WxLoader.dll") 15:10:32 VERB PuppetServiceImpl messageSendUrl() 15:10:32 VERB PuppetDonut messageSendUrl("19237597168@chatroom", {"description":"Kudos, SonarCloud Quality Gate passed!\n\n[](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=BUG) \n[](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=VULNERABILITY) (and [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=SECURITY_HOTSPOT) to review) \n[](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=CODE_SMELL)\n\n[](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_coverage&view=list) [33.9% Coverage](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_coverage&view=list) \n[](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_duplicated_lines_density&view=list) [2.3% Duplication](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_duplicated_lines_density&view=list)\n\n","thumbnailUrl":"https://avatars2.githubusercontent.com/in/12526?v=4","title":"#356 add today for dependent item apache/incubator-dolphinscheduler","url":"https://github.com/apache/incubator-dolphinscheduler/pull/356#issuecomment-613265892"}) 15:10:32 SILL request(SEND_LINKMSG, [object Object]) 15:10:32 VERB Donut(ffi-adapter) SendWeChatData(1,{"data":{"desc":"Kudos, SonarCloud Quality Gate passed!\n\n[](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=BUG) \n[](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=VULNERABILITY) (and [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=SECURITY_HOTSPOT) to review) \n[](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&pullRequest=356&resolved=false&types=CODE_SMELL)\n\n[](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_coverage&view=list) [33.9% Coverage](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_coverage&view=list) \n[](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_duplicated_lines_density&view=list) [2.3% Duplication](https://sonarcloud.io/component_measures?id=apache-dolphinscheduler&pullRequest=356&metric=new_duplicated_lines_density&view=list)\n\n","image_url":"https://avatars2.githubusercontent.com/in/12526?v=4","title":"#356 add today for dependent item apache/incubator-dolphinscheduler","to_wxid":"19237597168@chatroom","url":"https://github.com/apache/incubator-dolphinscheduler/pull/356#issuecomment-613265892"},"type":11039}) 15:10:32 VERB ffi-adapter Backend.lib(0: "C:\Users\Administrator\Desktop\testPuppetWindows\wechaty\node_modules\@juzibot\wechaty-puppet-donut\dlls\WxLoader.dll") 15:10:35 VERB PuppetServiceImpl ding() 15:10:35 SILL PuppetDonut ding(recover$() CPR) 15:10:35 VERB EventStreamManager grpcEmit(EVENT_TYPE_DONG[3], {"data":"recover$() CPR"}) 15:10:36 SILL Io start() setInterval() ws.ping() 15:10:46 SILL Io start() setInterval() ws.ping() 15:10:49 SILL You have already close WeChat : 1 ```7. Additional context
Add any other context about the problem here.
[bug]