wechaty / matrix-appservice

Wechaty [Matrix] Application Services Bridge
https://matrix.org/docs/projects/bridge/matrix-appservice-wechaty
Apache License 2.0
132 stars 16 forks source link

ERR PadplusManager onFunction(error) listener exception: Error: PADPLUS_ERROR EXIT 你的微信登录环境存在异常。为了帐号安全,本次登录已失效。 #27

Closed huan closed 3 years ago

huan commented 4 years ago

@ericmigi meet this error today.

To be monitored. @windmemory

matrix-appservice-wechaty    | }
matrix-appservice-wechaty    | 19:42:10 ERR PadplusManager onFunction(error) listener exception: Error: PADPLUS_ERROR EXIT 你的微信登录环境存在异常。为了帐号安全,本次登录已失效。
matrix-appservice-wechaty    | DEBUG: userData:  { directRoomId: '!YZKfIfdfxdWWXINFOX:eric.nova.chat' }
matrix-appservice-wechaty    | sendEvent of type m.room.message in !YZKfIfdfxdWWXINFOX:eric.nova.chat with txnId m1582918935718.1
matrix-appservice-wechaty    | Event sent to !YZKfIfdfxdWWXINFOX:eric.nova.chat with event id $lzVPaTd_xFr0kov_LAYKx-4jgU-ifF1tYYyAo47uc14
ax4 commented 4 years ago

I dont think this error is caused by matrix-appservice. Actually I've seen many people reported the same error recently on PC clients, and PAD clients, too. Even when I was using a PC client, I was forced to log-out because of "你的微信登录环境存在异常。为了帐号安全,本次登录已失效" once. But the same error never occurs to me again, since I continue to use as a "normal" user.

This might have something to do with Risk-Control strategy conducted by Wechat team. And there is no transparent policy, nor a provided reason, or even clear evidence for being forced log-out. If we want to open the "grey-box" of "accidently logout", we might check the following facts:

  1. What is the chat behavior of the account (Does it send too much message, or join too much chat groups)?
  2. How much offical accounts it read (Does it crawl more than 1000 or 2000 articles each day)?
  3. Does it have a bank card asscioted with Wechat Pay? What is its consuming pattern and financial behavior?
  4. Does it forward any sensitive articles or sensitive messages?

And it seems that, "你的微信登录环境存在异常。为了帐号安全,本次登录已失效" is more or less like a check flag. It doesn't ban the account if you switch a different computer or another official up-to-date stable released client, to login and continue to use the account. But it only bans you from using the same client that being flagged to logout.

huan commented 4 years ago

Thank you very much for the great information about this issue, it's very valuable!