-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
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
docker部署,扫码登录后报503错误 #2454
Comments
你需要自己编译更新使用新版的wechaty-puppet-wechat,官方docker未包含支持uos的puppet。 |
请问有具体的方法吗?(虚心求教) |
A PR request to upgrade the UOS support is welcome! |
AFAIK, puppet-wechat had support UOS since 1.18.4 with PuppetOptions uos: true . I try to build a custom image and got this error:
Maybe you can take a look at this. And I receive a security notice that I use a third part client or plug-in, unlock by promise not to use plug-in. |
建议你搜索一下docker build 教程,clone仓库本地自己编译镜像。 |
Latest Wechaty docker image, 2023.7.1 |
@huan You may want to check this Fix Build & Publish In Workflow |
Can you explain what you have done? Thanks. |
I found that the publish step of the workflow did not execute correctly(network Socket timeout ), I used a publish action from the marketplace instead. |
Could you please help us to send a PR to fix the main repo? Thanks! |
Hi, @isbiong100! I'm Dosu, and I'm helping the wechaty team manage their backlog. I wanted to let you know that we are marking this issue as stale. From what I understand, you encountered a 503 error after scanning a QR code for login during Docker deployment. You provided the necessary environment variables and logs, but you're unsure why the error is occurring despite the open port and functioning Docker. In the comments, there was a suggestion to update the wechaty-puppet-wechat version and a discussion about building a new official image. There is also a link to a fix for the build and publish workflow and a request for you to send a PR to fix the main repository. If this issue is still relevant to the latest version of the wechaty repository, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days. Thank you for your understanding and contribution to the wechaty community! |
WECHATY Environment Variables: 5
WECHATY_TOKEN=“MY_TOCKEN”
WECHATY_DOCKER=1
WECHATY_PUPPET_SERVER_PORT=8080
WECHATY_LOG=verbose
WECHATY_PUPPET=wechaty-puppet-wechat
tarting Docker Container for Wechaty v1.20.2 with Node.js v16.15.0
报错日志:
09:00:33 INFO IoClient [4] https://login.weixin.qq.com/l/wZ2a6cNrjA==
Online QR Code Image: https://wechaty.js.org/qrcode/https%3A%2F%2Flogin.weixin.qq.com%2Fl%2FwZ2a6cNrjA%3D%3D
09:00:34 VERB PuppetWeChatBridge onLoad() page.url=https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxnewloginpage?ticket=AS8SYJEE1ut7ltDHUltpn81k@qrticket_0&uuid=wZ2a6cNrjA==&lang=en_US&scan=1667898024
09:00:34 VERB PuppetWeChatBridge readyAngular()
09:00:34 VERB PuppetWeChatBridge inject()
09:00:34 VERB PuppetWeChatBridge inject() exception: execute proxyWechaty(init) error: 503, init() without a ready angular env. stack: Error: execute proxyWechaty(init) error: 503, init() without a ready angular env
at Bridge.inject (file:///wechaty/node_modules/wechaty-puppet-wechat/src/bridge.ts:363:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Bridge.onLoad (file:///wechaty/node_modules/wechaty-puppet-wechat/src/bridge.ts:214:7)
09:00:34 ERR PuppetWeChatBridge onLoad() exception: Error: execute proxyWechaty(init) error: 503, init() without a ready angular env
端口是打开的,docker是没问题的,请问是怎么回事?
The text was updated successfully, but these errors were encountered: