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

message:登录失败 #2485

Closed
sk142857 opened this issue Feb 7, 2023 · 3 comments
Closed

message:登录失败 #2485

sk142857 opened this issue Feb 7, 2023 · 3 comments

Comments

@sk142857
Copy link

sk142857 commented Feb 7, 2023

[3] https://wechaty.js.org/qrcode/https%3A%2F%2Flogin.weixin.qq.com%2Fl%2FAfFgLK03DQ%3D%3D
Scan QR Code above to log in:
07:23:47 WARN PuppetWeChatBridge onDialog() page.on(dialog) type:type() {
return this._type;
} message:登录失败。
Bot error: GError: from(object): [object Object]
at Function.from (file:///wechaty/node_modules/gerror/dist/esm/src/gerror/gerror.js:87:19)
at PuppetWeChat. (file:///wechaty/dist/esm/src/wechaty-mixins/puppet-mixin.js:147:55)
at PuppetWeChat.emit (node:events:390:28)
at PuppetWeChat.emit (node:domain:475:12)
at PuppetWeChat.emit (file:///wechaty/node_modules/wechaty-puppet/dist/esm/src/puppet/puppet-skeleton.js:101:22)
at Bridge. (file:///wechaty/node_modules/wechaty-puppet-wechat/dist/esm/src/puppet-wechat.js:169:45)
at Bridge.emit (node:events:390:28)
at Bridge.emit (node:domain:475:12)
at Bridge.onDialog (file:///wechaty/node_modules/wechaty-puppet-wechat/dist/esm/src/bridge.js:128:14)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'GError: from(object): [object Object]\n' +
' at Function.from (file:///wechaty/node_modules/gerror/dist/esm/src/gerror/gerror.js:87:19)\n' +
' at PuppetWeChat. (file:///wechaty/dist/esm/src/wechaty-mixins/puppet-mixin.js:147:55)\n' +
' at PuppetWeChat.emit (node:events:390:28)\n' +
' at PuppetWeChat.emit (node:domain:475:12)\n' +
' at PuppetWeChat.emit (file:///wechaty/node_modules/wechaty-puppet/dist/esm/src/puppet/puppet-skeleton.js:101:22)\n' +
' at Bridge. (file:///wechaty/node_modules/wechaty-puppet-wechat/dist/esm/src/puppet-wechat.js:169:45)\n' +
' at Bridge.emit (node:events:390:28)\n' +
' at Bridge.emit (node:domain:475:12)\n' +
' at Bridge.onDialog (file:///wechaty/node_modules/wechaty-puppet-wechat/dist/esm/src/bridge.js:128:14)\n' +
' at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
07:23:47 VERB PuppetWeChatBridge onLoad() page.url=https://wx.qq.com/?target=t
07:23:47 VERB PuppetWeChatBridge readyAngular()
07:23:47 VERB PuppetWeChatBridge inject()
07:23:47 VERB PuppetWeChatBridge ding(ding() OK!)
07:23:47 VERB PuppetWeChatBridge clickSwitchAccount()
07:23:48 VERB PuppetWeChatEvent onScan({code: 0, url: https://login.weixin.qq.com/qrcode/IfbDJJtaYg==})
07:23:48 VERB StateSwitch inactive(true) <- (true)

@chenxxpro
Copy link

chenxxpro commented Feb 9, 2023

2023年02月09日

wechaty/wechaty:latest 40196fb204e1

在尝试这个框架,遇到相同的问题

#!/bin/bash

export WECHATY_LOG="debug"
export WECHATY_PUPPET="wechaty-puppet-wechat"
export WECHATY_PUPPET_SERVER_PORT="7700"
export WECHATY_TOKEN="xxxxxxxxxxxxxxx"

docker run -ti \
    --name wechaty_puppet_service_token_gateway \
    --rm \
    -e WECHATY_LOG \
    -e WECHATY_PUPPET \
    -e WECHATY_PUPPET_SERVER_PORT \
    -e WECHATY_TOKEN \
    -e WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_SERVER=true \
    -e WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_CLIENT=true \
    -p "$WECHATY_PUPPET_SERVER_PORT:$WECHATY_PUPPET_SERVER_PORT" \
    wechaty/wechaty:latest

@isbiong100
Copy link

请问解决了吗

Copy link

dosubot bot commented Nov 19, 2023

Hi, @sk142857. I'm Dosu, and I'm helping the wechaty team manage their backlog. I wanted to let you know that we are marking the issue titled "message:登录失败" as stale.

From what I understand, this issue is about a login failure in Wechaty. The error message indicates that there was an error with the login process, and provides details about the error code and the steps leading up to the failure. In the comments, user "chenxxpro" shared a script they used to reproduce the issue, and user "isbiong100" asked for clarification on the resolution.

Before we close this issue, we wanted to check with you if it is still relevant to the latest version of the wechaty repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days.

Thank you for your understanding and contribution to the Wechaty community. Let us know if you have any further questions or concerns.

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Nov 19, 2023
@dosubot dosubot bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 26, 2023
@dosubot dosubot bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants