Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

start:service后无事件监听,无法扫码登录 #55

Open
qianjujie opened this issue Mar 29, 2022 · 2 comments
Open

start:service后无事件监听,无法扫码登录 #55

qianjujie opened this issue Mar 29, 2022 · 2 comments

Comments

@qianjujie
Copy link

qianjujie commented Mar 29, 2022

以下为控制为全部log

13:35:16 INFO Config registering process.on("unhandledRejection") for development/debug
13:35:16 VERB Config constructor()
13:35:16 VERB PoolifyMixin poolifyMixin(EventEmitter)
13:35:16 VERB WechatifyMixin wechatifyMixin(AbstractPoolifyMixin)
13:35:16 VERB ValidationMixin validationMixin(ContactMixin)
13:35:16 VERB ValidationMixin validationMixin(ContactImplBase)
13:35:16 VERB PoolifyMixin poolifyMixin(ContactImpl)
13:35:16 VERB ValidationMixin validationMixin(ContactSelfMixin)
13:35:16 VERB WechatifyMixin wechatifyMixin(EmptyBase)
13:35:16 VERB ValidationMixin validationMixin(FavoriteMixin)
13:35:16 VERB WechatifyMixin wechatifyMixin(EventEmitter)
13:35:16 VERB ValidationMixin validationMixin(FriendshipMixin)
13:35:16 VERB WechatifyMixin wechatifyMixin(EmptyBase)
13:35:16 VERB ValidationMixin validationMixin(ImageMixin)
13:35:16 VERB WechatifyMixin wechatifyMixin(EmptyBase)
13:35:16 VERB ValidationMixin validationMixin(LocationMixin)
13:35:16 VERB WechatifyMixin wechatifyMixin(EmptyBase)
13:35:16 VERB ValidationMixin validationMixin(PostMixin)
13:35:16 VERB WechatifyMixin wechatifyMixin(EventEmitter)
13:35:16 VERB ValidationMixin validationMixin(MessageMixin)
13:35:16 VERB ValidationMixin validationMixin(MessageImplBase)
13:35:16 VERB WechatifyMixin wechatifyMixin(EmptyBase)
13:35:16 VERB ValidationMixin validationMixin(MiniProgramMixin)
13:35:16 VERB WechatifyMixin wechatifyMixin(EmptyBase)
13:35:16 VERB ValidationMixin validationMixin(MomentMixin)
13:35:16 VERB WechatifyMixin wechatifyMixin(EmptyBase)
13:35:16 VERB ValidationMixin validationMixin(MoneyMixin)
13:35:16 VERB PoolifyMixin poolifyMixin(EventEmitter)
13:35:16 VERB WechatifyMixin wechatifyMixin(AbstractPoolifyMixin)
13:35:16 VERB ValidationMixin validationMixin(RoomMixin)
13:35:16 VERB WechatifyMixin wechatifyMixin(EmptyBase)
13:35:16 VERB ValidationMixin validationMixin(RoomInvitationMixin)
13:35:16 VERB WechatifyMixin wechatifyMixin(EmptyBase)
13:35:16 VERB PoolifyMixin poolifyMixin(AbstractWechatifyMixin)
13:35:16 VERB ValidationMixin validationMixin(TagMixin)
13:35:16 VERB WechatifyMixin wechatifyMixin(EmptyBase)
13:35:16 VERB ValidationMixin validationMixin(UrlLinkMixin)
13:35:16 VERB WechatifyMixin wechatifyMixin(EmptyBase)
13:35:16 VERB ValidationMixin validationMixin(DelayMixin)
13:35:16 VERB WechatyGErrorMixin gErrorMixin(WechatySkeleton)
13:35:16 VERB WechatifyUserModuleMixin wechatifyUserModuleMixin(GErrorMixin)
13:35:17 VERB WechatyIoMixin ioMixin(WechatifyUserModuleMixin)
13:35:17 VERB WechatyPuppetMixin puppetMixin(IoMixin)
13:35:17 VERB WechatyLoginMixin loginMixin(PuppetMixin)
13:35:17 VERB WechatyMiscMixin miscMixin(LoginMixin)
13:35:17 VERB WechatyPluginMixin pluginMixin(MiscMixin)
13:35:17 VERB ValidationMixin validationMixin(WechatyBase)
13:35:17 VERB ValidationMixin validationMixin(WechatyImplBase)
13:35:17 VERB wechaty-puppet-service monkeyPatchMetadataFromHttp2Headers()
13:35:17 VERB WechatyBuilder singleton()
13:35:17 VERB WechatyBuilder newInstance()
13:35:17 VERB WechatyLoginMixin constructor()
13:35:17 VERB WechatyPuppetMixin construct()
13:35:17 VERB WechatyIoMixin constructor()
13:35:17 VERB WechatifyUserModuleMixin constructor()
13:35:17 VERB WechatySkeleton constructor()
13:35:17 VERB StateSwitch constructor(WechatyReady, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
13:35:17 VERB ServiceCtl constructor()
13:35:17 VERB StateSwitch constructor(Wechaty, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
13:35:17 VERB StateSwitch constructor(WechatyReset, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
13:35:17 VERB Wechaty constructor()
13:35:17 VERB WechatySkeleton on(scan, listener) registering... listenerCount: 013:35:17 VERB WechatySkeleton on(login, listener) registering... listenerCount:
0
13:35:17 VERB WechatySkeleton on(logout, listener) registering... listenerCount: 0
13:35:17 VERB WechatySkeleton on(message, listener) registering... listenerCount: 0
13:35:17 VERB WechatySkeleton on(error, listener) registering... listenerCount:
0
13:35:17 VERB ServiceCtl stop()
13:35:17 WARN ServiceCtl stop() found that is stopping/stopped, wait stable ...
13:35:17 VERB StateSwitch stable(inactive, noCross=false)
13:35:17 WARN ServiceCtl stop() found that is stopping/stopped, wait stable ... done
13:35:17 VERB Wechaty start()
13:35:17 VERB WechatyLoginMixin init()
13:35:17 VERB WechatyPuppetMixin init()
13:35:17 VERB WechatifyUserModuleMixin init()
13:35:17 VERB WechatySkeleton init()
13:35:17 VERB WechatifyUserModuleMixin init() initializing Wechaty User Module (WUM) ...
13:35:17 VERB WechatifyMixin wechatifyUserModule(ContactImpl)
13:35:17 VERB WechatifyMixin wechatifyUserModule(ContactImpl)(Wechaty#77df8c28-9566-4b3f-9e45-c0441ed41c7a())
13:35:17 VERB WechatifyMixin wechatifyUserModule(ContactSelfImpl)
13:35:17 VERB WechatifyMixin wechatifyUserModule(ContactSelfImpl)(Wechaty#77df8c28-9566-4b3f-9e45-c0441ed41c7a())
13:35:17 VERB WechatifyMixin wechatifyUserModule(DelayImpl)
13:35:17 VERB WechatifyMixin wechatifyUserModule(DelayImpl)(Wechaty#77df8c28-9566-4b3f-9e45-c0441ed41c7a())
13:35:17 VERB WechatifyMixin wechatifyUserModule(FriendshipImpl)
13:35:17 VERB WechatifyMixin wechatifyUserModule(FriendshipImpl)(Wechaty#77df8c28-9566-4b3f-9e45-c0441ed41c7a())
13:35:17 VERB WechatifyMixin wechatifyUserModule(ImageImpl)
13:35:17 VERB WechatifyMixin wechatifyUserModule(ImageImpl)(Wechaty#77df8c28-9566-4b3f-9e45-c0441ed41c7a())
13:35:17 VERB WechatifyMixin wechatifyUserModule(LocationImpl)
13:35:17 VERB WechatifyMixin wechatifyUserModule(LocationImpl)(Wechaty#77df8c28-9566-4b3f-9e45-c0441ed41c7a())
13:35:17 VERB WechatifyMixin wechatifyUserModule(MessageImpl)
13:35:17 VERB WechatifyMixin wechatifyUserModule(MessageImpl)(Wechaty#77df8c28-9566-4b3f-9e45-c0441ed41c7a())
13:35:17 VERB WechatifyMixin wechatifyUserModule(MiniProgramImpl)
13:35:17 VERB WechatifyMixin wechatifyUserModule(MiniProgramImpl)(Wechaty#77df8c28-9566-4b3f-9e45-c0441ed41c7a())
13:35:17 VERB WechatifyMixin wechatifyUserModule(PostImpl)
13:35:17 VERB WechatifyMixin wechatifyUserModule(PostImpl)(Wechaty#77df8c28-9566-4b3f-9e45-c0441ed41c7a())
13:35:17 VERB WechatifyMixin wechatifyUserModule(RoomImpl)
13:35:17 VERB WechatifyMixin wechatifyUserModule(RoomImpl)(Wechaty#77df8c28-9566-4b3f-9e45-c0441ed41c7a())
13:35:17 VERB WechatifyMixin wechatifyUserModule(RoomInvitationImpl)
13:35:17 VERB WechatifyMixin wechatifyUserModule(RoomInvitationImpl)(Wechaty#77df8c28-9566-4b3f-9e45-c0441ed41c7a())
13:35:17 VERB WechatifyMixin wechatifyUserModule(TagImpl)
13:35:17 VERB WechatifyMixin wechatifyUserModule(TagImpl)(Wechaty#77df8c28-9566-4b3f-9e45-c0441ed41c7a())
13:35:17 VERB WechatifyMixin wechatifyUserModule(UrlLinkImpl)
13:35:17 VERB WechatifyMixin wechatifyUserModule(UrlLinkImpl)(Wechaty#77df8c28-9566-4b3f-9e45-c0441ed41c7a())
13:35:17 VERB WechatifyUserModuleMixin init() initializing Wechaty User Module (WUM) ... done
13:35:17 VERB WechatyPuppetMixin init() instanciating puppet instance ...
13:35:17 VERB Puppet resolvePuppet({puppet: wechaty-puppet-service, puppetOptions: {"token":""}})
13:35:17 VERB Puppet resolvePuppet() resolving name "wechaty-puppet-service" ...13:35:17 VERB Puppet resolvePuppetName(wechaty-puppet-service)
13:35:17 VERB Wechaty init() Raven disabled (import("raven") failed)
13:35:17 VERB Puppet resolvePuppetName(wechaty-puppet-service): ESM resolved
13:35:17 VERB Puppet resolvePuppet() resolving name "wechaty-puppet-service" ... done
13:35:17 VERB Puppet resolvePuppet() instanciating puppet ...
13:35:17 VERB PuppetSkeleton constructor({"token":"
"})
13:35:17 VERB PuppetMemoryMixin constructor()
13:35:17 VERB PuppetLoginMixin constructor()
13:35:17 VERB PuppetCacheMixin constructor()
13:35:17 VERB PuppetCacheAgent constructor()
13:35:17 VERB PuppetContactMixin constructor()
13:35:17 VERB PuppetRoomMemberMixin constructor()
13:35:17 VERB PuppetRoomMixin constructor()
13:35:17 VERB PuppetFriendshipMixin constructor()
13:35:17 VERB PuppetTagMixin constructor()
13:35:17 VERB PuppetRoomInvitationMixin constructor()
13:35:17 VERB PuppetMessageMixin constructor()
13:35:17 VERB PuppetMiscMixin constructor()
13:35:17 VERB ServiceCtl constructor()
13:35:17 VERB StateSwitch constructor(PuppetServiceMixin, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
13:35:17 VERB StateSwitch constructor(PuppetServiceMixinReset, "{"log":{"enableTimestamp":true,"logLevel":4,"prefixFilter":{}}}")
13:35:17 VERB PuppetServiceMixin constructor() #0
13:35:17 VERB PuppetWatchdogAgent constructor(1788a981-d67e-47b4-9208-cf15bd16068d)
13:35:17 VERB PuppetWatchdogAgent constructor() timeout 60 seconds
13:35:17 VERB ReadyMixin constructor()
13:35:17 VERB PuppetPostMixin constructor()
13:35:17 VERB PuppetSayableMixin constructor()
13:35:17 VERB TapMixin constructor()
13:35:17 VERB Puppet constructor({"token":""})
13:35:17 VERB PayloadStore constructor({"token":"
"})
13:35:17 VERB PuppetService hookPayloadStore()
13:35:17 VERB Puppet resolvePuppet() instanciating puppet ... done
13:35:17 VERB WechatyPuppetMixin init() instanciating puppet instance ... done
13:35:17 VERB WechatyPuppetMixin init() setting memory ...
13:35:17 VERB PuppetMemoryMixin setMemory(undefined)
13:35:17 VERB WechatyPuppetMixin init() setting memory ... done
13:35:17 VERB WechatyPuppetMixin init() setting up events ...
13:35:17 VERB WechatyPuppetMixin __setupPuppetEvents(Puppet(NONAME))
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(friendship) (listenerCount:0) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(login) (listenerCount:1) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(logout) (listenerCount:1) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(message) (listenerCount:0) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(post) (listenerCount:0) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(room-invite) (listenerCount:0) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(room-join) (listenerCount:0) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(room-leave) (listenerCount:0) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(room-topic) (listenerCount:0) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(scan) (listenerCount:0) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(dirty) (listenerCount:0) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(dong) (listenerCount:0) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(error) (listenerCount:0) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(heartbeat) (listenerCount:0) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(ready) (listenerCount:0) registering...
13:35:17 VERB PuppetMixin __setupPuppetEvents() puppet.on(reset) (listenerCount:0) registering...
13:35:17 VERB WechatyPuppetMixin __setupPuppetEvents() ... done
13:35:17 VERB WechatyPuppetMixin init() setting up events ... done
13:35:17 VERB WechatyPuppetMixin init() emitting "puppet" event ...
13:35:17 VERB WechatyPuppetMixin init() emitting "puppet" event ... done
13:35:17 VERB ServiceCtl start()
13:35:17 VERB StateSwitch active(pending) <- (false)
13:35:17 VERB ServiceCtl start() super.start() ...
13:35:17 VERB WechatyPuppetMixin start()
13:35:17 VERB WechatyPuppetMixin start() super.start() ...
13:35:17 VERB WechatyIoMixin start()
13:35:17 VERB WechatySkeleton start()
13:35:17 VERB WechatyLoginMixin init()
13:35:17 VERB WechatyPuppetMixin init()
13:35:17 VERB WechatifyUserModuleMixin init()
13:35:17 VERB WechatySkeleton init()
13:35:17 VERB WechatifyUserModuleMixin init() Wechaty User Module (WUM)s have already wechatified: skip
13:35:17 VERB WechatyPuppetMixin init() skipped because this puppet has already
been inited before.
13:35:17 VERB WechatyPuppetMixin start() super.start() ... done
13:35:17 VERB WechatyPuppetMixin start() starting puppet ...
13:35:17 VERB ReadyMixin start()
13:35:17 VERB PuppetServiceMixin start()
13:35:17 VERB ServiceCtl start()
13:35:17 VERB StateSwitch active(pending) <- (false)
13:35:17 VERB ServiceCtl start() super.start() ...
13:35:17 VERB PuppetCacheMixin start()
13:35:17 VERB PuppetLoginMixin start()
13:35:17 VERB PuppetMemoryMixin start()
13:35:17 VERB PuppetSkeleton start()
13:35:17 VERB PuppetCacheAgent start()
13:35:17 VERB PuppetCacheMixin start() "dirty" event listener added
13:35:17 VERB ServiceCtl start() super.start() ... done
13:35:17 VERB ServiceCtl start() this.onStart() ...
13:35:17 VERB PuppetService onStart()
13:35:17 VERB PuppetService start() instanciating GrpcManager ...
13:35:17 VERB GrpcManager constructor({"token":"
"})
13:35:17 VERB GrpcManager constructor() tlsRootCert(hash): "88ab8b62777f0fb1179ec567c5019c31d646428cc0a3fdb007fcffa1e9fac5a8"
13:35:17 VERB GrpcManager constructor() token: "
*"
13:35:17 VERB GrpcManager constructor() endpoint: "wechaty://api.chatie.io/
"
13:35:17 VERB GrpcManager constructor() disableTls: "true"
13:35:17 VERB GrpcManager constructor() serverName(SNI): "puppet_wxwork"
13:35:17 VERB PuppetService start() instanciating GrpcManager ... done
13:35:17 VERB PuppetService start() setting up bridge grpc event stream ...
13:35:17 VERB PuppetService bridgeGrpcEventStream(client)
13:35:17 VERB PuppetService start() setting up bridge grpc event stream ... done13:35:17 VERB PuppetService start() starting grpc manager...
13:35:17 VERB GrpcManager start()
13:35:17 VERB GrpcManager start() initializing client ...
13:35:17 VERB GrpcManager initClient()
13:35:17 WARN GrpcManager initClient() TLS: disabled (INSECURE)
13:35:17 VERB GrpcManager initClient() ... done
13:35:17 VERB GrpcManager start() initializing client ... done
13:35:17 VERB GrpcManager start() starting stream ...
13:35:17 VERB GrpcManager startStream()
13:35:17 VERB GrpcManager startStream() grpc -> event() ...
13:35:17 VERB GrpcManager startStream() grpc -> event() ... done
13:35:17 VERB GrpcManager startStream() grpc -> event peeking data or timeout ...
13:35:20 VERB GrpcManager startStream() grpc -> event peeking data or timeout ... timeout
13:35:20 VERB GrpcManager startStream() grpc -> event peeking data or timeout ... data peeked
13:35:20 VERB GrpcManager startStream() initializing event stream ...
13:35:20 VERB GrpcManager startStream() initializing event stream ... done
13:35:20 VERB GrpcManager startStream() ... done
13:35:20 VERB GrpcManager start() starting stream ... done
13:35:20 VERB GrpcManager start() calling grpc server: start() ...
13:35:20 VERB GrpcManager start() calling grpc server: start() ... done
13:35:20 VERB GrpcManager start() ... done
13:35:20 VERB PuppetService start() starting grpc manager... done
13:35:20 VERB PuppetService onStart() ... done
13:35:20 VERB ServiceCtl start() this.onStart() ... done
13:35:20 VERB StateSwitch active(true) <- (pending)
13:35:20 VERB ServiceCtl start() ... done
13:35:20 VERB PuppetWatchdogAgent start() "heartbeat" event listener added
13:35:20 VERB PuppetWatchdogAgent start() "reset" event listener added
13:35:20 VERB WechatyPuppetMixin start() starting puppet ... done
13:35:20 VERB ServiceCtl start() super.start() ... done
13:35:20 VERB ServiceCtl start() this.onStart() ...
13:35:20 VERB Wechaty onStart()
13:35:20 VERB Wechaty () onStart() v1.18.1 is starting...
13:35:20 VERB Wechaty id: 77df8c28-9566-4b3f-9e45-c0441ed41c7a
13:35:20 VERB Wechaty onStart() ... done
13:35:20 VERB ServiceCtl start() this.onStart() ... done
13:35:20 VERB StateSwitch active(true) <- (pending)
13:35:20 VERB ServiceCtl start() ... done
13:35:20 INFO StarterBot Starter Bot Started.

@qianjujie qianjujie changed the title start:service后无事件监听,WatchdogAgent reset? start:service后无事件监听,无法扫码登录,WatchdogAgent reset? Mar 29, 2022
@qianjujie qianjujie changed the title start:service后无事件监听,无法扫码登录,WatchdogAgent reset? start:service后无事件监听,无法扫码登录 Mar 29, 2022
@su-chang
Copy link
Collaborator

su-chang commented Apr 6, 2022

请参考这个项目运行:https://github.com/wechaty/getting-started

@qianjujie
Copy link
Author

是基于getting-started运行的

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants