Skip to content

Platform: "Could not detect network from 'node.socket" prevents restarting blockfrost-node while cardano-node is down #480

@michalrus

Description

@michalrus

Context

We have added automatic network detection in:

But this means that we can’t restart blockfrost-platform while cardano-node is down, because then it fails with this error:

Err(AppError::Server(format!(
"Could not detect network from '{socket_path}' is the node running?"
)))

This may be why all Cardano tools require one to explicitly pass --network 🤔

Let's think if we're fine with this, or should rather have eventual consistency within our process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions