Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

bug: 图片消息无法访问,不太确定是不是bug,但是地址确实访问不了。。 #357

Open
RainbowSorcery opened this issue Aug 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@RainbowSorcery
Copy link

RainbowSorcery commented Aug 9, 2024

描述 Bug

接收到消息回调后,回调返回的图片地址无法访问,提示如下错误:

{
    "retcode": -5503003,
    "retmsg": "invalid fileid",
    "retryflag": 1
}

但是上传文件的回调地址是可以正常访问的。
上传地址和文件图片地址似乎不是同一个域名
图片地址: https://multimedia.nt.qq.com.cn/download?appid=1407&fileid=3290796113-4235643285-ABC3D6DF17812D8C061399CAC623BCC5&rkey=CAMSKMa3OFokB_TlsWE740LFp-FieofHW_xiI4RNg_Ak291QkTMwXpOrYyU&spec=0
文件地址: http://222.94.109.88/asn.com/qqdownloadftnv5?ver=2&openid=1986219352&rkeycodec=base62&rkey=oAYCsga8AgqcAUQ2RUFUZ0JGQ05HZ2xxRU1FaFNURTBSYmlhYkJLV21UUjRKeWpydDE3Y2hCTDRCaWF3SVNDaEh5aWEydE5lMUJqRDl0ZWdET0o3Z2lhcE1LUUFOSUFRNTE5MDI1YzRmOTViaMDlkZjRkZTM1ZWExYzc4M2MzNjhfOGM3M2RhZTItNTYyZC0xMWVmLWFjMjktMTkwZDdlMTk2MGY4WhIUkxNEW4mwSlpk0eCco67de3IQSibAYASDYmo2zByiawITChHziaJrLLWAkJA7yjqI2EXRuhBGxkbzdksibbNY3urXhqaobTX4tuTUQXH8RIjiceibXgepK60ibY3q9o3jWYlW0zQahGPtFL7YElk8koORlRONUs9NzIxMDRiaZTBQuLTXtQZaF25qYy1kb3dubG9hZC5mdG4ucXEuY29tcAA&fileType=4001&isthumb=0&client_proto=qq&client_appid=537233532&client_type=android&client_ver=9.0.81&client_down_type=auto&client_aio_type=unk

我不确定是我请求方式的问题还是软件bug的问题,我使用PATCH请求地址则回返回404
image

复现 Bug

人工给qq发送消息后,会收到以下消息回调,但是无法访问图片地址

{
    "time": 1723193939,
    "self_id": 1986219352,
    "post_type": "message",
    "message_type": "private",
    "sub_type": "friend",
    "message_id": 1772684114,
    "target_id": 3290796113,
    "peer_id": 1986219352,
    "user_id": 3290796113,
    "message": [
        {
            "data": {
                "file": "ABC3D6DF17812D8C061399CAC623BCC5",
                "subType": 0,
                "type": "show",
                "url": "https://multimedia.nt.qq.com.cn/offpic_new/3290796113//3290796113-4235643285-ABC3D6DF17812D8C061399CAC623BCC5/0?term=2&is_origin=0&rkey=CAMSKMa3OFokB_TlsWE740LFp-FieofHW_xiI4RNg_Ak291QkTMwXpOrYyU"
            },
            "type": "image"
        }
    ],
    "raw_message": "[CQ:image,file=ABC3D6DF17812D8C061399CAC623BCC5,subType=0,type=show,url=https://multimedia.nt.qq.com.cn/offpic_new/3290796113//3290796113-4235643285-ABC3D6DF17812D8C061399CAC623BCC5/0?term=2&is_origin=0&rkey=CAMSKMa3OFokB_TlsWE740LFp-FieofHW_xiI4RNg_Ak291QkTMwXpOrYyU]",
    "font": 0,
    "sender": {
        "user_id": 3290796113,
        "nickname": "",
        "card": "",
        "role": "member",
        "title": "",
        "level": ""
    },
    "temp_source": -1
}

系统信息

  • Shamrock 版本: 1.1.1.onebot.r446.976526a
  • QQ 版本: 9.0.81
  • Android 版本: 9
  • LSPatch框架版本: 0.6
  • 设备的制造商和型号: 小米 mix2
  • 设备的 CPU 架构: arm64
@RainbowSorcery RainbowSorcery added the bug Something isn't working label Aug 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant