Skip to content

After GATEWAY_RETRIES reached, program never recovers #148

@dkilcy

Description

@dkilcy

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$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions