Skip to content

Retry IPFS request on Cloudflare 521 Web Server Down #5687

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

encalypto
Copy link
Contributor

@encalypto encalypto commented Oct 24, 2024

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.

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

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.
@encalypto encalypto requested a review from isum October 24, 2024 15:41
@encalypto encalypto marked this pull request as ready for review October 24, 2024 17:16
@encalypto encalypto merged commit b9e1c5f into master Oct 25, 2024
6 checks passed
@encalypto encalypto deleted the retry-ipfs-cloudflare-521 branch November 4, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants