LagrangeDev / Lagrange.Core

An Implementation of NTQQ Protocol, with Pure C#, Derived from Konata.Core
GNU General Public License v3.0
2.18k stars 268 forks source link

[Bug?]: CentOS7下Lagrange.OneBot出现吞消息的情况 #426

Open LanternCX opened 5 months ago

LanternCX commented 5 months ago

请确保您已阅读以上注意事项,并勾选下方的确认框。

Lagrange项目

OneBot

所使用/依赖的Lagrange项目对应的commit

Nightly Release 839c225,Lagrange.OneBot_linux-x64_8.0.zip

运行环境

Linux

运行架构

x64

连接方式

None

重现步骤

Lagrange.OneBot在CentOS7下出现吞消息的情况

系统:CentOS Linux release 7.9.2009 (Core)

Lagrange版本:Nightly Release 839c225,Lagrange.OneBot_linux-x64_8.0.zi

使用场景

我基于Mirai-core + Overflow接入Lagrange.OneBot开发QQ机器人

接入Lagrange.OneBot后我本地Windows的测试环境同一份代码跑了很久都没问题

我迁移到CentOS 7之后就出现间歇性吞消息

具体分为两种情况:

  1. 启动Lagrange.OneBot并接入之后能正常收发消息,但是挂载服务一段时间后(大概一个晚上)就变成能收到但无法发送消息
  2. 启动Lagrange.OneBot并接入之后能收到但完全无法发送消息

经过我的尝试发现不断重启Lagrange.OneBot出现的都是以上两种情况,始终无法稳定运行

为解决此问题我尝试了包括但不限于以下方法:

  1. 删除目录下所有文件并下载最新的Lagrange.OneBot进行重新登录
  2. 重启服务器
  3. 重装服务器系统

但是都没有办法显著改善该问题

(我看不太懂C#麻烦大佬了)

具体信息

我的目录结构:

Lagrange.OneBot_linux-x64_8.0
├── Lagrange.OneBot
├── appsettings.json
├── device.json
├── keystore.json
├── lagrange-0.db
└── start.sh

我配置了start.sh用于启动,可以在下面的日志中看到我使用:

chmod +x ./Lagrange.OneBot
./Lagrange.OneBot

我的appsettings.json:

{
    "Logging": {
        "LogLevel": {
            "Default": "Trace",
            "Microsoft": "Warning",
            "Microsoft.Hosting.Lifetime": "Information"
        }
    },
    "SignServerUrl": "https://sign.lagrangecore.org/api/sign",
    "sdMusicSignServerUrl": "",
    "Account": {
        "Uin": 0,
        "Password": "",
        "Protocol": "Linux",
        "AutoReconnect": true,
        "GetOptimumServer": true
    },
    "Message": {
        "IgnoreSelf": true,
        "StringPost": false
    },
    "QrCode": {
        "ConsoleCompatibilityMode": false
    },
    "Implementations": [
        {
            "Type": "ForwardWebSocket",
            "Host": "127.0.0.1",
            "Port": 5800,
            "HeartBeatInterval": 5000,
            "HeartBeatEnable": true,
            "AccessToken": "114514"
          }
    ]
}

Lagrange.OneBot错误的日志:

[root@hecs-211057 Lagrange.OneBot_linux-x64_8.0]# bash start.sh 
warn: Lagrange.OneBot.Utility.MusicSigner[0]
      MusicSignServer is not available, sign may be failed
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /home/bot/BestdoriBot/Lagrange.OneBot_linux-x64_8.0
info: Lagrange.OneBot.LagrangeApp[0]
      Lagrange.OneBot Implementation has started
info: Lagrange.OneBot.LagrangeApp[0]
      Protocol:  | 3.1.2-13107
info: Lagrange.OneBot.Utility.OneBotSigner[0]
      Signature Service is successfully established
info: Lagrange.Core.BotContext[0]
      [2024-07-02 11:38:51] [SocketContext] [VERBOSE]: Server: http://114.221.149.227:8080/ Latency: 13
info: Lagrange.Core.BotContext[0]
      [2024-07-02 11:38:51] [SocketContext] [VERBOSE]: Server: http://180.101.246.123:8080/ Latency: 13
info: Lagrange.Core.BotContext[0]
      [2024-07-02 11:38:51] [SocketContext] [VERBOSE]: Server: http://114.221.144.150:8080/ Latency: 12
info: Lagrange.Core.BotContext[0]
      [2024-07-02 11:38:51] [SocketContext] [VERBOSE]: Server: http://222.94.109.78:8080/ Latency: 12
info: Lagrange.Core.BotContext[0]
      [2024-07-02 11:38:51] [WtExchangeLogic] [INFORMATION]: Session has not expired, using session to login and register status
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:38:52] [ServiceContext] [DEBUG]: Outgoing SSOFrame: trpc.qq_new_tech.status_svc.StatusService.Register
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:38:52] [ServiceContext] [DEBUG]: Incoming SSOFrame: trpc.qq_new_tech.status_svc.StatusService.Register
info: Lagrange.Core.BotContext[0]
      [2024-07-02 11:38:52] [WtExchangeLogic] [INFORMATION]: Register Status: register success
info: Lagrange.OneBot.LagrangeApp[0]
      Bot Online: 3058822786
info: Lagrange.Core.BotContext[0]
      [2024-07-02 11:38:52] [WtExchangeLogic] [INFORMATION]: AutoReLogin Enabled, session would be refreshed in 15 days period
info: Lagrange.OneBot.Core.Network.LagrangeWebSvcCollection[1]
      [LagrangeWebSvcCollection]: Multi Connection has been configured
info: Lagrange.OneBot.Core.Network.Service.ForwardWSService[10]
      The server is started at http://127.0.0.1:5800/
info: Lagrange.OneBot.Core.Network.Service.ForwardWSService[11]
      Connect(b7d472b5-d412-40cc-a67b-c9392994a5c4)
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"sub_type":"connect","meta_event_type":"lifecycle","time":1719891536,"self_id":3058822786,"post_type":"meta_event"}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"interval":5000,"status":{"app_initialized":true,"app_enabled":true,"app_good":true,"online":true,"good":true},"meta_event_type":"heartbeat","time":1719891536,"self_id":3058822786,"post_type":"meta_event"}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[12]
      Receive(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"action":"get_version_info","echo":0}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"status":"ok","retcode":0,"data":{"app_name":"Lagrange.OneBot","app_version":"0.0.3","protocol_version":"v11","nt_protocol":"Linux | 3.1.2-13107"},"echo":0}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[12]
      Receive(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"action":"get_login_info","echo":1}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"status":"ok","retcode":0,"data":{"user_id":3058822786,"nickname":"akw2007"},"echo":1}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[12]
      Receive(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"action":"get_friend_list","echo":2}
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:38:56] [ServiceContext] [DEBUG]: Outgoing SSOFrame: OidbSvcTrpcTcp.0xfd4_1
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:38:56] [ServiceContext] [DEBUG]: Incoming SSOFrame: OidbSvcTrpcTcp.0xfd4_1
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"status":"ok","retcode":0,"data":[{"user_id":66600000,"nickname":"babyQ","remark":""},{"user_id":1584164717,"nickname":"SBxinhe","remark":"SBxinhe"},{"user_id":2436679300,"nickname":"\u4E00\u53EA\u5355\u8C03\u9012\u589E\u7684\u51FD\u6570","remark":"21 17 \u66FE\u6DB5"},{"user_id":3058822786,"nickname":"akw2007","remark":""}],"echo":2}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[12]
      Receive(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"action":"get_group_list","echo":3}
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:38:56] [ServiceContext] [DEBUG]: Outgoing SSOFrame: OidbSvcTrpcTcp.0xfe5_2
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"status":"ok","retcode":0,"data":[{"group_id":613988162,"group_name":"\u539F\u795E\u673A\u5668\u4EBA\u670D\u52A1","member_count":4,"max_member_count":200},{"group_id":732645640,"group_name":"\u667A\u969C\u4EBA\u5DE5 \u5BF9\u7EBF \u4EBA\u5DE5\u667A\u969C","member_count":9,"max_member_count":200},{"group_id":734716740,"group_name":"\u5FAE\u535A\u6570\u636E\u673A\u5668\u4EBA\u5F00\u53D1","member_count":3,"max_member_count":200},{"group_id":879958937,"group_name":"akw2007\u3001SBxinhe","member_count":2,"max_member_count":200},{"group_id":907110940,"group_name":"\u9891\u9053\u673A\u5668\u4EBA\u5F00\u53D1","member_count":3,"max_member_count":200},{"group_id":559611581,"group_name":"\u6570\u636E\u770B\u677F\u673A\u5668\u4EBA\u5F00\u53D1","member_count":4,"max_member_count":200}],"echo":3}
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:38:56] [ServiceContext] [DEBUG]: Incoming SSOFrame: OidbSvcTrpcTcp.0xfe5_2
warn: Lagrange.Core.BotContext[0]
      [2024-07-02 11:39:00] [ServiceContext] [WARNING]: Unsupported SSOFrame Received: ConfigPushSvc.PushReq
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:39:00] [ServiceContext] [DEBUG]: Unsuccessful SSOFrame Payload: 10022c3c4c56235151536572766963652e436f6e666967507573685376632e4d61696e53657276616e746607507573685265717d0001056d0800010607507573685265711800010612436f6e666967507573682e507573685265711d000105450a10012d000105331900080a160f3131342e3232312e3134342e3135302136b030014c5c6008700186027368960374656cacb001c6146964783d3026706f6c6963793d64656661756c740b0a160c34322e38312e3138342e3832211f9030014c5c600870018602746a960374656cacb001c6146964783d3126706f6c6963793d64656661756c740b0a160e3138332e34372e3131302e323230211f9030014c5c600870018602737a960374656cacbcc6000b0a160c34392e372e3235332e313737205030014c5c600870018602746a960374656cacbcc6000b0a160e3131372e36322e3234332e3232312136b030014c5c6008700186027368960374656cacbcc6000b0a160f3132302e3234312e3133302e3231362101bb30014c5c600870018602737a9602636dacbcc6000b0a160e3135372e3134382e35342e323439205030014c5c600870018602737a9603756e69acbcc6000b0a16116d7366776966692e33672e71712e636f6d211f9030014c5c60087c86066f746865727396066f7468657273acbcc6000b3900080a160f3131342e3232312e3134342e3135302136b030014c5c6008700186027368960374656cacb001c6146964783d3026706f6c6963793d64656661756c740b0a160c34322e38312e3138342e3832211f9030014c5c600870018602746a960374656cacb001c6146964783d3126706f6c6963793d64656661756c740b0a160e3138332e34372e3131302e323230211f9030014c5c600870018602737a960374656cacbcc6000b0a160c34392e372e3235332e313737205030014c5c600870018602746a960374656cacbcc6000b0a160e3131372e36322e3234332e3232312136b030014c5c6008700186027368960374656cacbcc6000b0a160f3132302e3234312e3133302e3231362101bb30014c5c600870018602737a9602636dacbcc6000b0a160e3135372e3134382e35342e323439205030014c5c600870018602737a9603756e69acbcc6000b0a16116d7366776966692e33672e71712e636f6d211f9030014c5c60087c86066f746865727396066f7468657273acbcc6000b4c5c6c70018900050a160d3138302e3130322e35392e3530205030014c500360087c86027368960374656cacb001c6146964783d3026706f6c6963793d64656661756c740b0a160d34322e38312e3139332e323432205030014c500360087c8602746a960374656cacb001c6146964783d3126706f6c6963793d64656661756c740b0a160e3131392e3134372e3139302e3337205030014c500360087c8602737a960374656cacbcc6000b0a160f3132302e3233322e3133302e313032205030014c500360087c8602737a9602636dacbcc6000b0a160e3135372e3134382e34322e313938205030014c500360087c8602737a9603756e69acbcc6000b9900050a160d3138302e3130322e35392e3530205030014c500360087c86027368960374656cacb001c6146964783d3026706f6c6963793d64656661756c740b0a160d34322e38312e3139332e323432205030014c500360087c8602746a960374656cacb001c6146964783d3126706f6c6963793d64656661756c740b0a160e3131392e3134372e3139302e3337205030014c500360087c8602737a960374656cacbcc6000b0a160f3132302e3233322e3133302e313032205030014c500360087c8602737a9602636dacbcc6000b0a160e3135372e3134382e34322e313938205030014c500360087c8602737a9603756e69acbcc6000ba90cb90cc90cd90ce002f00f0af61014514449414f5f504f4c4943595f44454641554c54f01101f61201fdf6130e706f6c6963793d64656661756c7433000000025a042b650b8c980ca80c
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"interval":5000,"status":{"app_initialized":true,"app_enabled":true,"app_good":true,"online":true,"good":true},"meta_event_type":"heartbeat","time":1719891541,"self_id":3058822786,"post_type":"meta_event"}
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:39:01] [ServiceContext] [DEBUG]: Outgoing SSOFrame: Heartbeat.Alive
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"interval":5000,"status":{"app_initialized":true,"app_enabled":true,"app_good":true,"online":true,"good":true},"meta_event_type":"heartbeat","time":1719891546,"self_id":3058822786,"post_type":"meta_event"}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"interval":5000,"status":{"app_initialized":true,"app_enabled":true,"app_good":true,"online":true,"good":true},"meta_event_type":"heartbeat","time":1719891551,"self_id":3058822786,"post_type":"meta_event"}
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:39:11] [ServiceContext] [DEBUG]: Outgoing SSOFrame: Heartbeat.Alive
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:39:13] [ServiceContext] [DEBUG]: Incoming SSOFrame: trpc.msg.olpush.OlPushService.MsgPushtrce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:39:13] [ServiceContext] [DEBUG]: Outgoing SSOFrame: OidbSvcTrpcTcp.0xfe7_3
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:39:14] [ServiceContext] [DEBUG]: Incoming SSOFrame: OidbSvcTrpcTcp.0xfe7_3
info: Lagrange.Core.BotContext[0]
      [2024-07-02 11:39:14] [MessagingLogic] [VERBOSE]: [MessageChain(879958937)(1584164717)] [Mention]: @akw2007(3058822786) | [Text]: 

# 注:这里应该是收到消息:@机器人

trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"message_type":"group","sub_type":"normal","message_id":49571231,"group_id":879958937,"user_id":1584164717,"anonymous":null,"message":[{"type":"at","data":{"qq":"3058822786"}},{"type":"text","data":{"text":" "}}],"raw_message":"[CQ:at,qq=3058822786] ","font":0,"sender":{"user_id":1584164717,"nickname":"SBxinhe","card":"","sex":"unknown","age":0,"area":"","level":"4","role":"owner","title":""},"time":1719891554,"self_id":3058822786,"post_type":"message"}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[12]
      Receive(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"action":"get_group_member_list","params":{"group_id":879958937},"echo":4}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"status":"ok","retcode":0,"data":[{"group_id":879958937,"user_id":1584164717,"nickname":"SBxinhe","card":null,"sex":"","age":0,"area":"","join_time":1719646450,"last_sent_time":1719862753,"level":"4","role":"owner","unfriendly":false,"title":null,"title_expire_time":0,"card_changeable":false},{"group_id":879958937,"user_id":3058822786,"nickname":"akw2007","card":null,"sex":"","age":0,"area":"","join_time":1719646450,"last_sent_time":1719860642,"level":"4","role":"member","unfriendly":false,"title":null,"title_expire_time":0,"card_changeable":false}],"echo":4}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[12]
      Receive(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"action":"send_group_msg","params":{"group_id":879958937,"message":[{"type":"reply","data":{"id":"49571231"}},{"type":"text","data":{"text":"帮助信息:\n@机器人 猫/小猫: 不是猫, 是狐狸\n@机器人 你好: konkon, kizune~\n@机器人 可爱: 喵...\n@机器人 fycx [档线]:查询最新活动档线\n"}}],"auto_escape":false},"echo":5}

# 注:这里看起来就是能收到消息但是后面就发不出去

trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:39:14] [ServiceContext] [DEBUG]: Outgoing SSOFrame: MessageSvc.PbSendMsg
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"interval":5000,"status":{"app_initialized":true,"app_enabled":true,"app_good":true,"online":true,"good":true},"meta_event_type":"heartbeat","time":1719891556,"self_id":3058822786,"post_type":"meta_event"}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"interval":5000,"status":{"app_initialized":true,"app_enabled":true,"app_good":true,"online":true,"good":true},"meta_event_type":"heartbeat","time":1719891561,"self_id":3058822786,"post_type":"meta_event"}
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:39:21] [ServiceContext] [DEBUG]: Outgoing SSOFrame: Heartbeat.Alive
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(b7d472b5-d412-40cc-a67b-c9392994a5c4) {"interval":5000,"status":{"app_initialized":true,"app_enabled":true,"app_good":true,"online":true,"good":true},"meta_event_type":"heartbeat","time":1719891566,"self_id":3058822786,"post_type":"meta_event"}
^Cinfo: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...
info: Lagrange.OneBot.LagrangeApp[0]
      Lagrange.OneBot Implementation has stopped
info: Lagrange.OneBot.Core.Network.Service.ForwardWSService[14]
      Disconnect(b7d472b5-d412-40cc-a67b-c9392994a5c4)

# 注:我等了很久都没看到有消息发出,我就Disconnect了

正常能发送消息的日志应该看起来像是下面这样:

info: Lagrange.Core.BotContext[0]
      [2024-07-02 11:04:00] [MessagingLogic] [VERBOSE]: [MessageChain(879958937)(1584164717)] [Mention]: @akw2007(3058822786) | [Text]:  

# 注:收到消息

trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(20d4015e-e2c4-451d-8560-1510ddcbae64) {"message_type":"group","sub_type":"normal","message_id":49445578,"group_id":879958937,"user_id":1584164717,"anonymous":null,"message":[{"type":"at","data":{"qq":"3058822786"}},{"type":"text","data":{"text":" "}}],"raw_message":"[CQ:at,qq=3058822786] ","font":0,"sender":{"user_id":1584164717,"nickname":"SBxinhe","card":"","sex":"unknown","age":0,"area":"","level":"4","role":"owner","title":""},"time":1719889440,"self_id":3058822786,"post_type":"message"}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[12]
      Receive(20d4015e-e2c4-451d-8560-1510ddcbae64) {"action":"get_group_member_list","params":{"group_id":879958937},"echo":4}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(20d4015e-e2c4-451d-8560-1510ddcbae64) {"status":"ok","retcode":0,"data":[{"group_id":879958937,"user_id":1584164717,"nickname":"SBxinhe","card":null,"sex":"","age":0,"area":"","join_time":1719646450,"last_sent_time":1719860639,"level":"4","role":"owner","unfriendly":false,"title":null,"title_expire_time":0,"card_changeable":false},{"group_id":879958937,"user_id":3058822786,"nickname":"akw2007","card":null,"sex":"","age":0,"area":"","join_time":1719646450,"last_sent_time":1719833071,"level":"4","role":"member","unfriendly":false,"title":null,"title_expire_time":0,"card_changeable":false}],"echo":4}
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[12]
      Receive(20d4015e-e2c4-451d-8560-1510ddcbae64) {"action":"send_group_msg","params":{"group_id":879958937,"message":[{"type":"reply","data":{"id":"49445578"}},{"type":"text","data":{"text":"帮助信息:\n@机器人 猫/小猫: 不是猫, 是狐狸\n@机器人 你好: konkon, kizune~\n@机器人 可爱: 喵...\n@机器人 fycx [档线]:查询最新活动档线\n"}}],"auto_escape":false},"echo":5}

