Move.

帖子

分享您的知识。

Tawhid.
Jan 29, 2025
专家问答

How to bypass rate limit on local full node setup?

I've set up a full node locally and I'm sending requests to it, but I run into a 429 rate limit error. I'm trying to fetch object information using the sui_multiGetObjects method, but the server returns an error when I exceed 50 objects. This happens even when running requests on the same machine. Is there a way to get rid of this rate limit, or is it hardcoded in the node setup? Are nodes from the official config supposed to have no rate limits?

  • Move CLI
  • Move
4
3
分享
评论
.

答案

3
skywinder.
Jan 29 2025, 17:03

你在本地工作 (127.0.0.1),通常,官方配置中的完整节点不应有速率限制. 可能值得向维护者或社区查询具体的配置调整或问题. 如果可访问,您可能需要检查或调整本地节点设置中的任何速率限制因素. 否则,在平台上与开发人员一起提出这个问题以获得更详细的理解和帮助会很有用.

4
最佳答案
评论
.
deriss.
Jan 30 2025, 06:41

确保您的每秒请求数在限制范围内. 必要时使用批处理或增加请求之间的延迟. 如果您要获取大量对象,可以考虑将它们分散到多个请求中.

3
评论
.
DuAn.
Jan 30 2025, 13:41

出现速率限制错误是因为同时请求的对象太多,超过了允许的数量,可能是 50. 你可以尝试减少在每个请求中提取的对象数量,以避免 429 错误.

1
评论
.

你知道答案吗?

请登录并分享。

我们使用 cookie 确保您在我们的网站上获得最佳体验。
更多信息