-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
Description
Streaming query is failing with the error below which is not very clear to a user. For context, this was encountered when syncing an amp powered subgraph.
We should ensure the error messages in the query path provide clear suggestions and description for users without internal knowledge of the system.
Feb 15 17:37:27.550 DEBG Executing SQL query, query: SELECT _block_num FROM "edgeandnode/ethereum_mainnet".blocks SETTINGS stream = true, query_hash: 3008183410508104704, sgd: 267, subgraph_id: Qmekr5hxPfmhrSoVsdpVaziuFsZagroq85f6NGzw3dGDvm, component: AmpSubgraphManager > AmpSubgraphRunner > AmpFlightClient
Feb 15 17:37:28.303 WARN Subgraph failed with a non-deterministic error, retry_delay_seconds: 1, e: NonDeterministic(failed to detect reorg in '"edgeandnode/ethereum_mainnet".blocks'
Caused by:
0: service failed: Ipc error: Status { code: Internal, message: "streaming query execution error: Expected resume watermark for network 'ethereum-mainnet'", metadata: MetadataMap { headers: {"content-type": "application/grpc", "server": "envoy", "x-envoy-upstream-service-time": "429", "date": "Mon, 16 Feb 2026 01:37:28 GMT"} }, source: None }
1: Ipc error: Status { code: Internal, message: "streaming query execution error: Expected resume watermark for network 'ethereum-mainnet'", metadata: MetadataMap { headers: {"content-type": "application/grpc", "server": "envoy", "x-envoy-upstream-service-time": "429", "date": "Mon, 16 Feb 2026 01:37:28 GMT"} }, source: None }), sgd: 267, subgraph_id: Qmekr5hxPfmhrSoVsdpVaziuFsZagroq85f6NGzw3dGDvm, component: AmpSubgraphManager > AmpSubgraphRunner
Feb 15 17:37:29.316 DEBG Restarting indexing, sgd: 267, subgraph_id: Qmekr5hxPfmhrSoVsdpVaziuFsZagroq85f6NGzw3dGDvm, component: AmpSubgraphManager > AmpSubgraphRunner```
Reactions are currently unavailable