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.92k stars 980 forks source link

Retry IPFS request on Cloudflare 521 Web Server Down #5687

Closed encalypto closed 4 weeks ago

encalypto commented 4 weeks ago

In the integration tests, some subgraphs will sync on fraction3, leading to an error as they failed to sync on integer.

Coincidentally, on some runs, fraction3 will also error leading to a successful test; this happens when the subgraph fails to sync due to an HTTP 521 error received when querying the testnet IPFS node. This is a non-deterministic error, and the request can simply be retried.