Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法发送图片, 删除 bot 缓存后恢复正常,但是过了一阵子后又不可以了 #1626

Open
leinlin opened this issue Oct 28, 2021 · 6 comments
Labels
M 优先级: 主要 s:core 子系统: mirai-core t:problem 类型: 不容易归类为特性或 bug 的综合问题 x:protocol 属性: 协议相关 x:question 标签: 需要更多信息
Milestone

Comments

@leinlin
Copy link

leinlin commented Oct 28, 2021

复现

版本及相关选项选择

12:25:08 [INFO] Verifying "net.mamoe:mirai-console" version 2.8.0-M1
12:25:09 [INFO] Verifying "net.mamoe:mirai-console-terminal" version 2.8.0-M1
12:25:09 [INFO] Verifying "net.mamoe:mirai-core-all" version 2.8.0-M1

网络日志

[2021-10-28 04:27:41][Mirai] INFO: Event: url:https://i.pximg.net/img-master/img/2019/07/12/22/28/15/75685155_p0_master1200.jpg
[2021-10-28 04:27:42][Mirai] WARNING: Protocol: mirai does not support for long string: now its length is 158
[2021-10-28 04:27:42][Mirai] INFO: Protocol: protocol method uploadImage was called
[2021-10-28 04:27:42][Mirai] ERROR: Protocol: cannot connect to the headless client, will retry after 5 seconds.

补充信息

@leinlin leinlin added the x:question 标签: 需要更多信息 label Oct 28, 2021
@Karlatemp
Copy link
Member

该部分并非 mirai 输出的日志请提供完整日志以及相关报错内容,以及无法发送图片的具体表现

@Karlatemp Karlatemp added the z:wait-for-reply 状态: 等待回复 label Oct 28, 2021
@leinlin
Copy link
Author

leinlin commented Oct 29, 2021

软件版本是 2.7.1

@leinlin
Copy link
Author

leinlin commented Oct 29, 2021

表现上是图片日志上显示发送成功了,但是qq群接受不到图片

@sandtechnology
Copy link
Collaborator

该部分并非 mirai 输出的日志请提供完整日志以及相关报错内容,以及无法发送图片的具体表现

+1

@leinlin
Copy link
Author

leinlin commented Nov 2, 2021

删除 bots下的文件夹后可以正常发送图片,但是过了一阵子后又不可以了

@Him188
Copy link
Member

Him188 commented Nov 9, 2021

怀疑是 bdh session 过期, 待 investigate

@Him188 Him188 added M 优先级: 主要 x:protocol 属性: 协议相关 t:problem 类型: 不容易归类为特性或 bug 的综合问题 and removed z:wait-for-reply 状态: 等待回复 labels Nov 9, 2021
@Him188 Him188 changed the title 无法发送图片 无法发送图片, 删除 bot 缓存后恢复正常,但是过了一阵子后又不可以了 Nov 9, 2021
@Him188 Him188 added this to the Backlog milestone Nov 9, 2021
@Him188 Him188 added the s:core 子系统: mirai-core label Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M 优先级: 主要 s:core 子系统: mirai-core t:problem 类型: 不容易归类为特性或 bug 的综合问题 x:protocol 属性: 协议相关 x:question 标签: 需要更多信息
Projects
None yet
Development

No branches or pull requests

4 participants