媒体文件无法上传文件(使用Minio)
已完成获取上传临时凭证,收到的Mqtt:
{
"bid": "7cd32369-bf36-42e8-aee4-50854728aa7b",
"data": {
"module": 0
},
"method": "storage_config_get",
"need_reply": 0,
"tid": "c52ed67e-f955-44e8-947a-6ade89486fa2",
"timestamp": 1713973387082,
"gateway": "7CTDM2U00B192W"
}
云端下发临时凭证,下发的Mqtt
{
"method": "storage_config_get",
"data": {
"output": {
"bucket": "dronecontents",
"endpoint": "http://192.168.2.91:9000",
"object_key_prefix": "dronetest",
"credentials": {
"access_key_id": "hMFjNpTDIY7XkXa8gL92",
"security_token": "eyJhbGciOiJIUzUxMiJ9.eyJhY2Nlc3NLZXkiOiJoTUZqTnBURElZN1hrWGE4Z0w5MiIsImJ1Y2tldCI6ImRyb25lY29udGVudHMiLCJleHAiOjE3MTM5Njk4MzB9.soQKh-zThEZdRR7pbNhmqh3eBduOIIpj5Sf2uYPBMDLfwlJYvSuC7HX8dpxwBRA_TrNIRDLcPpJx9rX7KBJFZQ",
"expire": 3600,
"access_key_secret": "qrj1oVnAELODGN3lEMWa68m0CowpoBmhm5biFKtj"
},
"provider": "minio",
"region": "sz"
},
"result": 0
},
"bid": "00833ea6-5830-4fc2-aff4-1c4f8cd8b4c6",
"tid": "6fc0f6ec-4a97-4fba-85d8-4ca881144536",
"timestamp": 1713969826768
}
上面是根据上云api时序配置Minio存储信息,但是机场无法上传文件到Minio,但我通过自己写的代码上传文件到Minio是可以的,请问是我下发的配置信息是否有误,还是说需要对机场进行什么设置才能上传文件到Minio,求解决方法
请先登录再写评论。
评论
1 条评论