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

Lost a room in a sudden #60

Open
huan opened this issue Nov 14, 2020 · 4 comments
Open

Lost a room in a sudden #60

huan opened this issue Nov 14, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@huan
Copy link
Member

huan commented Nov 14, 2020

We saw the community member number go down in our status page chart and then we found out that we lost a room when we are calling roomList() API.

Status Page

https://chatie.statuspage.io/:

image

ChatOps Room

eval
  const roomList = await this.wechaty.Room.findAll({ topic: /Wechaty Developer/i });
  let total = 0;
  let text='Summary:\n';
  for (const room of roomList.sort((a,b)=>a.payload.topic.localeCompare(b.payload.topic))) {
    const memberList = await room.memberAll();
    text = text+'\n'+await room.topic()+': '+memberList.length;
    total = total+memberList.length;
  };
  text = text+'\nTotal: '+total;
  this.log(text);

image

To be investigated

We ran into this situation before for once, so after this time, we can believe this is a BUG behind the Puppet Server (Upstream).

@huan huan added the bug Something isn't working label Nov 14, 2020
@huan
Copy link
Member Author

huan commented Nov 15, 2020

Back to normal today according to the status Page.

Did you restart the service for our bot? @su-chang

@huan
Copy link
Member Author

huan commented Nov 27, 2020

Today this problem appeared again.

image

From investigating it seems that we lost our Home 7

Summary:

Wechaty Developers' Headquarters: 9
Wechaty Developers' Home 1: 308
Wechaty Developers' Home 2: 308
Wechaty Developers' Home 3: 308
Wechaty Developers' Home 4: 309
Wechaty Developers' Home 5: 308
Wechaty Developers' Home 6: 354
Wechaty Developers' Home 8: 309
Wechaty Developers' Home 9: 11
Wechaty Developers' Home Chinese: 4
Wechaty Developers' Home English: 4
Total: 2232

@huan
Copy link
Member Author

huan commented Nov 30, 2020

Related to #62

Error: 13 INTERNAL: can not get message callback response, data: {"content":"Message#Url[🗣Contact<微信团队>]","to_wxid":"18131996049@chatroom"}

image

@huan
Copy link
Member Author

huan commented Dec 3, 2020

Today we lost rooms again but it's related to the Rock service. See: wechaty/puppet-supports#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant