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

increase new heads timeout #2014

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Conversation

zkokelj
Copy link
Contributor

@zkokelj zkokelj commented Aug 9, 2024

Why this change is needed

Gateway usually crashed when doing L2 deploy or especially L2 upgrade.
This was due to:

CRIT [08-01|12:46:52.745] could not connect to new heads:          component=wallet_extension err="cannot subscribe to new heads to the backend timed out after 10m0s (16 attempts) - latest error: cannot fetch rpc connection to backend node could not create RPC client on ws://erpc.dev-testnet.obscu.ro:81. Cause: dial tcp 51.11.135.65:81: connect: connection timed out"

Increasing timeout to 20 minutes solves this issue.

What changes were made as part of this PR

Please provide a high level list of the changes made

PR checks pre-merging

Please indicate below by ticking the checkbox that you have read and performed the required
PR checks

  • PR checks reviewed and performed

Copy link
Collaborator

@tudor-malene tudor-malene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@zkokelj zkokelj merged commit 68813df into main Aug 9, 2024
2 of 3 checks passed
@zkokelj zkokelj deleted the ziga/increase_newheads_retry_time branch August 9, 2024 11:08
badgersrus pushed a commit that referenced this pull request Aug 9, 2024
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.

2 participants