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

[Bug]: 使用QQ新electron架构客户端(Mac)发送的图片bot端收到的图片地址http404 #1795

Closed
4 tasks done
Guanyunhan opened this issue Dec 14, 2022 · 6 comments
Labels
bug? The issue author think this is a bug

Comments

@Guanyunhan
Copy link

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

  • 我已经仔细阅读上述教程和 "提问前需知"
  • 我已经使用 dev分支版本 测试过,问题依旧存在。
  • 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
  • 我已知晓并同意,此处仅用于汇报程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。(这些问题应当在 Discussion 板块提出。)

go-cqhttp 版本

v1.0.0-rc3

运行环境

Windows (64)

运行架构

AMD64

连接方式

HTTP

使用协议

2 | Android Watch

重现步骤

使用QQ新electron架构客户端(Mac)发送图片,bot端可以收到图片地址,但是http访问404,将图片通过手机客户端转发一次就正常了,疑似新版客户端使用了新的协议

期望的结果是什么?

修复bot端收不到图片的问题

实际的结果是什么?

bot端收不到图片

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

No response

日志记录(可选)

No response

补充说明(可选)

No response

@Guanyunhan Guanyunhan added the bug? The issue author think this is a bug label Dec 14, 2022
@Guanyunhan
Copy link
Author

electron版客户端发出的图片地址:[CQ:image,file=61e198fc109d7c211fadf6324280251b.image,url=https://c2cpicdw.qpic.cn/offpic_new/0/Chh1XzJHR096dS1IOEdkZll6NV83X0VtUkESFLAMfhJWeVDQB9n5liwjxa9fFcG6GMJ-IP4KKPSV77y1-PsCMLm76AM4t9-c0w9YgIl6/0?term=3]
手机客户端发出的图片地址:[CQ:image,file=61e198fc109d7c211fadf6324280251b.image,url=https://c2cpicdw.qpic.cn/offpic_new/【QQ号】//【QQ号】-898734885-61E198FC109D7C211FADF6324280251B/0?term=2&is_origin=0]

@dmlgzs
Copy link

dmlgzs commented Dec 16, 2022

我给 OICQ PR 了,takayama-lily/oicq#475
只要有人移植到 MiraiGo 就好了

@yoyodi
Copy link

yoyodi commented Mar 3, 2023

我也是使用新版MAC端QQ(版本: 6.9.10 (9733, 8336))向bot端发送图片,bot端收到的图片地址是这个样子:
[CQ:image,file=df38b456a924206cadccc22886fac2a3.image,subType=0,url=https://gchat.qpic.cn/download?appid=1407&fileid=Chh1X0ZtaG8yMEhTYUpfVDRCZ2Z1UkVDYmcSFPDuWpSLYmNwcuEUxCgb2GwqyJShGPRxIP8KKP_F-KC6vv0CMP-16AM4pLbq3QFQgL2jAViAiXo&rkey=CAMSSJY5X_KUSNXs_XO5PxSKElSSnK4HR02U2puv5_Q97N19WYSgDayT4WLth8w_5b1OxKiT6OwP2oPUgjTOJ6Bq0wDyChxggTJC3Q&spec=0]
HTTP访问提示ERROR 400
协议protocol = 2
版本go-cqhttp rc0.4
连接方式HTTP
运行环境Ubuntu20.04 x64

@Mrs4s Mrs4s closed this as completed Mar 18, 2023
@Guanyunhan
Copy link
Author

issue被关了,然后试了下最新版,结果并没有修好

@huankong233
Copy link

我也是使用新版MAC端QQ(版本: 6.9.10 (9733, 8336))向bot端发送图片,bot端收到的图片地址是这个样子: [CQ:image,file=df38b456a924206cadccc22886fac2a3.image,subType=0,url=https://gchat.qpic.cn/download?appid=1407&fileid=Chh1X0ZtaG8yMEhTYUpfVDRCZ2Z1UkVDYmcSFPDuWpSLYmNwcuEUxCgb2GwqyJShGPRxIP8KKP_F-KC6vv0CMP-16AM4pLbq3QFQgL2jAViAiXo&rkey=CAMSSJY5X_KUSNXs_XO5PxSKElSSnK4HR02U2puv5_Q97N19WYSgDayT4WLth8w_5b1OxKiT6OwP2oPUgjTOJ6Bq0wDyChxggTJC3Q&spec=0] HTTP访问提示ERROR 400 协议protocol = 2 版本go-cqhttp rc0.4 连接方式HTTP 运行环境Ubuntu20.04 x64

同问题,找到解决办法了吗

@huankong233
Copy link

我也是使用新版MAC端QQ(版本: 6.9.10 (9733, 8336))向bot端发送图片,bot端收到的图片地址是这个样子: [CQ:image,file=df38b456a924206cadccc22886fac2a3.image,subType=0,url=https://gchat.qpic.cn/download?appid=1407&fileid=Chh1X0ZtaG8yMEhTYUpfVDRCZ2Z1UkVDYmcSFPDuWpSLYmNwcuEUxCgb2GwqyJShGPRxIP8KKP_F-KC6vv0CMP-16AM4pLbq3QFQgL2jAViAiXo&rkey=CAMSSJY5X_KUSNXs_XO5PxSKElSSnK4HR02U2puv5_Q97N19WYSgDayT4WLth8w_5b1OxKiT6OwP2oPUgjTOJ6Bq0wDyChxggTJC3Q&spec=0] HTTP访问提示ERROR 400 协议protocol = 2 版本go-cqhttp rc0.4 连接方式HTTP 运行环境Ubuntu20.04 x64

新版的已经可以用了,但是需要替换几个字符
image
url中的amp;替换为空即可直接打开

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
Projects
None yet
Development

No branches or pull requests

5 participants