Skip to content

2.2.0 if we ping a node that is currently offline, we get a 422 error with UNKNOWN_FAILURE instead of TIMEOUT #6782

@mjadach-iv

Description

@mjadach-iv

Current Behavior

Now on 2.2.0 if we ping a node that is currently offline, we get a 422 error with

{
    "status": "UNKNOWN_FAILURE",
    "error": "Network monitoring error: error while pinging peer 12D3KooWQrse7uTpuSmqpwmMiwrDjWqjBZi3UEywU73FtaMkpr8n: ping error"
}

Expected Behavior

Before on 2.1.5 we were getting 422 with:

{"status":"TIMEOUT"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions