Skip to content

Перестал загружаться профиль #84

Description

@VaIeroK

System Health details

Перестает загружаться интеграция, попытка перезагрузить её ни к чему не приводит.

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

Проблема появилась второй раз. Первый раз пару месяцев назад, второй раз произошёл 3 дня назад.

Лечение - удалить текущий профиль дом ру и добавить заново. Может токен протухает?

Ошибку исправил пересозданием профиля, систему перезагружал. Поэтому дополнительных логов предоставить больше не смогу, стек ошибки приложил в debug logs

Reproduction steps

...

Debug logs

Setup of config entry '*' for domru integration cancelled
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 798, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/domru/__init__.py", line 94, in async_setup_entry
    initial_data = await client.async_get_data()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/domru/api.py", line 400, in async_get_data
    await self._async_add_places_and_access_controls(data)
  File "/config/custom_components/domru/api.py", line 456, in _async_add_places_and_access_controls
    places_response = await self.get_subscriber_places()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/domru/api.py", line 499, in get_subscriber_places
    result = await self._api_wrapper(url=url, method="GET")
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/domru/api.py", line 1013, in _api_wrapper
    response = await self._session.request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<4 lines>...
    )
    ^
  File "/usr/local/lib/python3.14/site-packages/aiohttp/client.py", line 858, in _request
    resp = await handler(req)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/site-packages/aiohttp/client_middlewares.py", line 36, in single_middleware_handler
    return await middleware(req, handler)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py", line 69, in _ssrf_redirect_middleware
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/site-packages/aiohttp/client.py", line 836, in _connect_and_send_request
    await resp.start(conn)
  File "/usr/local/lib/python3.14/site-packages/aiohttp/client_reqrep.py", line 558, in start
    message, payload = await protocol.read()  # type: ignore[union-attr]
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.14/site-packages/aiohttp/streams.py", line 705, in read
    await self._waiter
asyncio.exceptions.CancelledError

Diagnostics dump

No response

Activity

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions