Skip to content

Error fetching nicehash_accounts_coordinator data: 'Response' object has no attribute 'reason' #11

Description

@livello

HASS core-2021.8.4

Configuration

nicehash:
organization_id: elishome
api_key: ******************
api_secret: ***************
currency: EUR
balances: true # (default = false) - Enable balance sensors
rigs: true # (default = false) - Enable rig sensors
devices: true # (default = false) - Enable device sensors
payouts: true # (default = false) - Enable payout sensors`

Debug log

2021-08-09 14:27:00 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry UPnP/IGD for upnp
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 293, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/upnp/init.py", line 90, in async_setup_entry
udn = entry.data[CONFIG_ENTRY_UDN]
KeyError: 'udn'
2021-08-09 14:27:00 ERROR (MainThread) [custom_components.nicehash.coordinators] Error fetching nicehash_accounts_coordinator data: 'Response' object has no attribute 'reason'
2021-08-09 14:27:00 ERROR (MainThread) [custom_components.nicehash] Unable to get NiceHash accounts
2021-08-09 14:27:00 ERROR (MainThread) [homeassistant.setup] Error during setup of component nicehash
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 249, in _async_setup_component
result = await task
File "/config/custom_components/nicehash/init.py", line 93, in async_setup
raise PlatformNotReady
homeassistant.exceptions.PlatformNotReady: None

Activity

  1. v00g100skr commented on Sep 22, 2021

    @v00g100skr

    same problem with async_setup

  2. config-old commented on Oct 27, 2021

    @config-old
  3. Meatballs1 commented on Nov 23, 2021

    @Meatballs1

    should be reason_phrase

  4. spoettin commented on Apr 1, 2024

    @spoettin

    I got this error as well when I used my freshly generated API token. I realized afterwards that Nicehash wanted me to verify the new API token ... after verification of the API token (in my case via clicking a link in an email), the error message went away and integration started working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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