#5071·ethers.js

Alchemy 429 "月度容量限制已超出"会导致在 SERVER_ERROR 之前延迟 ~4 分钟(没有超时控制?)

作者: TheGreatHB创建于 2025年11月26日更新于 2026年4月30日
标签investigateon-deckv6

[Running] node "/home/hb/projects/ethers_test/test.js" Error: exceeded maximum retry limit (request={ }, response={ }, error=null, info={ "requestUrl": "https://eth-mainnet.alchemyapi.io/v2/<api-key>", "responseBody": "{\"jsonrpc\":\"2.0\",\"id\":1,\"error\":{\"code\":429,\"message\":\"Monthly capacity limit exceeded. Visit https://dashboard.alchemy.com/settings/billing to upgrade your scaling policy for continued service.\"}}", "responseStatus": "599 CLIENT ESCALATED SERVER ERROR (429 Too Many Requests; exceeded maximum retry limit)" }, code=SERVER_ERROR, version=6.15.0 ) at makeError (/home/hb/projects/ethers_test/node_modules/ethers/lib.commonjs/utils/errors.js:137:21) at assert (/home/hb/projects/ethers_test/node_modules/ethers/lib.commonjs/utils/errors.js:157:15) at FetchResponse.assertOk (/home/hb/projects/ethers_test/node_modules/ethers/lib.commonjs/utils/fetch.js:839:32) at AlchemyProvider._send (/home/hb/projects/ethers_test/node_modules/ethers/lib.commonjs/providers/provider-jsonrpc.js:917:18) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async /home/hb/projects/ethers_test/node_modules/ethers/lib.commonjs/providers/provider-jsonrpc.js:281:40 { code: 'SERVER_ERROR', request: FetchRequest {}, response: FetchResponse {}, error: undefined, info: { requestUrl: 'https://eth-mainnet.alchemyapi.io/v2/<api-key>', responseBody: '{\"jsonrpc\":\"2.0\",\"id\":1,\"error\":{\"code\":429,\"message\":\"Monthly capacity limit exceeded. Visit https://dashboard.alchemy.com/settings/billing to upgrade your scaling policy for continued service.\"}' }, responseStatus: '599 CLIENT ESCALATED SERVER ERROR (429 Too Many Requests; exceeded maximum retry limit)' } }

内容来源: ethers-io/ethers.js