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

High Available Mode for Wechaty: Ding/Dong with OA Account: chatieio #1

Open
huan opened this issue Apr 8, 2020 · 0 comments
Open
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@huan
Copy link
Member

huan commented Apr 8, 2020

The Problem

When a Wechaty bot is started and logged in, it is mostly liked to be work as expected for sending/receiving messages.

However, sometimes it might run into trouble for some unknown reason, which caused it can not work anymore, but we have nothing to know about that.

In order to check whether a Wechaty bot is available, we need to take a test on it to see if it can send & receive the message successfully.

How can archive that? It is not a good idea if we send a message to another Wechaty bot because it is not stable enough for this kind of online service.

The Solution

We can set up an Official Account for WeChat, with an auto-responding strategy that will reply a dong when it receives a ding.

So we let our Chatie Official Account takes the responsibility to provide this service.

qrcode_for_gh_051c89260e5d_258

HAProxy Requirement

If you want to use HAProxy, please make sure every bot account has followed the ChatieIO WeChat Official Account by scanning the above QR Code.

@huan huan added the documentation Improvements or additions to documentation label Apr 8, 2020
@huan huan self-assigned this Apr 8, 2020
huan added a commit that referenced this issue Apr 8, 2020
@huan huan added the enhancement New feature or request label Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant