We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please make sure you have read the Wechaty Puppet Service: WorkPro from Wechaty Official Website before you continue writing this issue.
IMPORTANT
DO NOT post your token in the issue. If we need to investigate the behavior of certain token, we will provide a private contact route.
Describe the bug
A clear and concise description of what the bug is.
Info
To Reproduce
Steps to reproduce the behavior:
const bot = WechatyBuilder.build({ name: "wechat-assistant", // generate xxxx.memory-card.json and save login data for the next login puppet: "wechaty-puppet-wechat", //puppet: "wechaty-puppet-service", puppetOptions: { uos: true, // token: "puppet_workpro_xxxx" } }); console.log(init success);
init success
async function main() { const initializedAt = Date.now() bot .on("scan",async (qrcode, status) => { const url = https://api.qrserver.com/v1/create-qr-code/?data=/${encodeURIComponent(qrcode)}; console.log(Scan QR Code to login: ${status}\n${url}); console.log( await QRCode.toString(qrcode, { type: "terminal", small: true }) );
https://api.qrserver.com/v1/create-qr-code/?data=/${encodeURIComponent(qrcode)}
Scan QR Code to login: ${status}\n${url}
Expected behavior 当我使用 puppet: "wechaty-puppet-wechat"的时候是可以连接上的,但是我换成puppet: "wechaty-puppet-service",以后就连接不上了,再bot.on("scan")这一步就会失败,是因为service没法访问https://api.qrserver.com/v1/create-qr-code/?data= 吗?
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
这个报错一般是由于tls未正确配置导致的。需要添加环境变量
export WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_CLIENT=true
可以参考 wechaty/wechaty#2462 tls相关部分。
Sorry, something went wrong.
这个设置了的,还是不行
在你提供的代码中,token这一配置是注释的。实际代码也是这样吗?
暂无反馈,关闭该issue。
su-chang
hcfw007
No branches or pull requests
Please make sure you have read the Wechaty Puppet Service: WorkPro from Wechaty Official Website before you continue writing this issue.
IMPORTANT
DO NOT post your token in the issue. If we need to investigate the behavior of certain token, we will provide a private contact route.
Describe the bug
A clear and concise description of what the bug is.
Info
To Reproduce
Steps to reproduce the behavior:
const bot = WechatyBuilder.build({
name: "wechat-assistant", // generate xxxx.memory-card.json and save login data for the next login
puppet: "wechaty-puppet-wechat",
//puppet: "wechaty-puppet-service",
puppetOptions: {
uos: true,
// token: "puppet_workpro_xxxx"
}
});
console.log(
init success
);async function main() {
const initializedAt = Date.now()
bot
.on("scan",async (qrcode, status) => {
const url =
https://api.qrserver.com/v1/create-qr-code/?data=/${encodeURIComponent(qrcode)}
;console.log(
Scan QR Code to login: ${status}\n${url}
);console.log(
await QRCode.toString(qrcode, { type: "terminal", small: true })
);
Expected behavior
当我使用 puppet: "wechaty-puppet-wechat"的时候是可以连接上的,但是我换成puppet: "wechaty-puppet-service",以后就连接不上了,再bot.on("scan")这一步就会失败,是因为service没法访问https://api.qrserver.com/v1/create-qr-code/?data= 吗?
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: