Replies: 1 comment 1 reply
-
Hi @mag1c1an1! I'm Dosu and I’m helping the opendal team. This panic is likely caused by how OpenDAL handles the root path "/" for some S3-compatible services. There's a known issue where setting the root to "/" can cause path resolution errors, especially if the backend (like Huawei Cloud) interprets paths differently than MinIO. This has been seen before with other S3-compatible services and is related to how OpenDAL builds request paths internally, sometimes resulting in an invalid or empty path and triggering the "get rel path with root is invalid" panic see details. Try changing your list call from op.list("/") to op.list("") (an empty string), or avoid specifying the root path if possible. This workaround has resolved similar issues for other users. If the problem persists, enabling detailed logging in OpenDAL may help you capture the exact request/response and see what path is being sent to Huawei Cloud. If you can share the log trace or clarify how the root path is set in your config, I can help dig deeper. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to list objects on hwcloud. But succeed on monio. Is there something wrong on my code?
This is my code.
panic backtrace:
mc output:
mcli ls hwoss/dmetasoul-bucket
[2024-04-24 19:29:49 CST] 4.3GiB STANDARD Kylin-Server-V10-SP3-General-Release-2303-X86_64.iso
[2024-04-24 19:53:26 CST] 4.3GiB STANDARD Kylin-Server-V10-SP3-General-Release-2303-X86_64.vhd
[2024-04-25 12:33:41 CST] 9.9GiB STANDARD kylin-v10-sp3.vdi
......
log trace:
Beta Was this translation helpful? Give feedback.
All reactions