在 1522+ 上用portainer创建容器之后,容器启动不久就会自动关闭,似乎是内部微信未能成功唤起,理由是重启几次之后遇到了一次没有自动结束的情况,但vnc连进去之后是一片黑,从docker console里手动启动微信也是没有结果。一次典型启动后自动结束产生的log如下
--2023-03-11 15:38:26-- https://github.com/ljc545w/ComWeChatRobot/releases/download/3.7.0.30-0.1.1-pre/3.7.0.30-0.1.1-pre.zip
正在解析主机 github.com (github.com)... 192.30.255.112
正在连接 github.com (github.com)|192.30.255.112|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://objects.githubusercontent.com/github-production-release-asset-2e65be/469317973/8a2560d4-30fa-481c-a3a1-0d1779dc94bf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230311%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230311T073826Z&X-Amz-Expires=300&X-Amz-Signature=7833fdfc41171f4154cea7ef79fac626efb3299994020f0cd2958b70045dc3ca&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=469317973&response-content-disposition=attachment%3B%20filename%3D3.7.0.30-0.1.1-pre.zip&response-content-type=application%2Foctet-stream [跟随至新的 URL]
--2023-03-11 15:38:26-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/469317973/8a2560d4-30fa-481c-a3a1-0d1779dc94bf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230311%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230311T073826Z&X-Amz-Expires=300&X-Amz-Signature=7833fdfc41171f4154cea7ef79fac626efb3299994020f0cd2958b70045dc3ca&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=469317973&response-content-disposition=attachment%3B%20filename%3D3.7.0.30-0.1.1-pre.zip&response-content-type=application%2Foctet-stream
正在解析主机 objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
正在连接 objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:390095 (381K) [application/octet-stream]
正在保存至: “comwechat.zip”
0K .......... .......... .......... .......... .......... 13% 418K 1s
50K .......... .......... .......... .......... .......... 26% 785K 1s
100K .......... .......... .......... .......... .......... 39% 790K 0s
150K .......... .......... .......... .......... .......... 52% 105M 0s
200K .......... .......... .......... .......... .......... 65% 791K 0s
250K .......... .......... .......... .......... .......... 78% 122M 0s
300K .......... .......... .......... .......... .......... 91% 119M 0s
350K .......... .......... .......... 100% 482K=0.4s
2023-03-11 15:38:27 (1015 KB/s) - 已保存 “comwechat.zip” [390095/390095])
Archive: comwechat.zip
creating: comwechat/com/
inflating: comwechat/com/CWeChatRobot.exe
inflating: comwechat/com/DWeChatRobot.dll
inflating: comwechat/com/wxRobot.py
creating: comwechat/http/
inflating: comwechat/http/SWeChatRobot.dll
inflating: comwechat/http/wxDriver.dll
inflating: comwechat/http/wxDriver.lib
inflating: comwechat/http/wxDriver.py
inflating: comwechat/http/wxDriver64.dll
inflating: comwechat/http/wxDriver64.lib
/usr/bin/xauth: file /root/.Xauthority does not exist
New Xtigervnc server '<ServerName>:5 (root)' on port 5905 for display :5.
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /root/.vnc/passwd <ServerName>:5 to connect to the VNC server.
---All in one 微信 ComRobot 容器---
2023-03-11 15:38:26 启动容器中...
等待 5 秒再 hook
2023-03-11 15:38:34 感谢使用.
在 1522+ 上用portainer创建容器之后,容器启动不久就会自动关闭,似乎是内部微信未能成功唤起,理由是重启几次之后遇到了一次没有自动结束的情况,但vnc连进去之后是一片黑,从docker console里手动启动微信也是没有结果。一次典型启动后自动结束产生的log如下