ore-cli icon indicating copy to clipboard operation
ore-cli copied to clipboard

After GATEWAY_RETRIES reached, program never recovers

Open dkilcy opened this issue 6 months ago • 1 comments

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 avatar Aug 14 '24 00:08 dkilcy