Closed oleksandrmarkelov closed 12 months ago
Retested with Firehose: 1.4.0 graph-node:v0.31.0-rc.0
The issue is with sf.substreams.internal.v2.Substreams
May 07 13:50:59 node023 fireeth[1389719]: 2023-05-07T13:50:59.656Z INFO (firehose.tier1) job completed {"trace_id": "e18ae81c8122da86a0f560d24228a59a", "job": {"module_name": "store_supply", "start_block": 17206000, "end_block": 17208900}, "error": "receiving stream resp: rpc error: code = Unimplemented desc = unknown service sf.substreams.internal.v2.Substreams"} May 07 13:50:59 node023 fireeth[1389719]: 2023-05-07T13:50:59.656Z INFO (firehose.tier1) shutting down request stats {"trace_id": "e18ae81c8122da86a0f560d24228a59a"} May 07 13:50:59 node023 fireeth[1389719]: 2023-05-07T13:50:59.656Z INFO (firehose.tier1) unexpected termination of stream of blocks {"trace_id": "e18ae81c8122da86a0f560d24228a59a", "error": "error building pipeline: failed setup request: parallel processing run: scheduler run: process job result for target \"store_supply\": worker ended in error: receiving stream resp: rpc error: code = Unimplemented desc = unknown service sf.substreams.internal.v2.Substreams"} May 07 13:50:59 node023 fireeth[1389719]: 2023-05-07T13:50:59.656Z ERRO (firehose) finished streaming call with code Internal {"grpc.start_time": "2023-05-07T13:50:53Z", "system": "grpc", "span.kind": "server", "grpc.service": "sf.substreams.rpc.v2.Stream", "grpc.method": "Blocks", "peer.address": "172.24.0.14:49022", "error": "rpc error: code = Internal desc = error building pipeline: failed setup request: parallel processing run: scheduler run: process job result for target \"store_supply\": worker ended in error: receiving stream resp: rpc error: code = Unimplemented desc = unknown service sf.substreams.internal.v2.Substreams", "grpc.code": "Internal", "grpc.time_ms": 6029.10693359375} May 07 13:50:59 node023 fireeth[1389719]: 2023-05-07T13:50:59.656Z INFO (firehose.tier1) worker failed with retryable error {"trace_id": "e18ae81c8122da86a0f560d24228a59a", "error": "receiving stream resp: rpc error: code = Unimplemented desc = unknown service sf.substreams.internal.v2.Substreams"} May 07 13:50:59 node023 fireeth[1389719]: 2023-05-07T13:50:59.656Z INFO (firehose.tier1) job completed {"trace_id": "e18ae81c8122da86a0f560d24228a59a", "job": {"module_name": "map_entity_changes", "start_block": 17205000, "end_block": 17208900}, "error": "receiving stream resp: rpc error: code = Unimplemented desc = unknown service sf.substreams.internal.v2.Substreams"}
hello - are you running the latest version of substreams? https://github.com/streamingfast/substreams/releases/tag/v1.1.1
I assume when they say they are running firehose 1.4.0, that means firehose-ethereum version 1.4.0, which is indeed substreams 1.1.1
I believe this issue is duplicate of https://github.com/streamingfast/firehose-ethereum/issues/60
The error in the parallel processing should NOT generate a duplicate
error at block 17203800. This is weird. Let's see if we can get the error later when the firehose-ethereum#60 issue is fixed.
The issue does not happen at all (with v1.4.0) when a specific "tier2" substreams endpoint was specified in the config. It happens only when we run a "standalone" substreams instance.
Should be fixed with https://github.com/streamingfast/firehose-ethereum/releases/tag/v1.4.1 <-----
The other error (has already processed block 17203799; there are most likely two (or more) nodes indexing this subgraph
) was probably an error that came BEFORE the switch to substreams with RPC v2. The solution to that other error is to issue a "graphman rewind" command to that deployment and rewind to a few blocks before 17203799.
Looks like this issue has been open for 6 months with no activity. Is it still relevant? If not, please remember to close it.
Bug report
fireeth version 1.3.8 geth version 1.11.5-fh2-dbf9c7ed graph-node:v0.30.0
The indexing of subgraph QmeWyu8pzV3zViL5nz813NxKSab7REh9qJBivjzkCzE9Vw was completed but later stopped with error "Failed to transact block operations: subgraph
QmeWyu8pzV3zViL5nz813NxKSab7REh9qJBivjzkCzE9Vw
has already processed block17203799
; there are most likely two (or more) nodes indexing this subgraph"There are definitely only one instance is running (using graphprotocol-testnet-docker setup).
Relevant log output
IPFS hash
QmeWyu8pzV3zViL5nz813NxKSab7REh9qJBivjzkCzE9Vw
Subgraph name or link to explorer
https://testnet.thegraph.com/explorer/subgraphs/3e63xu6PWvSGphm2hPbKtvh4rziS2jYSqxhz5rmRmcnx?view=Indexers&chain=goerli
Some information to help us out
OS information
Linux