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

不能登录,也没显示二维码就直接退出 #2099

Closed
lightlzm opened this issue Nov 28, 2020 · 0 comments
Closed

不能登录,也没显示二维码就直接退出 #2099

lightlzm opened this issue Nov 28, 2020 · 0 comments

Comments

@lightlzm
Copy link

Important:Please file the issue follow the template, or we won't be able to help you to solve the problem.

0. Report Issue Guide

  1. Please run the following command and check whether the problem has been fixed:

    rm -rf package-lock.json
    rm -rf node_modules
    npm install
  2. Please search in FAQ List first, and make sure your problem has not been solved before.

  3. Please search in the issue first, and make sure your problem had not been reported before

1. Versions

What is your wechaty version?

Answer: "wechaty": "^0.51.5",

Which puppet are you using for wechaty? (hostie/puppeteer/padchat/...)

Answer:hostie

What is your wechaty-puppet-XXX(padchat/puppeteer/) version?

Answer:"wechaty-puppet-hostie": "^0.11.0"

What is your node version? (run node --version)

Answer: v10.15.0

What os are you using

Answer: Win server 2012

2. Describe the bug

升级 donut 后,11月26日 18:30至11月27日 04:00 都能正常接收发送消息的。
之后机器人挂了,再也启动不了,也不见二维码弹出来。
详情见Log

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.

How to create a Minimal, Reproducible Example

Steps to reproduce the behavior:

  1. run '...'
  2. ...
  3. ...

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
$ WECHATY_LOG=silly node yourbot.js

-> 

C:\Users\Administrator>set WECHATY_LOG=silly

C:\Users\Administrator>node C:\nodejs\wechaty\index.js
20:20:10 SILL Puppet Config: WECHATY_LOG set level to silly
20:20:10 INFO Config registering process.on("unhandledRejection") for developmen
t/debug
20:20:10 VERB Config constructor()
20:20:10 VERB Wechaty constructor()
20:20:10 VERB StateSwitch constructor(Wechaty, "{"log":{"enableTimestamp":true,"
logLevel":5,"prefixFilter":{}}}")
20:20:10 VERB StateSwitch constructor(WechatyReady, "{"log":{"enableTimestamp":t
rue,"logLevel":5,"prefixFilter":{}}}")
20:20:10 VERB Wechaty on(scan, listener) registering... listenerCount: 0
20:20:10 VERB Wechaty on(login, listener) registering... listenerCount: 0
20:20:10 VERB Wechaty on(friendship, listener) registering... listenerCount: 0
20:20:10 VERB Wechaty on(message, listener) registering... listenerCount: 0
20:20:10 VERB Wechaty on(room-invite, listener) registering... listenerCount: 0
20:20:10 VERB Wechaty on(room-join, listener) registering... listenerCount: 0
20:20:10 VERB Wechaty <wechaty-puppet-hostie>() start() v0.51.4 is starting...
20:20:10 VERB Wechaty id: cki1nx7pj0000mgkgdfy8159q
20:20:10 SILL StateSwitch <Wechaty> on() is false
20:20:10 SILL StateSwitch <WechatyReady> off() is true
20:20:10 VERB StateSwitch <WechatyReady> off(true) <- (true)
20:20:10 SILL StateSwitch <Wechaty> on() is false
20:20:10 VERB StateSwitch <Wechaty> on(pending) <- (false)
20:20:10 VERB Wechaty initPuppet() wechaty-puppet-hostie
20:20:10 VERB PuppetManager resolve({puppet: wechaty-puppet-hostie, puppetOption
s: {"token":"puppet_donut_xxxxxxxx"}})
20:20:10 VERB PuppetManager resolveName(wechaty-puppet-hostie)
20:20:10 VERB PuppetManager checkModule(wechaty-puppet-hostie)
20:20:10 SILL PuppetManager checkModule() wechaty-puppet-hostie installed versio
n 0.11.10 satisfied range *
20:20:10 VERB Puppet constructor({"token":"puppet_donut_xxxxxxx"}) #0
20:20:10 VERB StateSwitch constructor(PuppetHostie, "{"log":{"enableTimestamp":t
rue,"logLevel":5,"prefixFilter":{}}}")
20:20:10 VERB Puppet constructor() watchdog timeout set to 60 seconds
20:20:10 VERB Puppet constructor() childClassPath=C:\nodejs\wechaty\node_modules
\wechaty-puppet-hostie\dist\src\client
20:20:10 VERB Puppet setMemory()
20:20:10 VERB Wechaty initPuppetEventBridge(Puppet#0<PuppetHostie>())
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(friendship) (listenerCou
nt:0) registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(login) (listenerCount:0)
 registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(logout) (listenerCount:0
) registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(message) (listenerCount:
0) registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(room-invite) (listenerCo
unt:0) registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(room-join) (listenerCoun
t:0) registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(room-leave) (listenerCou
nt:0) registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(room-topic) (listenerCou
nt:0) registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(scan) (listenerCount:0)
registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(dirty) (listenerCount:0)
 registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(dong) (listenerCount:0)
registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(error) (listenerCount:0)
 registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(heartbeat) (listenerCoun
t:0) registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(ready) (listenerCount:0)
 registering...
20:20:10 VERB Wechaty initPuppetEventBridge() puppet.on(reset) (listenerCount:0)
 registering...
20:20:10 VERB Wechaty wechatifyUserModules(Puppet#0<PuppetHostie>())
20:20:10 VERB PuppetHostie start()
20:20:10 SILL StateSwitch <PuppetHostie> on() is false
20:20:10 SILL StateSwitch <PuppetHostie> on() is false
20:20:10 VERB StateSwitch <PuppetHostie> on(pending) <- (false)
20:20:10 VERB PuppetHostie startGrpcClient()
20:20:10 VERB PuppetHostie discoverHostieIp(puppet_donut_xxxxxxx)
20:20:12 VERB PuppetHostie startGrpcStream()
20:20:12 SILL StateSwitch <PuppetHostie> on() is pending
20:20:12 VERB StateSwitch <PuppetHostie> on(true) <- (pending)
20:20:12 VERB Wechaty on(heartbeat, listener) registering... listenerCount: 0
20:20:12 SILL StateSwitch <Wechaty> on() is pending
20:20:12 VERB StateSwitch <Wechaty> on(true) <- (pending)
20:20:12 VERB Wechaty <wechaty-puppet-hostie> stop() v0.51.4 is stopping ...
20:20:12 SILL StateSwitch <Wechaty> off() is false
20:20:12 SILL StateSwitch <WechatyReady> off() is true
20:20:12 VERB StateSwitch <WechatyReady> off(true) <- (true)
20:20:12 SILL StateSwitch <Wechaty> off() is false
20:20:12 VERB StateSwitch <Wechaty> off(pending) <- (false)
20:20:12 VERB PuppetHostie stop()
20:20:12 SILL StateSwitch <PuppetHostie> off() is false
20:20:12 SILL StateSwitch <PuppetHostie> off() is false
20:20:12 VERB StateSwitch <PuppetHostie> off(pending) <- (false)
20:20:12 VERB PuppetHostie stopGrpcStream()
20:20:12 VERB PuppetHostie startGrpcStream() eventStream.on(end)
20:20:12 VERB PuppetHostie stopGrpcClient()
20:20:12 SILL StateSwitch <PuppetHostie> off() is pending
20:20:12 VERB StateSwitch <PuppetHostie> off(true) <- (pending)
20:20:12 SILL StateSwitch <Wechaty> off() is pending
20:20:12 VERB StateSwitch <Wechaty> off(true) <- (pending)

C:\Users\Administrator>



</details>

## 7. Additional context

> Add any other context about the problem here.
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

1 participant