Skip to content
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

3ADao - Issue #176

Closed
0xroll opened this issue May 24, 2024 · 1 comment
Closed

3ADao - Issue #176

0xroll opened this issue May 24, 2024 · 1 comment

Comments

@0xroll
Copy link
Contributor

0xroll commented May 24, 2024

hi @bytes0xcr6 , can you check the adapter . we are getting this error atm

[2024-05-24, 09:51:40 UTC] {{task_log_fetcher.py:63}} INFO - [2024-05-24 09:51:14,509] 2024-05-24 09:51:14,509 WARNING root An error occurred for block 4747275: Error: server response 504 Gateway Time-out (request={ }, response={ }, error=null, info={ "requestUrl": "https://rpc.linea.build/", "responseBody": "error code: 504", "responseStatus": "504 Gateway Time-out" }, code=SERVER_ERROR, version=6.12.1)
[2024-05-24, 09:51:40 UTC] {{task_log_fetcher.py:63}} INFO - [2024-05-24 09:51:14,509] at makeError (/project/tvl_adapters/adapters/protocol3adao/node_modules/ethers/lib.commonjs/utils/errors.js:129:21)
[2024-05-24, 09:51:40 UTC] {{task_log_fetcher.py:63}} INFO - [2024-05-24 09:51:14,509] at assert (/project/tvl_adapters/adapters/protocol3adao/node_modules/ethers/lib.commonjs/utils/errors.js:149:15)
[2024-05-24, 09:51:40 UTC] {{task_log_fetcher.py:63}} INFO - [2024-05-24 09:51:14,509] at FetchResponse.assertOk (/project/tvl_adapters/adapters/protocol3adao/node_modules/ethers/lib.commonjs/utils/fetch.js:839:32)
[2024-05-24, 09:51:40 UTC] {{task_log_fetcher.py:63}} INFO - [2024-05-24 09:51:14,509] at JsonRpcProvider._send (/project/tvl_adapters/adapters/protocol3adao/node_modules/ethers/lib.commonjs/providers/provider-jsonrpc.js:890:18)
[2024-05-24, 09:51:40 UTC] {{task_log_fetcher.py:63}} INFO - [2024-05-24 09:51:14,509] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[2024-05-24, 09:51:40 UTC] {{task_log_fetcher.py:63}} INFO - [2024-05-24 09:51:14,509] at async /project/tvl_adapters/adapters/protocol3adao/node_modules/ethers/lib.commonjs/providers/provider-jsonrpc.js:281:40 {
[2024-05-24, 09:51:40 UTC] {{task_log_fetcher.py:63}} INFO - [2024-05-24 09:51:14,509] code: 'SERVER_ERROR',
[2024-05-24, 09:51:40 UTC] {{task_log_fetcher.py:63}} INFO - [2024-05-24 09:51:14,509] request: FetchRequest {},
[2024-05-24, 09:51:40 UTC] {{task_log_fetcher.py:63}} INFO - [2024-05-24 09:51:14,509] response: FetchResponse {},

@bytes0xcr6
Copy link
Contributor

@0xroll
I just added extra providers to retry in case of error connection. This may be because the RPC is very saturated and it ends up returning 504.

PR with the changes: #177

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

No branches or pull requests

2 participants