GithubHelp home page GithubHelp logo

Comments (4)

Mrs4s avatar Mrs4s commented on August 29, 2024

出现频繁嘛。
这个问题应该是掉线导致的

from go-cqhttp.

takayama-lily avatar takayama-lily commented on August 29, 2024

出现的不频繁。
但是我发现,如果图片地址有问题,消息会被阻塞,直到图片结果返回才会继续处理。

[2020-08-04 17:07:22] [INFO]: 收到好友 ******** 的消息: img("https://www.baidu.com")
[2020-08-04 17:07:26] [INFO]: 收到好友 ******** 的消息: .jrrp
[2020-08-04 17:07:40] [WARNING]: 警告: ******** 消息图片上传失败.

.jrrp的回复在17:07:40之后才出现。因为控制台没输出,不确定是反向ws阻塞了,还是输出阻塞了。

from go-cqhttp.

takayama-lily avatar takayama-lily commented on August 29, 2024

打开了debug,有输出了。

[2020-08-04 17:21:40] [INFO]: 收到好友 高山(372914165) 的消息: img("https://www.baidu.com")
[2020-08-04 17:21:40] [DEBUG]: 向WS服务器 ws://usus.***.bid:3000 推送Event: {"font":0,"message":"img(\"https://www.baidu.com\")","message_id":-1226028300,"message_type":"private","post_type":"message","raw_message":"img(\"https://www.baidu.com\")","self_id":646702491,"sender":{"age":0,"nickname":"高山","sex":"unknown","user_id":372914165},"sub_type":"friend","time":1596529300,"user_id":372914165}
[2020-08-04 17:21:40] [DEBUG]: 反向WS接收到API调用: .handle_quick_operation 参数: {"context":{"font":0,"message":"img(\"https://www.baidu.com\")","message_id":-1226028300,"message_type":"private","post_type":"message","raw_message":"img(\"https://www.baidu.com\")","self_id":646702491,"sender":{"age":0,"nickname":"高山","sex":"unknown","user_id":372914165},"sub_type":"friend","time":1596529300,"user_id":372914165},"operation":{"reply":"[CQ:image,cache=1,file=https://www.baidu.com]","at_sender":false}}
[2020-08-04 17:21:43] [INFO]: 收到好友 高山(372914165) 的消息: .jrrp
[2020-08-04 17:21:43] [DEBUG]: 向WS服务器 ws://usus.***.bid:3000 推送Event: {"font":0,"message":".jrrp","message_id":-1041532318,"message_type":"private","post_type":"message","raw_message":".jrrp","self_id":646702491,"sender":{"age":0,"nickname":"高山","sex":"unknown","user_id":372914165},"sub_type":"friend","time":1596529303,"user_id":372914165}
[2020-08-04 17:21:58] [WARNING]: 警告: 好友 372914165 消息图片上传失败.
[2020-08-04 17:21:58] [DEBUG]: 反向WS接收到API调用: send_private_msg 参数: {"user_id":372914165,"message":"[CQ:at,qq=372914165] 今天的人品是: 82 [中吉]","auto_escape":false}

from go-cqhttp.

Mrs4s avatar Mrs4s commented on August 29, 2024

这部分我会优化一下

from go-cqhttp.

Related Issues (20)

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.