Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unable to rent an instance of IEthRpcModule. Too many concurrent requests." error in response #5923

Closed
Serhy opened this issue Jul 12, 2023 · 0 comments · Fixed by #5945
Closed

Comments

@Serhy
Copy link

Serhy commented Jul 12, 2023

Description
There is an error response comes from node for the eth_call. It's not resproduced always but thrown sometimes (request is provided beflow).

Node is using Gnosis Mainnet.

Steps to Reproduce
Steps to reproduce:

  1. Send JSON rpc request to the node (please see the request in nm_request_too_many_concurrent.txt attachment)

Actual behavior


{
  "jsonrpc": "2.0",
  "error": {
    "code": -32017,
    "message": "Timeout",
    "data": "Nethermind.JsonRpc.Modules.ModuleRentalTimeoutException: Unable to rent an instance of IEthRpcModule. Too many concurrent requests.\n   at Nethermind.JsonRpc.Modules.BoundedModulePool`1.SlowPath() in /src/Nethermind/Nethermind.JsonRpc/Modules/BoundedModulePool.cs:line 45\n   at Nethermind.JsonRpc.Modules.RpcModuleProvider.<>c__DisplayClass18_0`1.<<Register>b__0>d.MoveNext() in /src/Nethermind/Nethermind.JsonRpc/Modules/RpcModuleProvider.cs:line 59\n--- End of stack trace from previous location ---\n   at Nethermind.JsonRpc.JsonRpcService.ExecuteAsync(JsonRpcRequest request, String methodName, ValueTuple`2 method, JsonRpcContext context) in /src/Nethermind/Nethermind.JsonRpc/JsonRpcService.cs:line 235\n   at Nethermind.JsonRpc.JsonRpcService.ExecuteRequestAsync(JsonRpcRequest rpcRequest, JsonRpcContext context) in /src/Nethermind/Nethermind.JsonRpc/JsonRpcService.cs:line 107\n   at Nethermind.JsonRpc.JsonRpcService.SendRequestAsync(JsonRpcRequest rpcRequest, JsonRpcContext context) in /src/Nethermind/Nethermind.JsonRpc/JsonRpcService.cs:line 97"
  },
  "id": 12

}

Expected behavior
No error in response

Desktop (please complete the following information):
Operating System: Linux
Version: "nethermind": "1.19.3"
Installation Method: Docker
Consensus Client: "lighthouse": "v4.2.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants