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

After GATEWAY_RETRIES reached, program never recovers #148

Open
dkilcy opened this issue Aug 14, 2024 · 1 comment
Open

After GATEWAY_RETRIES reached, program never recovers #148

dkilcy opened this issue Aug 14, 2024 · 1 comment

Comments

@dkilcy
Copy link

dkilcy commented Aug 14, 2024

In send_and_confirm.rs

            // Retry
            std::thread::sleep(Duration::from_millis(GATEWAY_DELAY));
            if attempts > GATEWAY_RETRIES {
                log_error(&progress_bar, "Max retries", true);
                return Err(ClientError {
                    request: None,
                    kind: ClientErrorKind::Custom("Max retries".into()),
                });
            }

The error is returned however the program never recovers. Have to hit ctrl-c to end it.

...
  ERROR HTTP status server error (503 Service Unavailable) for url (https://ny.mainnet.block-engine.jito.wtf/api/v1/transactions)
  ERROR HTTP status server error (503 Service Unavailable) for url (https://ny.mainnet.block-engine.jito.wtf/api/v1/transactions)
  ERROR Max retries
^C
solmain@server8:~/ore$ 
@dkilcy
Copy link
Author

dkilcy commented Aug 16, 2024

it appears the counter for the gateway retries does not reset after a successful retry.
Once the program reaches the max GATEWAY_DELAY during its run, it stops.

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

1 participant