Identify the bulk data.nemar.org client and fix the nm000254 503s
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- aws, typescript
- Domain
- backend-api-design, cloud, observability
Research direction
Use the Workers Observability query builder to group recent invocations by ASN, colo, and user agent, then identify and quantify the bulk client. Investigate why HEAD requests for nm000254 v1.0.0 objects return 403 and cause 503s. Record the client and request share, the traffic decision, and either the fix or a follow-up issue for the 503s.
Written by the indexing model from the issue text.
Description
Part of #2633.
About 83% of nemar-api invocations in the last 24 hours (830k of 995k, 2026-12-02) arrive through Cloudflare's Chicago colo; the sampled requests walk every file of many datasets in turn (nm000111, nm000254, nm000279, on004120, ...). A sampled request: ASN 63150 "BAGE CLOUD LLC" (a proxy network), a browser user agent (Edge 158 on Windows) with accept-language: zh-CN, Referer set to the directory listing, and Range requests that split each file, as a multi-connection download manager does. The Nov 24 spike (53.5M requests on data.nemar.org in one day) cost about $80.
Also in the same window: about 8k errors an hour are 503s on nm000254 v1.0.0, logged as [data] annex delivery unavailable ... plain object HEAD returned HTTP 403 (for example sub-15/ses-01/eeg/sub-15_ses-01_task-dme_run-02_recording-respiratory_physio.tsv.gz). Each one is a failed download for whoever asks.
To do: group recent invocations by ASN, colo and user agent (Workers Observability query builder) to size the client; decide whether to steer it (the manifest.json bulk route links straight to S3 and bypasses the Worker), rate-limit it with a WAF rule on data.nemar.org, or leave it; and find why nm000254's objects answer 403 to HEAD.
Acceptance: the client and its share of requests are named in this issue with the decision taken; the nm000254 503s are explained and fixed or filed.
- 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