Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reolink dev Integration not working on a Home Assistant Supervised #55966

Closed
MiAutomations opened this issue Sep 8, 2021 · 4 comments
Closed

Comments

@MiAutomations
Copy link

The problem

I'm trying to use the Reolink dev integration without success and I can't understand the root cause

I'm using the last versions of Home Assistant in both installations One is working well with a Hassio os and the other with a supervised installation that also in a few back versions work well also

Until now in order to try solve this issue I enable disable the Integration, delete and re install all including the Custom repositories for the reolink dev integration. I re-install all the HA- Home Assistant from the beginning with OS, and restore the last full backup and the Problem persist I also try to copy the folder related to the Reolink_dev from the Home Assistant installation that is running without errors to the one that is facing this issue, restart the HA without success to solve this issue.

For that I know this is not a single error once there are more users with this issue in the last reported that I performed in the reolink_dev Integration without a reply from the team

For now I don't have more ideias to try solve this issue ....

I will appreciate your help in order to try solve this issue

''
Logger: homeassistant.config_entries
Source: helpers/network.py:123
First occurred: 3:08:59 PM (1 occurrences)
Last logged: 3:08:59 PM

Error setting up entry Reolink for reolink_dev
Traceback (most recent call last):
File "/config/custom_components/reolink_dev/init.py", line 77, in async_setup_entry
push = hass.data[DOMAIN][base.push_manager]
KeyError: 'push_manager-ec71db7df17e'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/reolink_dev/init.py", line 86, in async_setup_entry
await push.subscribe(base.event_id)
File "/config/custom_components/reolink_dev/base.py", line 302, in subscribe
get_url(self._hass, prefer_external=False),
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 83, in get_url
request_host = _get_request_host()
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 123, in _get_request_host
raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError
''

image

What is version of Home Assistant Core has the issue?

Home Assistant 2021.9.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Reolink DEV

Link to integration documentation on our website

https://github.com/fwestenberg/reolink_dev

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.config_entries
Source: helpers/network.py:123
First occurred: 3:08:59 PM (1 occurrences)
Last logged: 3:08:59 PM

Error setting up entry Reolink for reolink_dev
Traceback (most recent call last):
  File "/config/custom_components/reolink_dev/__init__.py", line 77, in async_setup_entry
    push = hass.data[DOMAIN][base.push_manager]
KeyError: 'push_manager-ec71db7df17e'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/config/custom_components/reolink_dev/__init__.py", line 86, in async_setup_entry
    await push.subscribe(base.event_id)
  File "/config/custom_components/reolink_dev/base.py", line 302, in subscribe
    get_url(self._hass, prefer_external=False),
  File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 83, in get_url
    request_host = _get_request_host()
  File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 123, in _get_request_host
    raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError

Additional information

No response

@ludeeus
Copy link
Member

ludeeus commented Sep 8, 2021

Please report that to the author of that custom integration. Thanks 👍

@ludeeus ludeeus closed this as completed Sep 8, 2021
@MiAutomations
Copy link
Author

Please report that to the author of that custom integration. Thanks 👍

I already reported, but I think that is related to the HA installation and not with the Integration once I have other HA instaltion running this integration without any problem ...

Can you please keep the Opened in order to try solve this issue ?

Thanks a lot for your support and understanding

@ludeeus
Copy link
Member

ludeeus commented Sep 8, 2021

This is not a HA issue.
It's a configuration and custom integration issue.

@MiAutomations
Copy link
Author

This is not a HA issue.
It's a configuration and custom integration issue.

Thank you for your reply

I don't think so sorry

Once I have other HA installation that is working well and the log appointing to a file in the HA

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup

I just need to try solve this issue ...

Thanks a lot for your support and understanding

@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants