Skip to content

Retry transient Ponder GraphQL network errors - #125

Merged
Danswar merged 1 commit into
developfrom
fix/apollo-retry-transient-network-errors
Jul 25, 2026
Merged

Retry transient Ponder GraphQL network errors#125
Danswar merged 1 commit into
developfrom
fix/apollo-retry-transient-network-errors

Conversation

@Danswar

@Danswar Danswar commented Jul 25, 2026

Copy link
Copy Markdown

The GetPositionsV2 sync job occasionally sees a "Premature close" from the indexer, consistent with a stale keep-alive socket being reused right as it's closed server-side. The existing fallback path only retries when the fallback URL differs from the primary, and in this deployment they're intentionally the same host, so every occurrence went straight to the logs with nothing more attempted.

Adds a RetryLink ahead of the HTTP link so transport-level failures get a few short, jittered retries before reaching the error/fallback handling, independent of how primary/fallback are configured. GraphQL-level errors are unaffected.

The GetPositionsV2 sync job occasionally sees a "Premature close" from
the indexer, consistent with a stale keep-alive socket being reused
right as it's closed server-side. The existing fallback path only
retries when the fallback URL differs from the primary, and in this
deployment they're intentionally the same host, so every occurrence
went straight to the logs with nothing more attempted.

Adds a RetryLink ahead of the HTTP link so transport-level failures
get a few short, jittered retries before reaching the error/fallback
handling, independent of how primary/fallback are configured.
GraphQL-level errors are unaffected.
@Danswar
Danswar merged commit 72d4183 into develop Jul 25, 2026
1 check passed
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.

1 participant