graphprotocol / graph-node

Graph Node indexes data from blockchains such as Ethereum and serves it over GraphQL
https://thegraph.com
Apache License 2.0
2.91k stars 969 forks source link

[Bug] Graph-node doesn't restart connections to Firehose #5091

Open trader-payne opened 10 months ago

trader-payne commented 10 months ago

Bug report

Subgraphs stop at random times without being able to restart their connections to Firehose. The only way to kick them back to a working state is to restart the graph-node.

Relevant log output

Dec 21 17:00:49.054 ERRO An error occurred while streaming blocks: status: Cancelled, message: "source canceled", details: [], metadata: MetadataMap { headers: {} }, provider: firehose, deployment: QmcskbugoHafPJC4EcFzkPNc2ExNPY8L32QagCn5qrtQU5, sgd: 88, subgraph_id: QmcskbugoHafPJC4EcFzkPNc2ExNPY8L32QagCn5qrtQU5, component: FirehoseBlockStream
Dec 21 17:00:49.976 ERRO Unable to connect to endpoint: status: Unknown, message: "transport error", details: [], metadata: MetadataMap { headers: {} }: transport error: connection error: connection reset: connection reset, provider: firehose, deployment: QmcskbugoHafPJC4EcFzkPNc2ExNPY8L32QagCn5qrtQU5, sgd: 88, subgraph_id: QmcskbugoHafPJC4EcFzkPNc2ExNPY8L32QagCn5qrtQU5, component: FirehoseBlockStream

IPFS hash

No response

Subgraph name or link to explorer

No response

Some information to help us out

OS information

Linux

azf20 commented 9 months ago

@trader-payne are you still seeing this issue? Does it only try to reconnect once?

github-actions[bot] commented 2 months ago

Looks like this issue has been open for 6 months with no activity. Is it still relevant? If not, please remember to close it.