puppet-wechat
puppet-wechat copied to clipboard
PuppetWeChatBridge start() exception: TimeoutError: Navigation timeout of 30000 ms exceeded
Important:Please file the issue follow the template, or we won't be able to help you to solve the problem.
1. Versions
What is your wechaty version?
Answer: Starting Docker Container for Wechaty v0.60.10 with Node.js v12.22.1
Which puppet are you using for wechaty? (puppeteer/padlocal/service...)
wechaty-puppet-wechat
What is your node version? (run
node --version
)
Node.js v12.22.1
What os are you using
CentOS 7.9.2009
2. Describe the bug
用docker运行wechaty启动wechaty-puppet-wechat服务时,puppeteer超时。 我用的docker启动命令为:
docker pull wechaty/wechaty:latest
export WECHATY_LOG="verbose" export WECHATY_PUPPET="wechaty-puppet-wechat" export WECHATY_PUPPET_SERVER_PORT="8080" export WECHATY_TOKEN="python-wechaty-{uuid}"
docker run -ti
--name wechaty_puppet_service_token_gateway
--rm
-e WECHATY_LOG
-e WECHATY_PUPPET
-e WECHATY_PUPPET_SERVER_PORT
-e WECHATY_TOKEN
-p "$WECHATY_PUPPET_SERVER_PORT:$WECHATY_PUPPET_SERVER_PORT"
wechaty/wechaty:latest
6. Full Output Logs
16:15:45 VERB PuppetWeChatBridge initBrowser() with options={"args":["--audio-output-channels=0","--disable-default-apps","--disable-translate","--disable-gpu","--disable-setuid-sandbox","--disable-sync","--hide-scrollbars","--mute-audio","--no-sandbox"],"headless":true}
16:15:45 VERB PuppetWeChatBridge initBrowser() version: HeadlessChrome/90.0.4403.0
16:15:45 VERB PuppetWeChatBridge start() initBrowser() done
16:15:45 VERB PuppetWeChatBridge initPage()
16:15:45 VERB MemoryCard
Set env
WECHATY_LOG=silly
in order to set log level to silly, then we can get the full log (If you dosen't set log env, log level is info as default, we cannot get the full log)