harmony icon indicating copy to clipboard operation
harmony copied to clipboard

Failed RPC Calls: "rate: Wait(n=1) would exceed context deadline"

Open zilayo opened this issue 3 years ago • 9 comments

Describe the bug Various RPC calls are returning with the error:

rate: Wait(n=1) would exceed context deadline

This is occuring with regular json-rpc calls, VFAT, and Harmony Horizon Bridge from what I've seen so far.

Also being reported by users across several major dapps.

The transactions will be successful on the blockchain, but the RPC response fails.

From VFAT:

{

"code": -32603,

"message": "Internal JSON-RPC error.",

"data": {

"code": -32000,

"message": "rate: Wait(n=1) would exceed context deadline"

}

To Reproduce Unable to reliably reproduce - it happens when attempting various eth_call methods.

Expected behavior RPC calls should return successfully.

Additional context Using RPC https://api.s0.t.hmny.io

Has also occurred on the WS endpoint.

zilayo avatar Jan 10 '22 10:01 zilayo

I deployed #3977 to the S0 RPC node, should be helping with the issue faced

sophoah avatar Jan 11 '22 08:01 sophoah

I deployed #3977 to the S0 RPC node, should be helping with the issue faced

hello @sophoah I don't know if you recall but I did message you on discord about still seeing this error message in my log

breezytm avatar Jan 17 '22 06:01 breezytm

noted we are going to do a release with no rate limits on it so RPC node runner can choose whether to install it or not

sophoah avatar Jan 17 '22 14:01 sophoah

sounds good. looking forward to trying it out.

breezytm avatar Jan 17 '22 20:01 breezytm

Closing that issue as v4.4.x branch has a binary version without rate limits, feel free to try it https://github.com/harmony-one/harmony/releases/tag/v4.4.0

sophoah avatar Jan 28 '22 11:01 sophoah

Same bug is happening constantly with Harmony Multisig Wallet these few days

socathie avatar Jun 26 '22 06:06 socathie

Screen Shot 2022-06-26 at 14 27 06

socathie avatar Jun 26 '22 06:06 socathie

I got this issue at https://api.harmony.one recently. Can I know if we have a way to reduce facing this issue from dApp side?

duyphanz avatar Jul 01 '22 14:07 duyphanz

Yup... been seeing this for the past 48 hours or so with even basic calls like balanceOf() etc

ValueError: {'code': -32000, 'message': 'rate: Wait(n=1) would exceed context deadline'}

jazcto86 avatar Jul 01 '22 18:07 jazcto86