wechaty / puppet-padlocal

Puppet PadLocal is a Pad Protocol for WeChat
https://wechaty.js.org/docs/puppet-providers/padlocal
Apache License 2.0
642 stars 88 forks source link

No connection established #32

Closed su-chang closed 3 years ago

su-chang commented 3 years ago

wechaty: 0.50.7 padlocal: 0.2.17 token: puppet_padlocal_0e50d75df43240exxxxxxxxxxxxxxx

20:52:45 VERB Wechaty wechatifyUserModules(Puppet#0<PuppetPadlocal>())
20:52:45 SILL StateSwitch <PuppetPadlocal> on() is false
20:52:45 SILL StateSwitch <PuppetPadlocal> on() is false
20:52:45 VERB StateSwitch <PuppetPadlocal> on(pending) <- (false)
{ Error: 14 UNAVAILABLE: No connection established
    at Object.callErrorFromStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/call.ts:81:24)
    at Object.onReceiveStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/client.ts:334:36)
    at Object.onReceiveStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/client-interceptors.ts:424:34)
    at Object.onReceiveStatus (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/client-interceptors.ts:387:48)
    at process.nextTick (/Users/suchang/Desktop/PROJECT/Test/testPuppet/node_modules/@grpc/grpc-js/src/call-stream.ts:243:24)
    at process._tickCallback (internal/process/next_tick.js:61:11)
  code: 14,
  details: 'No connection established',
  metadata: Metadata { internalRepr: Map {}, options: {} } }
20:52:46 ERR Wechaty start() exception: 14 UNAVAILABLE: No connection established
==========error==========
Error: 14 UNAVAILABLE: No connection established
su-chang commented 3 years ago

科学上网环境下存在的问题。

padlocal commented 3 years ago

更新了一些资源,修复了 docker 中 “No connection established”,不确定这个问题是否解决。BTW,国外 IP 登录也有问题:https://github.com/wechaty/puppet-services/issues/62

padlocal commented 3 years ago

Fixed