Skip to content

show pool stratum auth error on AxeOS dashboard #1358

@skot

Description

@skot

If esp-miner fails to authenticate via stratum with the pool, we should propagate this error to the AxeOS dashboard.

example, if I use an invalid mining address with public-pool;

{"id": 3, "method": "mining.authorize", "params": ["bc1qnp980s5fpp8l94p5cvttntdqy8rvrq74qly2yrfmzkdsntqzlc5qkc4rkq.bitaxe", "x"]}

it will return;

I (15123) stratum_api: rx: {"id":3,"result":null,"error":[20,"Authorization validation error",", bc1qnp980s5fpp8l94p5cvttntdqy8rvrq74qly2yrfmzkdsntqzlc5qkc4rkq"]}
E (15138) stratum_task: setup message rejected: Authorization validation error

Currently AxeOS does not show the "Authorization validation error" to the user.

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