Skip to content

RPC can fail #19

@rube-de

Description

@rube-de

Problem

RPC providers (Alchemy, Infura, dRPC) can experience outages or rate limiting. Currently the relayer uses a single RPC endpoint and fails completely when the provider has issues.

Solution

Implement sequential failover across multiple RPC providers for source chains.

When the primary provider fails, automatically switch to the next configured provider. If all providers fail, cycle back to the first with exponential backoff.

Failure conditions triggering failover

  • Connection errors (timeout, refused, DNS failure)
  • HTTP 5xx server errors
  • Rate limiting (429) after one retry

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions