NapNeko / NapCatQQ

现代化的基于 NTQQ 的 Bot 协议端实现
https://napneko.github.io
Other
1.77k stars 134 forks source link

[BUG] 点赞失败 #132

Closed tianyisama closed 1 month ago

tianyisama commented 1 month ago

系统版本

Windows server 2012

QQNT 版本

9.9.12.25493

NapCat 版本

1.6.6

OneBot 客户端

trss v3.1.3

发生了什么?

点赞失败,错误信息见日志

如何复现

1.使用send_like 2.目前发现部分群聊的成员全部会触发报错,部分群聊偶尔出现报错 3.使用onebot的api或者发送http请求均会出现相同的报错

期望的结果?

为好友点赞成功

NapCat 运行日志

2024-07-19 23:29:22 [ [91mERROR [39m] 岁纳京子(2675712883) | 发生错误 点赞失败 Error: oidbex
-call 0x5eb_15 request error && err: type:business, code:1, msg:Bad uin in req:
0 reqhead:uint64_uin:2675712883  uint32_command:1515  uint32_service_type:15  ui
nt32_seq:2446310370  uint32_client_addr:60560661  bytes_client_addr:"\x96\x8aM\x
ed"  uint32_server_addr:60560661  uint32_result:1  str_error_msg:"Bad uin in req
: 0"  msg_login_sig:{uint32_type:8  bytes_sig:"C\xa7\xbe΋7}\x94\x9e\x975\xef:\x1
7\x99\x15\xder\xdd]UF3T>\x19E\x03\xa5\x16\x04\xdfac\x8e\xceb|Q\x97\xd9N\x8b\x1b\
xb3Z^\xbf\x04\x1f\xb9\xddvK<\xe7\x80\xe8\x9cHb\xa4\xa8\xf3\xe4\x8b\xd5\x13\xf7\x
c9Q\xe6"  uint32_appid:1600001604}  str_user_name:"bbteam-oidbex-package"  str_s
ervice_name:"like"  uint32_from_addr:165776139  uint32_moduleid:33755  reserved:
"\xe7\xde\x00\x00\x00\x02:m \x05\x8d\x0e\x00\x00\x00\x00\x14\xe0\x0c\x00\x00O\x8
6\x9af\x00\x00\x00\x00\xa4\xbd\x04\x00\x00\x00\x00\x00\x00\x18OidbSvcTrpcTcp.0x7
e5_104"  msg_sso_info:{uint32_seq:7452243  uint32_app_id:2052  bytes_imei:"65b86
e5027626238cc0b214f54a1b017"  bytes_sso_client_version:""  uint32_sso_bid:537234
702  uint32_apn_type:2  msg_qq_head:{bytes_client_ip:"\x96\x8aM\xed"  uint32_cli
ent_plat:8  bytes_client_version:"9.0.68"  uint32_product_id:200513  bytes_trace
_id:"096d6a2232131dedb1394fa9ae935027"  bytes_parent_id:""  bytes_client_guid:"e
\xb8nP'bb8\xcc\x0b!OT\xa1\xb0\x17"  uint32_client_plat_id:1024  bytes_client_sub
_plat:"Windows"  bytes_uid:"u_Oi-ay1ToO9qzwJrQ--FI0A"  bytes_trace_parent:""  bo
ol_is_nt_product:true  bytes_login_sig:"\x08\x08\x12HC\xa7\xbe΋7}\x94\x9e\x975\x
ef:\x17\x99\x15\xder\xdd]UF3T>\x19E\x03\xa5\x16\x04\xdfac\x8e\xceb|Q\x97\xd9N\x8
b\x1b\xb3Z^\xbf\x04\x1f\xb9\xddvK<\xe7\x80\xe8\x9cHb\xa4\xa8\xf3\xe4\x8b\xd5\x13
\xf7\xc9Q\xe6\x18Ĭ\xf8\xfa\x05"  uint32_login_type:0  uint32_nt_core_version:101
  message_type:0  27:13  26:"OidbSvcTrpcTcp.0x7e5_104"}}  uint64_apply_id:155411
7  uint32_account_type:0  uint32_original_account_type:1  bytes_auth_info:""  42
:"\x18\x00\"\x00", req:rpt_uint64_uins:2675712883  rpt_uint64_uins:0  uint32_req
_nick:1  uint32_req_gender:1  uint32_req_face_id:1  uint32_req_country:1  uint32
_req_province:1  uint32_req_city:1  uint32_req_city_id:1  uint32_req_reg_type:1
 super_vip:1  uint32_req_age:1  uint32_req_mf_nick:1  uint32_req_mf_sign:1  uint
32_req_constellation:1  uint32_req_mf_single:1  uint32_req_richflag3:1  uint32_r
eq_limit:1  uint32_req_cannot_searched_1:1  uint32_req_cannot_searched_2:2  uint
32_req_cannot_searched_3:3  uint32_req_neighbor_vote_flag:1  uint32_req_email_se
arched:1  uint32_req_qq_searched:1  uint32_req_limit_sign_in:1  uint32_req_liang
hao_flag:1  uint32_req_richflag4_409:1  uint32_req_richflag4_432:1  uint32_req_r
ich_flag4_428:1  uint32_req_like_custom_id:1, resp:
2024-07-19 23:29:23 [ [91mERROR [39m] 岁纳京子(2675712883) | 发生错误 点赞失败 Error: oidbex
-call 0x5eb_15 request error && err: type:business, code:1, msg:Bad uin in req:
0 reqhead:uint64_uin:2675712883  uint32_command:1515  uint32_service_type:15  ui
nt32_seq:2091000042  uint32_client_addr:4121498901  bytes_client_addr:"\x96\x8aM
\xed"  uint32_server_addr:4121498901  uint32_result:1  str_error_msg:"Bad uin in
 req: 0"  msg_login_sig:{uint32_type:8  bytes_sig:"C\xa7\xbe΋7}\x94\x9e\x975\xef
:\x17\x99\x15\xder\xdd]UF3T>\x19E\x03\xa5\x16\x04\xdfac\x8e\xceb|Q\x97\xd9N\x8b\
x1b\xb3Z^\xbf\x04\x1f\xb9\xddvK<\xe7\x80\xe8\x9cHb\xa4\xa8\xf3\xe4\x8b\xd5\x13\x
f7\xc9Q\xe6"  uint32_appid:1600001604}  str_user_name:"bbteam-oidbex-package"  s
tr_service_name:"like"  uint32_from_addr:165776139  uint32_moduleid:33755  reser
ved:"\xe7\xde\x00\x00\x00\x02:m \x05\x8d\x0e\x00\x00\x00\x00\x14\xe2\x0c\x00\x00
O\x86\x9af\x00\x00\x00\x00!\x01\x0c\x00\x00\x00\x00\x00\x00\x18OidbSvcTrpcTcp.0x
7e5_104"  msg_sso_info:{uint32_seq:7452245  uint32_app_id:2052  bytes_imei:"65b8
6e5027626238cc0b214f54a1b017"  bytes_sso_client_version:""  uint32_sso_bid:53723
4702  uint32_apn_type:2  msg_qq_head:{bytes_client_ip:"\x96\x8aM\xed"  uint32_cl
ient_plat:8  bytes_client_version:"9.0.68"  uint32_product_id:200513  bytes_trac
e_id:"35428cbd84af075f4dfe097bdcf5623a"  bytes_parent_id:""  bytes_client_guid:"
e\xb8nP'bb8\xcc\x0b!OT\xa1\xb0\x17"  uint32_client_plat_id:1024  bytes_client_su
b_plat:"Windows"  bytes_uid:"u_Oi-ay1ToO9qzwJrQ--FI0A"  bytes_trace_parent:""  b
ool_is_nt_product:true  bytes_login_sig:"\x08\x08\x12HC\xa7\xbe΋7}\x94\x9e\x975\
xef:\x17\x99\x15\xder\xdd]UF3T>\x19E\x03\xa5\x16\x04\xdfac\x8e\xceb|Q\x97\xd9N\x
8b\x1b\xb3Z^\xbf\x04\x1f\xb9\xddvK<\xe7\x80\xe8\x9cHb\xa4\xa8\xf3\xe4\x8b\xd5\x1
3\xf7\xc9Q\xe6\x18Ĭ\xf8\xfa\x05"  uint32_login_type:0  uint32_nt_core_version:10
1  message_type:0  27:13  26:"OidbSvcTrpcTcp.0x7e5_104"}}  uint64_apply_id:15541
17  uint32_account_type:0  uint32_original_account_type:1  bytes_auth_info:""  4
2:"\x18\x00\"\x00", req:rpt_uint64_uins:2675712883  rpt_uint64_uins:0  uint32_re
q_nick:1  uint32_req_gender:1  uint32_req_face_id:1  uint32_req_country:1  uint3
2_req_province:1  uint32_req_city:1  uint32_req_city_id:1  uint32_req_reg_type:1
  super_vip:1  uint32_req_age:1  uint32_req_mf_nick:1  uint32_req_mf_sign:1  uin
t32_req_constellation:1  uint32_req_mf_single:1  uint32_req_richflag3:1  uint32_
req_limit:1  uint32_req_cannot_searched_1:1  uint32_req_cannot_searched_2:2  uin
t32_req_cannot_searched_3:3  uint32_req_neighbor_vote_flag:1  uint32_req_email_s
earched:1  uint32_req_qq_searched:1  uint32_req_limit_sign_in:1  uint32_req_lian
ghao_flag:1  uint32_req_richflag4_409:1  uint32_req_richflag4_432:1  uint32_req_
rich_flag4_428:1  uint32_req_like_custom_id:1, resp:

OneBot 客户端运行日志

[TRSSYz][23:29:24.386][INFO] [2675712883 => 37615082] 点赞:10次
[TRSSYz][23:29:24.865][INFO] [2675712883 => 37615082] 点赞:10次
[TRSSYz][23:29:25.946][INFO] [2675712883 => 782097214] 发送群消息:[{"type":"rep
ly","data":{"id":"-2146002873"}},{"type":"at","data":{"qq":"37615082"}},{"type":
"text","data":{"text":"\n"}},{"type":"text","data":{"text":"\n点赞失败 Error: oi
dbex-call 0x5eb_15 request error && err: type:business, code:1, msg:Bad uin in r
eq: 0 reqhead:uint64_uin:2675712883  uint32_command:1515  uint32_service_type:15
  uint32_seq:1265303561  uint32_client_addr:1577785365  bytes_client_addr:\"\\x9
6\\x8aM\\xed\"  uint32_server_addr:1577785365  uint32_result:1  str_error_msg:\"
Bad uin in req: 0\"  msg_login_sig:{uint32_type:8  bytes_sig:\"C\\xa7\\xbe΋7}\\
x94\\x9e\\x975\\xef:\\x17\\x99\\x15\\xder\\xdd]UF3T>\\x19E\\x03\\xa5\\x16\\x04\\
xdfac\\x8e\\xceb|Q\\x97\\xd9N\\x8b\\x1b\\xb3Z^\\xbf\\x04\\x1f\\xb9\\xddvK<\\xe7\
\x80\\xe8\\x9cHb\\xa4\\xa8\\xf3\\xe4\\x8b\\xd5\\x13\\xf7\\xc9Q\\xe6\"  uint32_ap
pid:1600001604}  str_user_name:\"bbteam-oidbex-package\"  str_service_name:\"lik
e\"  uint32_from_addr:165776139  uint32_moduleid:33755  reserved:\"\\xe7\\xde\\x
00\\x00\\x00\\x02:m \\x05\\x8d\\x0e\\x00\\x00\\x00\\x00\\x14\\xe8\\x0c\\x00\\x00
Q\\x86\\x9af\\x00\\x00\\x00\\x00\\x18'\\t\\x00\\x00\\x00\\x00\\x00\\x00\\x18Oidb
SvcTrpcTcp.0x7e5_104\"  msg_sso_info:{uint32_seq:7452251  uint32_app_id:2052  by
tes_imei:\"65b86e5027626238cc0b214f54a1b017\"  bytes_sso_client_version:\"\"  ui
nt32_sso_bid:537234702  uint32_apn_type:2  msg_qq_head:{bytes_client_ip:\"\\x96\
\x8aM\\xed\"  uint32_client_plat:8  bytes_client_version:\"9.0.68\"  uint32_prod
uct_id:200513  bytes_trace_id:\"6e761a7be01d79e30d12270f1d63ae53\"  bytes_parent
_id:\"\"  bytes_client_guid:\"e\\xb8nP'bb8\\xcc\\x0b!OT\\xa1\\xb0\\x17\"  uint32
_client_plat_id:1024  bytes_client_sub_plat:\"Windows\"  bytes_uid:\"u_Oi-ay1ToO
9qzwJrQ--FI0A\"  bytes_trace_parent:\"\"  bool_is_nt_product:true  bytes_login_s
ig:\"\\x08\\x08\\x12HC\\xa7\\xbe΋7}\\x94\\x9e\\x975\\xef:\\x17\\x99\\x15\\xder\
\xdd]UF3T>\\x19E\\x03\\xa5\\x16\\x04\\xdfac\\x8e\\xceb|Q\\x97\\xd9N\\x8b\\x1b\\x
b3Z^\\xbf\\x04\\x1f\\xb9\\xddvK<\\xe7\\x80\\xe8\\x9cHb\\xa4\\xa8\\xf3\\xe4\\x8b\
\xd5\\x13\\xf7\\xc9Q\\xe6\\x18Ĭ\\xf8\\xfa\\x05\"  uint32_login_type:0  uint32_nt
_core_version:101  message_type:0  27:13  26:\"OidbSvcTrpcTcp.0x7e5_104\"}}  uin
t64_apply_id:1554117  uint32_account_type:0  uint32_original_account_type:1  byt
es_auth_info:\"\"  42:\"\\x18\\x00\\\"\\x00\", req:rpt_uint64_uins:2675712883  r
pt_uint64_uins:0  uint32_req_nick:1  uint32_req_gender:1  uint32_req_face_id:1
uint32_req_country:1  uint32_req_province:1  uint32_req_city:1  uint32_req_city_
id:1  uint32_req_reg_type:1  super_vip:1  uint32_req_age:1  uint32_req_mf_nick:1
  uint32_req_mf_sign:1  uint32_req_constellation:1  uint32_req_mf_single:1  uint
32_req_richflag3:1  uint32_req_limit:1  uint32_req_cannot_searched_1:1  uint32_r
eq_cannot_searched_2:2  uint32_req_cannot_searched_3:3  uint32_req_neighbor_vote
_flag:1  uint32_req_email_searched:1  uint32_req_qq_searched:1  uint32_req_limit
_sign_in:1  uint32_req_lianghao_flag:1  uint32_req_richflag4_409:1  uint32_req_r
ichflag4_432:1  uint32_req_rich_flag4_428:1  uint32_req_like_custom_id:1, resp:"
}},{"type":"image","data":{"file":"base64://..."}}]
MliKiowa commented 1 month ago

尝试修了一下

MliKiowa commented 1 month ago

到action试试

MliKiowa commented 1 month ago

新版已修

tianyisama commented 1 month ago

新版已修

谢谢老婆喵