Open atorber opened 2 years ago
PadLocal has to use a token gateway for v1.x because it's not finished upgrading yet.
Here's the ongoing PR to fix it:
Using a Wechaty Token Gateway.
Here's how Friday makes it: https://github.com/wechaty/friday/blob/main/scripts/token-gateway.sh
Explanation: use wechaty@0.78 to convert Puppet PadLocal to a standard Puppet Service, then use Wechaty@1.x with this new service via gRPC and a new token.
WXWork has to disable TLS when you are using Wechaty v1.x because it does not support TLS yet.
Here's the related issue for the details:
WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_CLIENT=true npm start
I used puppet-wxwork and puppet-padlocal to run wechaty-getting-started with npm start.
There seems to be some problems. Neither puppet works normally.
Test puppet-wxwork
Env:
Err
Test puppet-padlocal
Env:
Err