# 注:OneBot收到需要发送的消息

trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:04:00] [ServiceContext] [DEBUG]: Outgoing SSOFrame: MessageSvc.PbSendMsg
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:04:02] [ServiceContext] [DEBUG]: Incoming SSOFrame: MessageSvc.PbSendMsg
trce: Lagrange.OneBot.Core.Network.Service.ForwardWSService[13]
      Send(20d4015e-e2c4-451d-8560-1510ddcbae64) {"status":"ok","retcode":0,"data":{"message_id":49544460},"echo":5}
trce: Lagrange.Core.BotContext[0]
      [2024-07-02 11:04:02] [ServiceContext] [DEBUG]: Incoming SSOFrame: trpc.msg.olpush.OlPushService.MsgPush
info: Lagrange.Core.BotContext[0]
      [2024-07-02 11:04:02] [MessagingLogic] [VERBOSE]: [MessageChain(879958937)(3058822786)] [Forward]: Sequence: 754 | [Text]: 帮助信息:
      @机器人 猫/小猫: 不是猫, 是狐狸
      @机器人 你好: konkon, kizune~
      @机器人 可爱: 喵...
      @机器人 fycx [档线]:查询最新活动档线

# 注:OneBot成功发送消息

期望的结果是什么?

可以发送

实际的结果是什么?

不能发送

简单的复现代码/链接(可选)

No response

Trace 级别日志记录(可选)

No response

补充说明(可选)

No response

lianzuo123 commented 5 months ago

一样,碰到了同样的问题..出现了 Unsupported SSOFrame Received: MsgPush.PushGroupMsg

然后发不出去消息

dogdie233 commented 4 months ago

可能 是账号被风控了(?) 试试在手机上登录机器人的账号发送一些信息

lmtivy commented 4 months ago

macOS 12.7.5 也遇到了这个问题:Unsupported SSOFrame Received: MsgPush.PushGroupMsg,手机上登录收发消息是没有问题的,也没有显示风控。它时好时坏的,不重启也能自己好。重启也不一定能好。以前用着都是没有问题的,近一周才发现有这个问题。 nonebot端同样也显示收到消息,代码正常运行并发送了消息。

sweetymajo commented 4 months ago

我最近也遇到了一样的问题,时好时坏

saiyoulala commented 4 months ago

win包也有这问题,我问了几个人好像很长时间没更新过lagrange的没问题,更新过的有问题

Cjsah commented 4 months ago

Debian/Ubuntu 同样

LanternCX commented 4 months ago

朋友们,我这个问题目前只有在CentOS下才会出现,如果是其他平台可能原因不同,只是现象一样 之前线上跟开发者讨论了一下,配合他们debug之后,他们说这个问题比较奇怪,暂时修复不了 目前我在Ubuntu使用是没有问题的,实在要在CentOS下跑也可以考虑做成Docker 也是可以正常使用的 至于一些在其他平台吞消息的情况,建议是开一个新issue,因为问题的原因大概率是不同的,当然这个问题也有可能跟平台无关

Cjsah commented 4 months ago

可我是在ubuntu的系统和debian的docker两个环境都试过了的..

OREOCODEDEV commented 4 months ago

今天在Windows平台下遇到了一模一样的问题 留意到我这边在启动阶段有SignServer不可用的提示,看到这个issue里面贴的log也有一样的错误,不知道是不是和这个有关系

warn: Lagrange.OneBot.Utility.MusicSigner[0]
      MusicSignServer is not available, sign may be failed

签名服务应该是正常的,这个可能只是音乐卡片的签名服务有问题

zty012 commented 2 months ago

降级到b61da42解决了

DarkRRb commented 2 months ago

签名服务应该是正常的,这个可能只是音乐卡片的签名服务有问题

此服务器用于发送音乐卡片, 应该是无关的