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

最新版本的GO部分图片无法发送,提示消息图片上传失败 #1063

Closed
shadow7755 opened this issue Sep 16, 2021 · 13 comments
Closed
Labels
bug? The issue author think this is a bug need more info  需要更多信息

Comments

@shadow7755
Copy link

shadow7755 commented Sep 16, 2021

环境信息

go-cqhttp版本: v1.0.0-beta7-fix1
运行环境: windows_amd64
连接方式: ws
使用协议: Android Pad

在最新的release版本中能否复现

bug内容
hoshino使用 https://github.com/pcrbot/gacha 的自动更新抽卡插件
使用 来一井 抽卡命令,最后得到的抽卡结果图片,无法正常显示
提示消息图片上传失败

比如执行抽卡命令
image

go报错日志如下
image

后来我拿v1.0.0-beta6的go实验了一下,图片是能正常发送的,说明不是QQ号被风控的问题
这个问题在beta6版没有,而在beta7版出现
image

复现方法
hoshino使用 https://github.com/pcrbot/gacha 的自动更新抽卡插件
使用 来一井 抽卡命令,最后得到的抽卡结果图片,无法正常显示

@shadow7755 shadow7755 added the bug? The issue author think this is a bug label Sep 16, 2021
@github-actions
Copy link
Contributor

我们在您的 Issue 中发现了如下问题:
  • 没有在问题描述中找到对应复现方法。清晰明了的复现方法有助于快速定位问题。请尝试复现并补全复现方法。

请参照 相关教程 按照上述要求对 Issue 进行修改。

@github-actions github-actions bot added the need more info  需要更多信息 label Sep 16, 2021
@Ink-33
Copy link
Contributor

Ink-33 commented Sep 16, 2021

请提供您的业务代码

@shadow7755
Copy link
Author

shadow7755 commented Sep 16, 2021

请提供您的业务代码

业务代码是哪个?是机器人口令吗?
用的 来一井

@Ink-33
Copy link
Contributor

Ink-33 commented Sep 16, 2021

请提供您的业务代码

业务代码是哪个?

就是你是如何通过gocq发送图片的

@shadow7755
Copy link
Author

shadow7755 commented Sep 16, 2021

请提供您的业务代码

业务代码是哪个?

就是你是如何通过gocq发送图片的

机器人口令是 来一井
用的自动抽卡的插件 https://github.com/pcrbot/gacha
最后机器人发送的是抽卡结果图片,beta6版本能正常显示,beta7版本就出现issue里的提示图片上传失败的错误,图片无法正常显示

@Ink-33
Copy link
Contributor

Ink-33 commented Sep 16, 2021

请您打开gocq的debug模式,分别截取调用抽卡时,b6和b7的接收到xxxapi调用两张截图

@ishkong
Copy link
Contributor

ishkong commented Sep 16, 2021

已确定最新版base64发送图片存在问题,请等待核心开发者排查

@Mrs4s
Copy link
Owner

Mrs4s commented Sep 16, 2021

初步判断是由于硬件指令集加速导致的兼容性问题, 还在排查

@Mrs4s
Copy link
Owner

Mrs4s commented Sep 16, 2021

确实是硬件加速导致的随机解码错误, 明天修...

@NepPure
Copy link

NepPure commented Sep 17, 2021

相同问题 大佬加油

@wdvxdr1123
Copy link
Collaborator

可以尝试使用 https://github.com/Mrs4s/go-cqhttp/actions/runs/1244610158 ,如果依旧遇到问题,请及时反馈

@NepPure
Copy link

NepPure commented Sep 17, 2021

可以尝试使用 https://github.com/Mrs4s/go-cqhttp/actions/runs/1244610158 ,如果依旧遇到问题,请及时反馈

目前看来问题解决了

@Mrs4s
Copy link
Owner

Mrs4s commented Sep 18, 2021

已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? The issue author think this is a bug need more info  需要更多信息
Projects
None yet
Development

No branches or pull requests

6 participants