wechaty / wechaty-puppet-padplus

DEPRECATED: One puppet based on iPad protocal for Wechaty
https://wechaty.js.org/docs/puppet-services/
313 stars 64 forks source link

无法监听到 `login` 事件 #331

Closed KAWATAAAAAA closed 1 year ago

KAWATAAAAAA commented 1 year ago

1. Versions

2. Describe the bug

无法监听到 login 事件

3. To Reproduce

必定出现,我使用正常流程创建一个机器人

const puppet = new PuppetPadplus()
const robot = WechatyBuilder.build()  

robot.start()

token是这个

puppet_padplus_2c0c20b837d7df31

robot.on("login",() => {
  // 无法触发
})

4. Expected behavior

正常接受到登录事件

5. Actual behavior

无法接受到登录事件

6. Full Output Logs

Show Logs ```shell 12:07:48 SILL Puppet Config: WECHATY_LOG set level to silly 12:07:48 INFO Config registering process.on("unhandledRejection") for development/debug 12:07:48 VERB Config constructor() 12:07:48 VERB PoolifyMixin poolifyMixin(EventEmitter) 12:07:48 VERB WechatifyMixin wechatifyMixin(AbstractPoolifyMixin) 12:07:48 VERB ValidationMixin validationMixin(ContactMixin) 12:07:48 VERB ValidationMixin validationMixin(ContactImplBase) 12:07:48 VERB PoolifyMixin poolifyMixin(ContactImpl) 12:07:48 VERB ValidationMixin validationMixin(ContactSelfMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(FavoriteMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EventEmitter) 12:07:48 VERB ValidationMixin validationMixin(FriendshipMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(ImageMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(LocationMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(PostMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EventEmitter) 12:07:48 VERB ValidationMixin validationMixin(MessageMixin) 12:07:48 VERB ValidationMixin validationMixin(MessageImplBase) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(MiniProgramMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(MomentMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(MoneyMixin) 12:07:48 VERB PoolifyMixin poolifyMixin(EventEmitter) 12:07:48 VERB WechatifyMixin wechatifyMixin(AbstractPoolifyMixin) 12:07:48 VERB ValidationMixin validationMixin(RoomMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(RoomInvitationMixin) 12:07:48 VERB PoolifyMixin poolifyMixin(Object) 12:07:48 VERB WechatifyMixin wechatifyMixin(AbstractPoolifyMixin) 12:07:48 VERB ValidationMixin validationMixin(TagMixin) 12:07:48 VERB ValidationMixin validationMixin(TagImplBase) 12:07:48 VERB PoolifyMixin poolifyMixin(Object) 12:07:48 VERB WechatifyMixin wechatifyMixin(AbstractPoolifyMixin) 12:07:48 VERB ValidationMixin validationMixin(TagGroupMixin) 12:07:48 VERB ValidationMixin validationMixin(TagGroupImplBase) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(UrlLinkMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(DelayMixin) 12:07:48 VERB WechatifyMixin wechatifyMixin(EmptyBase) 12:07:48 VERB ValidationMixin validationMixin(ChannelMixin) 12:07:48 VERB WechatyGErrorMixin gErrorMixin(WechatySkeleton) 12:07:48 VERB WechatifyUserModuleMixin wechatifyUserModuleMixin(GErrorMixin) 12:07:48 VERB WechatyIoMixin ioMixin(WechatifyUserModuleMixin) 12:07:48 VERB WechatyPuppetMixin puppetMixin(IoMixin) 12:07:48 VERB WechatyLoginMixin loginMixin(PuppetMixin) 12:07:48 VERB WechatyMiscMixin miscMixin(LoginMixin) 12:07:48 VERB WechatyPluginMixin pluginMixin(MiscMixin) 12:07:48 VERB ValidationMixin validationMixin(WechatyBase) 12:07:48 VERB ValidationMixin validationMixin(WechatyImplBase) 12:07:49 VERB wechaty-puppet-service monkeyPatchMetadataFromHttp2Headers() 12:07:49 SILL Config PADPLUS_LOG set level to silly 12:07:50 SILL Puppet Config: WECHATY_LOG set level to silly 12:07:50 VERB Wechaty init() Raven disabled (import("raven") failed) [2023-04-01T12:07:50.649+08:00] [WARN] [61298] [] [wuyuweideMacBook-Pro.local] [172.21.144.49] [wechaty-robot] [] [] [] [] [Sequelize [ 'Executing (default): SELECT 1+1 AS result', { plain: true, raw: true, logging: [Function: logging], showWarnings: false, type: 'SELECT' } ]] ## '' ====数据库验证连接成功==== 12:07:50 VERB PuppetSkeleton constructor({"token":"puppet_padplus_2c0c20b837d7df31","endpoint":"52.82.24.73:50666","tls":{"disable":true}}) 12:07:50 VERB PuppetMemoryMixin constructor() 12:07:50 VERB MemoryCard constructor(undefined) 12:07:50 VERB PuppetLoginMixin constructor() 12:07:50 VERB PuppetCacheMixin constructor() 12:07:50 VERB PuppetCacheAgent constructor() 12:07:50 VERB PuppetContactMixin constructor() 12:07:50 VERB PuppetRoomMemberMixin constructor() 12:07:50 VERB PuppetRoomMixin constructor() 12:07:50 VERB PuppetFriendshipMixin constructor() 12:07:50 VERB PuppetTagMixin constructor() 12:07:50 VERB PuppetRoomInvitationMixin constructor() 12:07:50 VERB PuppetMessageMixin constructor() 12:07:50 VERB PuppetMiscMixin constructor() 12:07:50 VERB ServiceCtl constructor() 12:07:50 VERB StateSwitch constructor(PuppetServiceMixin, "{"log":{"enableTimestamp":true,"logLevel":5,"prefixFilter":{}}}") 12:07:50 VERB StateSwitch constructor(PuppetServiceMixinReset, "{"log":{"enableTimestamp":true,"logLevel":5,"prefixFilter":{}}}") 12:07:50 VERB PuppetServiceMixin constructor() #0 12:07:50 VERB PuppetWatchdogAgent constructor(1ab8c819-d209-4c99-ae6b-6bb71fb82587) 12:07:50 VERB PuppetWatchdogAgent constructor() timeout 60 seconds 12:07:50 VERB Watchdog : constructor(name=Puppet, defaultTimeout=60000) 12:07:50 VERB ReadyMixin constructor() 12:07:50 VERB PuppetPostMixin constructor() 12:07:50 VERB PuppetSayableMixin constructor() 12:07:50 VERB TapMixin constructor() 12:07:50 VERB PuppetMomentMixin constructor() 12:07:50 VERB Puppet constructor({"token":"puppet_padplus_2c0c20b837d7df31","endpoint":"52.82.24.73:50666","tls":{"disable":true}}) 12:07:50 VERB PadplusManager constructor() 12:07:50 VERB WechatyBuilder singleton() 12:07:50 VERB WechatyBuilder newInstance() 12:07:50 VERB WechatyLoginMixin constructor() 12:07:50 VERB WechatyPuppetMixin construct() 12:07:50 VERB WechatyIoMixin constructor() 12:07:50 VERB WechatifyUserModuleMixin constructor() 12:07:50 VERB WechatySkeleton constructor() 12:07:50 VERB StateSwitch constructor(WechatyReady, "{"log":{"enableTimestamp":true,"logLevel":5,"prefixFilter":{}}}") 12:07:50 VERB ServiceCtl constructor() 12:07:50 VERB StateSwitch constructor(Wechaty, "{"log":{"enableTimestamp":true,"logLevel":5,"prefixFilter":{}}}") 12:07:50 VERB StateSwitch constructor(WechatyReset, "{"log":{"enableTimestamp":true,"logLevel":5,"prefixFilter":{}}}") 12:07:50 VERB Wechaty constructor() 12:07:50 VERB Wechaty start() 12:07:50 VERB WechatyLoginMixin init() 12:07:50 VERB WechatyPuppetMixin init() 12:07:50 VERB WechatifyUserModuleMixin init() 12:07:50 VERB WechatySkeleton init() 12:07:50 VERB MemoryCard constructor("./remember-me/puppet_padplus_2c0c20b837d7df31") 12:07:50 VERB MemoryCard load() from storage: N/A 12:07:50 VERB MemoryCard getStorage() for storage type: N/A 12:07:50 VERB getStorage name: ./remember-me/puppet_padplus_2c0c20b837d7df31, options: {"type":"file"} 12:07:53 VERB WechatySkeleton on(login, listener) registering... listenerCount: 0 ====唤醒开始==== 12:07:55 VERB StorageFile constructor(./remember-me/puppet_padplus_2c0c20b837d7df31, ...) 12:07:55 VERB StorageBackend constructor(./remember-me/puppet_padplus_2c0c20b837d7df31, { type: file }) 12:07:55 VERB StorageFile load() from /Users/wuyuwei/MyWork/wechaty-robot/remember-me/puppet_padplus_2c0c20b837d7df31.memory-card.json 12:07:55 VERB WechatifyUserModuleMixin init() initializing Wechaty User Module (WUM) ... 12:07:55 VERB WechatifyMixin wechatifyUserModule(ContactImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(ContactImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(ContactSelfImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(ContactSelfImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(DelayImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(DelayImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(FriendshipImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(FriendshipImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(ImageImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(ImageImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(LocationImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(LocationImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(MessageImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(MessageImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(MiniProgramImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(MiniProgramImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(PostImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(PostImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(RoomImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(RoomImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(RoomInvitationImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(RoomInvitationImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(TagImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(TagImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(TagGroupImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(TagGroupImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(UrlLinkImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(UrlLinkImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(ChannelImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(ChannelImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyMixin wechatifyUserModule(MomentImpl) 12:07:55 VERB WechatifyMixin wechatifyUserModule(MomentImpl)(Wechaty#1d14f7af-ec63-4027-9acd-6e242683de14(NONAME)>(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB WechatifyUserModuleMixin init() initializing Wechaty User Module (WUM) ... done 12:07:55 VERB WechatyPuppetMixin init() instanciating puppet instance ... 12:07:55 VERB Puppet resolvePuppet({puppet: Puppet(NONAME), puppetOptions: {}}) 12:07:55 VERB WechatyPuppetMixin init() instanciating puppet instance ... done 12:07:55 VERB WechatyPuppetMixin init() setting memory ... 12:07:55 VERB MemoryCard multiplex(puppet) 12:07:55 VERB MemoryCard static multiplex(MemoryCard<./remember-me/puppet_padplus_2c0c20b837d7df31>, puppet) 12:07:55 VERB MemoryCard constructor({"name":"./remember-me/puppet_padplus_2c0c20b837d7df31","multiplex":{"name":"puppet","parent":{"name":"./remember-me/puppet_padplus_2c0c20b837d7df31","payload":{"\rpuppet\nWECHATY_PUPPET_PADPLUS":{"qrcodeId":"","uin":"2079042440","userName":"q1195862472"}},"storage":{"name":"./remember-me/puppet_padplus_2c0c20b837d7df31","options":{"type":"file"},"absFileName":"/Users/wuyuwei/MyWork/wechaty-robot/remember-me/puppet_padplus_2c0c20b837d7df31.memory-card.json"},"multiplexNameList":[],"options":{"name":"./remember-me/puppet_padplus_2c0c20b837d7df31"}}}}) 12:07:55 VERB PuppetMemoryMixin setMemory(./remember-me/puppet_padplus_2c0c20b837d7df31) 12:07:55 VERB WechatyPuppetMixin init() setting memory ... done 12:07:55 VERB WechatyPuppetMixin init() setting up events ... 12:07:55 VERB WechatyPuppetMixin __setupPuppetEvents(Puppet(./remember-me/puppet_padplus_2c0c20b837d7df31)) 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(friendship) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(login) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(logout) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(message) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(post) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(room-invite) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(room-join) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(room-leave) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(room-topic) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(room-announce) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(scan) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(tag) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(tag-group) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(post-comment) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(post-tap) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(dirty) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(dong) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(error) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(heartbeat) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(ready) (listenerCount:0) registering... 12:07:55 VERB PuppetMixin __setupPuppetEvents() puppet.on(reset) (listenerCount:0) registering... 12:07:55 VERB WechatyPuppetMixin __setupPuppetEvents() ... done 12:07:55 VERB WechatyPuppetMixin init() setting up events ... done 12:07:55 VERB WechatyPuppetMixin init() emitting "puppet" event ... 12:07:55 VERB WechatyPuppetMixin init() emitting "puppet" event ... done 12:07:55 VERB ServiceCtl start() 12:07:55 SILL StateSwitch active() is false 12:07:55 SILL StateSwitch inactive() is true 12:07:55 SILL StateSwitch active() is false 12:07:55 VERB StateSwitch active(pending) <- (false) 12:07:55 VERB ServiceCtl start() super.start() ... 12:07:55 VERB WechatyPuppetMixin start() 12:07:55 VERB WechatyPuppetMixin start() super.start() ... 12:07:55 VERB WechatyIoMixin start() 12:07:55 VERB WechatySkeleton start() 12:07:55 VERB WechatyLoginMixin init() 12:07:55 VERB WechatyPuppetMixin init() 12:07:55 VERB WechatifyUserModuleMixin init() 12:07:55 VERB WechatySkeleton init() 12:07:55 VERB WechatifyUserModuleMixin init() Wechaty User Module (WUM)s have already wechatified: skip 12:07:55 VERB WechatyPuppetMixin init() skipped because this puppet has already been inited before. 12:07:55 VERB WechatyPuppetMixin start() super.start() ... done 12:07:55 SILL StateSwitch active() is false 12:07:55 VERB WechatyPuppetMixin start() starting puppet ... 12:07:55 VERB ReadyMixin start() 12:07:55 VERB PuppetServiceMixin start() 12:07:55 VERB ServiceCtl start() 12:07:55 SILL StateSwitch active() is false 12:07:55 SILL StateSwitch inactive() is true 12:07:55 SILL StateSwitch active() is false 12:07:55 VERB StateSwitch active(pending) <- (false) 12:07:55 VERB ServiceCtl start() super.start() ... 12:07:55 VERB PuppetCacheMixin start() 12:07:55 VERB PuppetLoginMixin start() 12:07:55 VERB PuppetMemoryMixin start() 12:07:55 VERB MemoryCard load() from storage: N/A 12:07:55 VERB MemoryCard load() should not be called on a multiplex MemoryCard. NOOP 12:07:55 VERB PuppetSkeleton start() 12:07:55 VERB PuppetCacheAgent start() 12:07:55 VERB PuppetCacheMixin start() "dirty" event listener added 12:07:55 VERB ServiceCtl start() super.start() ... done 12:07:55 VERB ServiceCtl start() this.onStart() ... 12:07:55 INFO PuppetPadplus onStart() 12:07:55 VERB PadplusManager on(scan, function) registered 12:07:55 VERB PadplusManager on(login, function) registered 12:07:55 VERB PadplusManager on(message, function) registered 12:07:55 VERB PadplusManager on(ready, function) registered 12:07:55 VERB PadplusManager on(reset, function) registered 12:07:55 VERB PadplusManager on(heartbeat, function) registered 12:07:55 VERB PadplusManager on(logout, function) registered 12:07:55 VERB PadplusManager on(room-leave, function) registered 12:07:55 VERB PadplusManager on(error, function) registered 12:07:55 SILL PadplusManager start() 12:07:55 SILL GRPC_GATEWAY init() 12:07:55 SILL GRPC_GATEWAY initSelf() 12:07:55 SILL GRPC_GATEWAY initGrpcGateway() 12:07:55 VERB MemoryCard get(WECHATY_PUPPET_PADPLUS) 12:07:55 SILL PadplusUser initInstance() 12:07:55 SILL RequestClient request() 12:07:55 SILL DedupeApi dedupe() no need to dedupe api INIT. 12:07:55 SILL GRPC_GATEWAY GRPC Request ApiType: INIT 12:07:56 SILL ==P==A==D==P==L==U==S====P==A==D==P==L==U==S== 12:07:56 SILL GRPC_GATEWAY responseType: AUTO_LOGIN, data : {"uin":2079042440,"online":false} 12:07:56 SILL ==P==A==D==P==L==U==S====P==A==D==P==L==U==S== 12:07:56 SILL GRPC_GATEWAY throttleQueue emit heartbeat. 12:07:56 SILL PadplusManager setContactAndRoomData() 12:07:56 VERB PadplusManager setContactAndRoomData() can not proceed due to no cache. 12:07:56 SILL PadplusManager user name : { uin: 2079042440, online: false } 12:07:56 VERB MemoryCard get(WECHATY_PUPPET_PADPLUS) 12:07:56 SILL RequestClient request() 12:07:56 SILL DedupeApi dedupe() no need to dedupe api GET_QRCODE. 12:07:56 SILL GRPC_GATEWAY GRPC Request ApiType: GET_QRCODE 12:07:56 SILL PadplusUser init success 12:07:56 VERB MemoryCard get(WECHATY_PUPPET_PADPLUS) 12:07:56 VERB ServiceCtl start() this.onStart() ... done 12:07:56 SILL StateSwitch active() is pending 12:07:56 VERB StateSwitch active(true) <- (pending) 12:07:56 VERB ServiceCtl start() ... done 12:07:56 VERB PuppetWatchdogAgent start() "heartbeat" event listener added 12:07:56 VERB Watchdog on(reset, listener) registered. 12:07:56 VERB PuppetWatchdogAgent start() "reset" event listener added 12:07:56 VERB WechatyPuppetMixin start() starting puppet ... done 12:07:56 VERB ServiceCtl start() super.start() ... done 12:07:56 VERB ServiceCtl start() this.onStart() ... 12:07:56 VERB Wechaty onStart() 12:07:56 VERB Wechaty (./remember-me/puppet_padplus_2c0c20b837d7df31)>(./remember-me/puppet_padplus_2c0c20b837d7df31) onStart() v1.0.47 is starting... 12:07:56 VERB Wechaty id: 1d14f7af-ec63-4027-9acd-6e242683de14 12:07:56 VERB Wechaty onStart() ... done 12:07:56 VERB ServiceCtl start() this.onStart() ... done 12:07:56 SILL StateSwitch active() is pending 12:07:56 VERB StateSwitch active(true) <- (pending) 12:07:56 VERB ServiceCtl start() ... done 12:07:56 SILL PadplusUser Get qrcode with user info, res : null 12:07:57 SILL GRPC_GATEWAY uin : , userName: 12:07:57 SILL StateSwitch inactive() is true 12:07:57 VERB StateSwitch inactive(true) <- (true) [2023-04-01T12:08:16.786+08:00] [INFO] [61298] [] [wuyuweideMacBook-Pro.local] [172.21.144.49] [wechaty-robot] [] [] [] [] [2ms , requestInfo:{"method":"GET","url":"/debug/getRamAllRobot","host":"172.21.144.49:3000","ip":"::ffff:172.21.144.49"}] ## '' 12:08:27 SILL GRPC_GATEWAY keepHeartbeat() 12:08:27 SILL GRPC_GATEWAY GRPC Request ApiType: HEARTBEAT 12:08:27 SILL GRPC_GATEWAY throttleQueue emit heartbeat. 12:08:27 VERB Watchdog feed({"data":"ad9b87fc-d26d-422f-84ff-eed1b57e7f19"}) 12:08:27 VERB Watchdog timerLeft() first feed, left=0 12:08:27 VERB Watchdog stopTimer() 12:08:27 VERB Watchdog stopTimer() first run(or after sleep) 12:08:27 VERB Watchdog startTimer() 12:08:27 SILL PadplusManager setContactAndRoomData() 12:08:27 VERB PadplusManager setContactAndRoomData() can not proceed due to no cache. 12:08:57 SILL GRPC_GATEWAY keepHeartbeat() 12:08:57 SILL GRPC_GATEWAY GRPC Request ApiType: HEARTBEAT 12:08:57 SILL GRPC_GATEWAY throttleQueue emit heartbeat. 12:08:57 VERB Watchdog feed({"data":"a3c909b5-6baf-42f5-997e-ae536693c5f6"}) 12:08:57 VERB Watchdog timerLeft() = 29960 12:08:57 VERB Watchdog stopTimer() 12:08:57 VERB Watchdog startTimer() 12:08:57 SILL PadplusManager setContactAndRoomData() 12:08:57 VERB PadplusManager setContactAndRoomData() can not proceed due to no cache. ```

7. Additional context

su-chang commented 1 year ago

@KAWATAAAAAA 把这个token对应的memory-card删除后试一下。

KAWATAAAAAA commented 1 year ago

@KAWATAAAAAA 把这个token对应的memory-card删除后试一下。

删除了再重新登录依然有问题,有些微信号登录后能正常触发login 事件,有些不能

KAWATAAAAAA commented 1 year ago

问题无法复现,或很难复现