Giter Site home page Giter Site logo

wxbot's People

Contributors

jwping avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

wxbot's Issues

docker构建失败

117.4 Unpacking vdpau-driver-all:amd64 (1.4-3) ...
117.4 Selecting previously unselected package vdpau-driver-all:i386.
117.4 Preparing to unpack .../387-vdpau-driver-all_1.4-3_i386.deb ...
117.4 Unpacking vdpau-driver-all:i386 (1.4-3) ...
117.4 Selecting previously unselected package winehq-stable.
117.4 Preparing to unpack .../388-winehq-stable_9.0.0.0bullseye-1_amd64.deb ...
117.4 Unpacking winehq-stable (9.0.0.0
bullseye-1) ...
117.5 Selecting previously unselected package xdg-user-dirs.
117.5 Preparing to unpack .../389-xdg-user-dirs_0.17-2_amd64.deb ...
117.5 Unpacking xdg-user-dirs (0.17-2) ...
117.5 Errors were encountered while processing:
117.5 /tmp/apt-dpkg-install-oZpK8E/278-wine-stable-amd64_9.0.0.0~bullseye-1_amd64.deb
117.6 E: Sub-process /usr/bin/dpkg returned an error code (1)

ERROR: failed to solve: executor failed running [/bin/sh -c sed -i 's#http://.*debian.org#http://mirrors.aliyun.com#g' /etc/apt/sources.list && apt update && apt install xvfb wget -y && dpkg --add-architecture i386 && mkdir -pm755 /etc/apt/keyrings && wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key && wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources && sed -i 's/dl.winehq.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list.d/winehq-bullseye.sources && apt update && apt install --install-recommends winehq-stable -y && useradd -ms /bin/bash wxbot]: exit code: 100

有会的吗

使用docker启动包错

启动命令:
docker run -itd --name wxbot -e WXBOT_ARGS="-c wxbot.json -q xxx" -p 8080:8080 -v ./wxbot:/home/wxbot registry.cn-shanghai.aliyuncs.com/jwping/wxbot:v1.10.1-9-3.9.8.25

Error response from daemon: Cannot restart container wxbot: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/home/wxbot/start.sh": stat /home/wxbot/start.sh: no such file or directory: unknown

是不是镜像里没有start.sh

3.9.8.25如何下载图片或附件

3.9.8.25如何下载图片或附件, 看到 15 版本注入方式有,但是安装 15 的版本,提示版本过低无法使用。

可以付费咨询,多谢

docker 启动后得到的登陆链接无法扫码识别

如题启动docker后,从日志里拿到登陆链接
Not logged in, please login http://weixin.qq.com/x/geJzGKJF6WnzKIi9z2Ug
转成二维码扫描后,识别不到;

  1. 使用安卓扫码,提示打不开网页
  2. 使用ios扫码,空白

WeChat 3.9.8.25登陆后wxbot-sidecar.exe直接被关闭

完整日志:
[2024-01-16 22:10:57.239] [wxbot] [info] function init Initialization completed
[2024-01-16 22:10:57.389] [wxbot] [info] [InitBaseAddress] Association completed
[2024-01-16 23:09:32.219] [wxbot] [info] function init Initialization completed
[2024-01-16 23:09:32.301] [wxbot] [info] [InitBaseAddress] Association completed
[2024-01-16 23:10:19.719] [wxbot] [info] function init Initialization completed
[2024-01-16 23:10:19.773] [wxbot] [info] [InitBaseAddress] Association completed
[2024-01-16 23:12:50.712] [wxbot] [info] function init Initialization completed
[2024-01-16 23:12:50.720] [wxbot] [info] [InitBaseAddress] Association completed
[2024-01-16 23:13:01.807] [wxbot] [info] function init Initialization completed
[2024-01-16 23:13:01.876] [wxbot] [info] [InitBaseAddress] Association completed
[2024-01-16 23:14:29.213] [wxbot] [info] function init Initialization completed
[2024-01-16 23:14:29.225] [wxbot] [info] [InitBaseAddress] Association completed
[2024-01-16 23:15:06.406] [wxbot] [info] function init Initialization completed
[2024-01-16 23:15:06.407] [wxbot] [info] [InitBaseAddress] Association completed
[2024-01-16 23:16:24.581] [wxbot] [info] function init Initialization completed
[2024-01-16 23:16:24.583] [wxbot] [info] [InitBaseAddress] Association completed
[2024-01-16 23:21:26.560] [wxbot] [info] function init Initialization completed
[2024-01-16 23:21:26.565] [wxbot] [info] [InitBaseAddress] Association completed
[2024-01-16 23:21:53.521] [wxbot] [info] function init Initialization completed
[2024-01-16 23:21:53.585] [wxbot] [info] [InitBaseAddress] Association completed
[2024-01-16 23:28:10.932] [wxbot] [info] function init Initialization completed
[2024-01-16 23:28:10.932] [wxbot] [debug] [InitBaseAddress] WeChat Handler 0x11c
[2024-01-16 23:28:10.982] [wxbot] [info] [InitBaseAddress] Association completed
[2024-01-16 23:28:53.866] [wxbot] [debug] [GetPublicMsgDBHandle] error code: 0
[2024-01-16 23:28:53.867] [wxbot] [debug] [GetMsgDBHandle] error code: 0
[2024-01-16 23:28:53.867] [wxbot] [debug] [GetDBHandle] error code: 0
[2024-01-16 23:28:53.868] [wxbot] [debug] [GetDbContents] error code: 0

启动docker里登陆;掉线问题

问题:使用docker登陆后,挂一晚上,第二天掉线
版本:3.9.8.25

是因为长时间没有消息接收,自动结束心跳了吗?

可以开放dll的源码嘛?

从师兄数码的课程过来的,看到这里有学习结果,挺棒的。
想学习下dll里面的开发逻辑,方便开放的吗?

请问下如何接受图片消息,下载或者读取图片

接受的图片消息是下面的格式,要怎么保存或者读取图片呢

{
    "data": [
        {
            "BytesExtra": "Cxxxxxxxxxxxxxxxxxxxxx===",
            "BytesTrans": "",
            "CompressContent": "",
            "CreateTime": "1706664281",
            "DisplayContent": "",
            "FlagEx": "0",
            "IsSender": "0",
            "MsgSequence": "8xxxxxxx8",
            "MsgServerSeq": "1",
            "MsgSvrID": "11xxxxxxxxxxxxxx5",
            "Reserved0": "0",
            "Reserved1": "2",
            "Reserved2": "",
            "Reserved3": "",
            "Reserved4": "",
            "Reserved5": "",
            "Reserved6": "",
            "Sequence": "1xxxxxxxxxxxx00",
            "Status": "4",
            "StatusEx": "0",
            "StrContent":"<?xml version=\"1.0\"?>\n<msg>\n\t< img aeskey=\"74af4xxxxxxxxx50\" encryver=\"1\" cdnthumbaeskey=\"74afxxxxxxx0\" cdnthumburl=\"3057xxxxxx0\" cdnthumblength=\"5278\"  
.........

BytesExtra 用base64解析之后是这样的内容

������� ��<msgsource>
    <bizflag>0</bizflag>
    <pua>1</pua>
    <sec_msg_node>
        <uuid>d6a3xxxxxxxxxxxxxxx85_</uuid>
        <alnode>
            <fr>1</fr>
        </alnode>
    </sec_msg_node>
    <signature>V1xxxxxxxxxxxxC</signature>
    <tmp_node>
        <publisher-id />
    </tmp_node>
</msgsource>
�$��� dcb2xxxxxx691�R���Nwxid_xxxxxxxxxxxx2\FileStorage\Cache\2024-01\fcbxxxxxxxxxx996f

这个cache路径也没有文件
FileStorage\Cache\2024-01\fcbxxxxxxxxxx996f

/api/dbchatroom从数据库中获取群聊组信息和成员列表部分群请求时导致http和ws服务异常

/api/dbchatroom从数据库中获取群聊组信息和成员列表部分群请求时导致http和ws服务异常,暂未定位到原因

16:49:37 INFO bridge loadRoomList roomInfo: {"adminIdList":[],"avatar":"","external":false,"id":"38745754599@chatroom","memberIdList":[],"ownerId":"","topic":"123起飞"}
16:49:38 INFO bridge loadRoomList roomInfo: {"adminIdList":[],"avatar":"","external":false,"id":"23386623170@chatroom","memberIdList":[],"ownerId":"","topic":"
物云信息"}
16:49:43 ERR getRoomList error: AxiosError: timeout of 5000ms exceeded
16:49:43 INFO bridge loadRoomList fail roomRes: AxiosError: timeout of 5000ms exceeded
16:49:44 INFO bridge loadRoomList roomInfo: {"adminIdList":[],"avatar":"","external":false,"id":"22188321850@chatroom","memberIdList":[],"ownerId":"","topic":"
小哥哥们~"}
16:49:49 ERR getRoomList error: AxiosError: timeout of 5000ms exceeded
16:49:49 INFO bridge loadRoomList fail roomRes: AxiosError: timeout of 5000ms exceeded
16:49:50 INFO bridge loadRoomList roomInfo: {"adminIdList":[],"avatar":"","external":false,"id":"23511029345@chatroom","memberIdList":[],"ownerId":"","topic":" 请认真听课"}
16:49:55 ERR getRoomList error: AxiosError: timeout of 5000ms exceeded
16:49:55 INFO bridge loadRoomList fail roomRes: AxiosError: timeout of 5000ms exceeded
16:49:56 INFO bridge loadRoomList roomInfo: {"adminIdList":[],"avatar":"","external":false,"id":"25346972659@chatroom","memberIdList":[],"ownerId":"","topic":" 小姐姐们~"}
16:50:01 ERR getRoomList error: AxiosError: timeout of 5000ms exceeded
16:50:01 INFO bridge loadRoomList fail roomRes: AxiosError: timeout of 5000ms exceeded
16:50:02 INFO bridge loadRoomList roomInfo: {"adminIdList":[],"avatar":"","external":false,"id":"11353016977@chatroom","memberIdList":[],"ownerId":"","topic":" 羽毛球动态聊天群"}

单独请求这些返回错误的群也无法获得群信息,并且会导致连接服务异常

1

你好作者,有 qq 版本的吗

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.