Skip to content

Failed to call pools on DG1+ (Stock) and T21 (Stock) #356

@voltsifer

Description

@voltsifer

Failed to call pools on DG1+ (Stock): MY_IP while getting data.
Traceback (most recent call last):
File "/root/FastASIC/.venv/lib/python3.12/site-packages/pyasic/miners/base.py", line 525, in _get_data
miner_data[data_name] = await function(**args_to_send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/FastASIC/.venv/lib/python3.12/site-packages/pyasic/miners/backends/elphapex.py", line 352, in _get_pools
for pool_info in web_pools["POOLS"]:
~~~~~~~~~^^^^^^^^^
KeyError: 'POOLS'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "main.py", line 60, in scanNet
all_miner_data = await asyncio.gather(*[miner.get_data() for miner in miners])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".venv/lib/python3.12/site-packages/pyasic/miners/base.py", line 568, in get_data
gathered_data = await self._get_data(
^^^^^^^^^^^^^^^^^^^^^
File ".venv/lib/python3.12/site-packages/pyasic/miners/base.py", line 527, in _get_data
raise APIError(
pyasic.errors.APIError: Failed to call pools on DG1+ (Stock): MY_IP while getting data.

The same problem on T21 (Stock)

v0.72.11

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