Skip to content

Add "upgrade to paid tier" to errors.yaml#159

Open
themetalfleece wants to merge 1 commit into
drpcorg:mainfrom
commonprefix:chore/upgrade-to-paid-tier-errors
Open

Add "upgrade to paid tier" to errors.yaml#159
themetalfleece wants to merge 1 commit into
drpcorg:mainfrom
commonprefix:chore/upgrade-to-paid-tier-errors

Conversation

@themetalfleece
Copy link
Copy Markdown
Contributor

@themetalfleece themetalfleece commented Apr 24, 2026

Description

Recently, celo and mantle on public drpc is failing with the message method is not available on freetier, please upgrade to paid tier - this makes nodecore not switch to our other providers.

This PR adds upgrade to paid tier to retryable-errors.

curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["finalized",false],"id":1}' https://mantle.drpc.org

{"id":1,"jsonrpc":"2.0","error":{"message":"method is not available on freetier, please upgrade to paid tier","code":35}}
curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["finalized",false],"id":1}' https://celo.drpc.org

{"id":1,"jsonrpc":"2.0","error":{"message":"method is not available on freetier, please upgrade to paid tier","code":35}}

@themetalfleece
Copy link
Copy Markdown
Contributor Author

We had another provider-specific error which caused trouble - would it make sense to add a flag to mark all unknown errors as retryable, and log that it happened? This would have helped our provider downtime in both cases. Thanks.

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