magic icon indicating copy to clipboard operation
magic copied to clipboard

[Bug]: 使用OSS 作为文件存储时,创建沙箱初始化时提示 “Error during head_object for key”

Open X-TAN opened this issue 5 months ago • 3 comments

Component

Super Magic (Super Magic)

Deployment Type

Self-hosted (Docker)

Bug Description

使用OSS 作为文件存储时,创建沙箱初始化时提示 “Error during head_object for key”

Steps to Reproduce

每次创建都会出现

Expected Behavior

不报错

Actual Behavior

报错

Environment

macOS15.5 gpt4.1

Logs and Error Messages

Image

Error during head_object for key 'test001/2c17c6393771ee3048ae34d6b380c5ec/SUPER_MAGIC/usi_e2b9b5d09b2d8fb4c991c47ec7d5053e/topic_807263940621926401/.project_schemas/project_archive_info.json': NoSuchKey - {'status': 404, 'x-oss-request-id': '68832B2899B0DB3932FB91F5', 'details': {'Code': 'NoSuchKey', 'Message': 'The specified key does not exist.', 'RequestId': '68832B2899B0DB3932FB91F5', 'HostId': 'teamshareos-app-b1509958.oss-cn-shenzhen.aliyuncs.com', 'Key': 'test001/2c17c6393771ee3048ae34d6b380c5ec/SUPER_MAGIC/usi_e2b9b5d09b2d8fb4c991c47ec7d5053e/topic_807263940621926401/.project_schemas/project_archive_info.json', 'EC': '0026-00000001', 'RecommendDoc': 'https://api.aliyun.com/troubleshoot?q=0026-00000001'}}

Additional Context

No response

Checklist

  • [x] I have searched for existing issues before creating this report
  • [x] I have provided all the required information above
  • [x] This issue is reproducible

X-TAN avatar Jul 25 '25 08:07 X-TAN

@Rock-520 麻烦assign下这个bug

douyun-dtyq avatar Aug 05 '25 07:08 douyun-dtyq

OSS的签名错误, 检查一下根目录的.env 的OSS相关的配置

Rock-520 avatar Aug 27 '25 06:08 Rock-520

但是我的OSS可以使用,文件上传正常。

谭鑫 @.***

 

------------------ 原始邮件 ------------------ 发件人: "dtyq/magic" @.>; 发送时间: 2025年8月27日(星期三) 下午2:09 @.>; @.@.>; 主题: Re: [dtyq/magic] [Bug]: 使用OSS 作为文件存储时,创建沙箱初始化时提示 “Error during head_object for key” (Issue #48)

Rock-520 left a comment (dtyq/magic#48)

OSS的签名错误, 检查一下根目录的.env 的OSS相关的配置

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

X-TAN avatar Aug 27 '25 06:08 X-TAN