Skip to content

cli: classify ip lookup response of upstream request timeout as error for retry #2346

@snormore

Description

@snormore

Retries were added to this IP lookup but it's not covering this case:

Error: Invalid IPv4 address format: upstream request timeout

We're not returning an error here: https://github.com/malbeclabs/doublezero/blob/main/smartcontract/cli/src/helpers.rs#L52

So we're trying to parse upstream request timeout as an IP here https://github.com/malbeclabs/doublezero/blob/main/client/doublezero/src/command/helpers.rs#L50

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions