data.nemar.org 503: signed S3 HEAD refused on existing objects
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- aws, typescript
Research direction
Start by checking whether commit 0319bf5b, which changes shared S3 endpoint configuration, affects the signed HEAD failures when it reaches production. Then inspect the Worker’s S3 HEAD request and log the S3 request ID and error code beside the 403 reason; reproducing or diagnosing the cause requires the backend’s AWS credential. Done means identifying why existing objects are refused and confirming a fix against the affected .gz files.
Written by the indexing model from the issue text.
Description
Found by the cf-cost investigation (step S4 of #2633); full findings: https://github.com/nemarOrg/nemar-cli/issues/2636#issuecomment-7362308753
data.nemar.org answers 503 [data] annex delivery unavailable ... plain object HEAD returned HTTP 403 for files that exist. The Worker's own signed S3 HEAD is refused; an anonymous HEAD of the same object answers 200 with the manifest's exact size. This is not data loss.
Measured on 2026-12-02 (production 0.10.67, main 9db9fdda):
- nm000254 v1.0.0: 63 of 101 probes answered 503. It tracks file type: 63 of 66
.gzfiles, 0 of 35.set/.vhdrfiles. nm000254'sremote.loghas nochunk=, so the chunk fallback is not involved. - The same 503 in a five-minute tail on on003825 (85 of 325 sampled requests), on004587, on006923 and on005810.
- Intermittent: 79 on003825 paths answered both 503 and 302 within five minutes. 503s came from 25 colos, all one script version.
First diagnostic steps:
- Read the S3 error code for one failing key with the Worker's own principal: a signed GET returns XML naming
AccessDenied,SignatureDoesNotMatchorRequestTimeTooSkewed; CloudTrail data events show the same. This needs the backend's AWS credential, so it is an owner step. - Check whether 0319bf5b (#2627, shared
s3OptionsFromEnvhonoringS3_ENDPOINT_URL) changes the behavior: it is on dev, not in production; the next release carries it. - Log the S3 request id (
x-amz-request-id) and the error code beside the 403 reason, so the next occurrence can be traced.
The .gz correlation suggests looking at what differs in the signed request for those keys (for example a header the runtime adds or rewrites, such as Accept-Encoding, after signing), but that is a hypothesis to test with step 1.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- Avg merge
- 4h 48m
- Merged PRs (30d)
- 468
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nemarOrg/nemar-cli
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
testing
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
All issues in nemarOrg/nemar-cli
Similar issues
-
Codex使用可 かんたん コード
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ryuki-moro/Nicomaru#348 ·
Maintainers usually reply within 1 day
-
Bug
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area-integrations
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day