OpenAPIScripMaster.json download severely throttled / connection truncated all morning (2026-08-21)
-
Separate issue from the getCandleData/getOrderBook rate-limit thread (topic 5639) — this is the static scrip master file itself, unauthenticated, no API key involved.
Endpoint:
GET https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json(~37MB,Content-Length: 36952921confirmed via HEAD)Production symptom (Python,
urllib.request.urlopen().read()): three consecutive attempts between 09:15 and 09:44 IST today all failed withhttp.client.IncompleteRead— the server closed the connection before delivering the promisedContent-Length, with successively less data delivered each time:- 09:15:04 — 648,242 bytes read, 36,304,679 more expected
- 09:36:31 — 572,061 bytes read, 36,380,860 more expected
- 09:43:37 — 393,216 bytes read, 36,559,705 more expected
Independently reproduced from a completely different network (not the machine the above ran on) using plain
curl, tested over both IPv6 and IPv4-forced, same URL:- 60s attempt: 4.25MB delivered, ~71KB/s
- 60s attempt (IPv4 forced): 2.93MB delivered, ~49KB/s
- 180s attempt: connection closed by the server at 3.5MB (~48KB/s) — well short of 37MB even at that slow rate
- Retested ~90 minutes later: 336KB in 60s, ~5.5KB/s — getting worse, not better
- Baseline sanity check on the same network in the same window: an unrelated 10MB file from a different host downloaded at 3.1MB/s, ruling out a local bandwidth problem on our end
So this isn't one flaky client or one flaky network — two different tools (Python urllib, curl), two different networks, and both IP protocols all show the same severe throttling against this one host, persisting for over an hour and trending worse.
This is a hard blocker — the scrip master is a prerequisite before any strategy can even start routing, so trading has been unable to start today because of this alone.
Anyone else seeing this on
margincalculator.angelbroking.comtoday? Given the pattern of the last several days on the rate-limit thread above, I'd appreciate someone actually looking at server-side telemetry/CDN health for this endpoint rather than the usual silence. -
@pari Yes facing same issue from morning all my scripts are failing from morning due to this issue.
-
@pari I am facing the same issue. First it was 504 gateway timeouts and then when the download actually started, the TCP connection was constantly getting dropped.
-
I am trying to download the scripmaster in cache and even it is taking ages to complete.
\scrip_master.py"
2026-08-21 10:30:04,820 INFO Another process is refreshing the scrip master; waiting up to 120s...
2026-08-21 10:32:05,590 INFO Ranged download from margincalculator.angelbroking.com: 37.0 MB in 1024 KB pieces...
2026-08-21 10:35:25,184 INFO scrip master: 8/37 MB
2026-08-21 10:41:18,303 INFO scrip master: 17/37 MB
2026-08-21 10:48:10,107 WARNING Ranged download failed from margincalculator.angelbroking.com: exceeded 900s budget at 21.0/37.0 MB
2026-08-21 10:48:10,579 INFO Ranged download from margincalculator.angelone.in: 37.0 MB in 1024 KB pieces...In my regular scripts which download them getting error
Master download attempt 1 failed: ('Connection broken: IncompleteRead(140021 bytes read, 36812900 more expected)', IncompleteRead(140021 bytes read, 36812900 more expected))
10:38:14 WARNING ORIG Master download attempt 2 failed: ('Connection broken: IncompleteRead(2407069 bytes read, 34545852 more expected)', IncompleteRead(2407069 bytes read, 34545852 more expected))
10:40:02 WARNING ORIG Master download attempt 3 failed: ('Connection broken: IncompleteRead(6202101 bytes read, 30750820 more expected)', IncompleteRead(6202101 bytes read, 30750820 more expected))