Hi Team,
We are facing a critical issue with the latest OpenAPIScripMaster.json endpoint:
https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json
This endpoint was working perfectly until yesterday. After today's Script Master update, every download attempt fails.
The server responds with HTTP 200 OK and advertises a Content-Length of 36,952,921 bytes, but the connection is terminated before the complete file is delivered.
We have reproduced the same issue using:
Python (requests)
Python streaming download
curl (HTTP/1.1 & HTTP/2)
Google Chrome
IPv4 & IPv6
Errors observed include:
IncompleteRead
ChunkedEncodingError
curl: HTTP/2 stream was not closed cleanly
curl: end of response with bytes missing
To rule out local issues, we also verified our internet connection by downloading large files from other HTTPS servers successfully at normal speed.
No changes have been made to our code or infrastructure. Yesterday's Script Master (~19 MB) downloaded successfully, but today's updated Script Master (~37 MB) consistently fails before completion.
This is currently blocking our production trading system, as the Script Master is required before initialization.
Could the SmartAPI team please check whether there is any issue with the latest Script Master file or the server/CDN serving this endpoint? Is anyone else experiencing the same issue today?
Thank you.