Closed qnduncan closed 1 month ago
From what I know, this is known issue and @posvyatokum is working on it. This one is quite insidious and we don't have clear ETA.
Thanks for the reply.
@qnduncan Another thing to add, is that archival-rpc.mainnet.near.org
service operates using Read RPC. Because of this, they are able to fulfil historical requests better.
Hi team, is there any ETA on this fix? We're running into the same issues with this request
{
"jsonrpc": "2.0",
"method": "query",
"id": 13569,
"params": {
"request_type": "call_function",
"account_id": "consensus_finoa_00.poolv1.near",
"method_name": "get_account",
"args_base64": "eyJhY2NvdW50X2lkIjoicmVzdGFrZS5uZWFyIn0=",
"block_id": 120308219
}
}
I ran this against our nodes and they all return
"error_message": "StorageError(MissingTrieValue(TrieStorage, DVM721HHV7A6gUdUVv8Zy7qzKborJUwCqR12deHSjbni))"
Tried to run this against the public RPC as well archival-rpc.mainnet.near.org but it also returns an error
{
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "Server error",
"data": "Failed to serialize JsonRpcError",
"name": "INTERNAL_ERROR",
"cause": {
"info": {
"error_message": "Failed to serialize JsonRpcError"
},
"name": "INTERNAL_ERROR"
}
},
"id": 13569
}
bump
Hello, is there any update on this? We are also running into this issue against multiple get_accounts
requests at multiple blocks, here is an example of one
{
"method": "query",
"params": {
"block_id": 124343511,
"request_type": "call_function",
"account_id": "zavodil.poolv1.near",
"method_name": "get_accounts",
"args_base64": "eyJmcm9tX2luZGV4IjogMCwibGltaXQiOiAyMDB9"
},
"id": "1",
"jsonrpc": "2.0"
}
where we see both the MissingTrieValue
and Failed to serialize JsonRpcError
errors
Could you please check if it's still an issue?
Closing this as a duplicate of https://github.com/near/nearcore/issues/11174
looked like this is solved now. thanks
Describe the bug
Response with "INTERNAL_ERROR" from an archive node.
Request:
To Reproduce
Expected behavior We expect to get the response shown below which is returned by
archival-rpc.mainnet.near.org
.Version (please complete the following information):
Additional context
We are able to get responses from other requests with the
query
method.The snapshots we downloadeded are
I saw that in other issue indicating that
MissingTrieValue
might indicate data corruption. The block114580308
is settled on(Mar-12-2024 6:12:43 PM) +UTC
so there might be corrupted data in the archive server used to generate the official snapshots.