Solution skill
List objects fails with sio.Error 'authentication failed'
Complete solution
Shows how to fix list objects fails with sio.Error 'authentication failed'. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
I should be able to list objects -- recursively or not -- for a specific prefix. At least one object from a prefix consistently prevents me from listing objects.
Steps
- I should be able to list objects -- recursively or not -- for a specific prefix. At least one object from a prefix consistently prevents me from listing objects. The list objects request fails with the following error message: MinIO is running as a systemd service.
- If listing a specific prefix fails with 'sio: authentication failed' while other prefixes work, those objects were encrypted with the wrong data key due to a KES bug and cannot be decrypted. The maintainer's guidance: purge the affected objects with mc rm --purge --force on the path. New writes with a fixed KES are not affected.
When to use
You are seeing this: The list objects request fails with the following error message: MinIO is running as a systemd service. Use this skill when you run into "List objects fails with sio.Error 'authentication failed'".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
In gh:minio/minio#17377 (https://github.com/minio/minio/issues/17377), the reporter ran into this: I should be able to list objects -- recursively or not -- for a specific prefix. At least one object from a prefix consistently prevents me from listing objects. The list objects request fails with the following error message: MinIO is running as a systemd service. The verified resolution: If listing a specific prefix fails with 'sio: authentication failed' while other prefixes work, those objects were encrypted with the wrong data key due to a KES bug and cannot be decrypted. The maintainer's guidance: purge the affected objects with mc rm --purge --force on the path. New writes with a fixed KES are not affected.
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_AABHLAsiiWrQ6W4Kdm6Aew" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">List objects fails with sio.Error 'authentication failed' <span>— Vectle</span></a>