Skip to content

Cerberus api uses client.toml for internal rpc connections #57

@dswiatek

Description

@dswiatek

Cerberus API uses client.toml for internal connections to rpc port.

Generally "external" api port is defined in app.toml under [api] section and this setting works fine. Service bounds to the address and port from this setting.
But unexpected behaviour of the api appears when we used non standard ports. It occurs that internally api (as the wrapper for rpc) uses port for calling rpc from client.toml.

I think it should be treated as a bug. Client.toml should be only used for setting the behaviour of binary when it is used as client app, not for server settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions