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

Get the ServerError(-32000) error during scan block in Subgraph #2532

Open
linxux opened this issue Sep 19, 2022 · 1 comment
Open

Get the ServerError(-32000) error during scan block in Subgraph #2532

linxux opened this issue Sep 19, 2022 · 1 comment

Comments

@linxux
Copy link

linxux commented Sep 19, 2022

Summary of Bug

1. Describe

Sep 19 07:25:48.620 WARN Trying again after eth_call RPC call failed (attempt #10) with result Err(Web3Error(Rpc(Error { code: ServerError(-32000), message: "internal", data: None }))), runtime_host: 1/1, block_hash: 0x095d39007a291510a0538462b95148b4bd57d3833f5ce2907b698a40fa2724a3, block_number: 13857709, subgraph_id: Qmb...Hkzc, component: SubgraphInstanceManager
Sep 19 07:25:48.622 ERRO Subgraph instance failed to run: Ethereum node returned an error when calling function "getPair" of contract "Factory": RPC error: Error { code: ServerError(-32000), message: "internal", data: None }

2. Impact

The graph-node hangs up due to this error.

3. Recover

Restart the graph-node service but it will need some luck to get it back to work.

Expected Result

No error

Version

Official RPC: https://exchainrpc.okex.org

@cwbhhjl
Copy link
Contributor

cwbhhjl commented Sep 21, 2022

I'm not very familiar with Subgraph, can you provide the real rpc call data?
If you call rpc through curl or other tools, will it also report an error?

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

No branches or pull requests

2 participants