You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I ran into a problem, when invoking a write transaction on devnet I get this error: Failed to read from state: Error in communication with origin: Received response with status: 429 Too Many Requests.. Has anyone seen this before?
this is how we started it:
export STARKNET_RPC='<URL for free rpc nethermind mainnet-juno>'
sudo docker run --network host shardlabs/starknet-devnet-rs --fork-network $STARKNET_RPC --seed 69420
The text was updated successfully, but these errors were encountered:
So, it seems that there were too many requests to the forking origin made by the Devnet instance. Here are some thoughts:
It could be a temporary network issue, so try re-running your program.
If forking (i.e. interaction with the origin behind $STARKNET_RPC) is not crucial for your use case, feel free to omit the --fork-network parameter.
Change the forking origin URL
Consider adding short sleeps to your program which communicates with Devnet
The Devnet team can consider introducing a better handling for the 429 Too Many Requests scenario, such as automatically re-sending the request after waiting for a short period of time, or simply improving the returned error message.
Coming from this Discord message:
The text was updated successfully, but these errors were encountered: