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

Не работает интеграция после обновления ядра на 2023.5.4 #31

Open
logistik777 opened this issue May 25, 2023 · 1 comment

Comments

@logistik777
Copy link

Home Assistant 2023.5.4
Supervisor 2023.04.1
Operating System 1
Эта ошибка возникла в кастомной интеграции.

Logger: homeassistant.config_entries
Source: custom_components/lkcomu_interrao/init.py:272
Integration: Личный кабинет Интер РАО (Энергосбыт) (documentation, issues)
First occurred: 10:58:44 (1 occurrences)
Last logged: 10:58:44

Error setting up entry my.mosenergosbyt.ru (+7916xxxxxxx) for lkcomu_interrao
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/lkcomu_interrao/init.py", line 272, in async_setup_entry
await api_object.async_authenticate()
File "/usr/local/lib/python3.10/site-packages/inter_rao_energosbyt/interfaces.py", line 612, in async_authenticate
async with self._session.get(self.AUTH_URL) as response:
File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 1141, in aenter
self._resp = await self._coro
File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 560, in _request
await resp.start(conn)
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 899, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/usr/local/lib/python3.10/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ClientOSError: [Errno 104] Connection reset by peer

@AlexObukhoff
Copy link

AlexObukhoff commented May 16, 2024

Аналогично не работает в версии 2024.5.3

Connection reset by peer - а не вызвано ли это падение изменениями на стороне mosenergosbyt?

Core 2024.5.3
Supervisor 2024.05.1
Operating System 
Пользовательский интерфейс 20240501.1

Эта ошибка возникла в пользовательской интеграции.

Регистратор: inter_rao_energosbyt.api.moscow
Источник: custom_components/lkcomu_interrao/binary_sensor.py:89
интеграция: Личный кабинет Интер РАО (Энергосбыт) (документация, проблемы)
Первое сообщение: 15 мая 2024 г. в 23:20:11 (84 сообщений)
Последнее сообщение: 05:28:58

[524] <- (a2) (-1) (!!! ERROR !!!) EnergosbytException("Client error: Cannot connect to host my.mosenergosbyt.ru:443 ssl:default [Connect call failed ('195.82.140.228', 443)]")
[531] <- (a3) (-1) (!!! ERROR !!!) EnergosbytException("Client error: Cannot connect to host my.mosenergosbyt.ru:443 ssl:default [Connect call failed ('195.82.140.228', 443)]")
[536] <- (a3) (-1) (!!! ERROR !!!) EnergosbytException("Client error: Cannot connect to host my.mosenergosbyt.ru:443 ssl:default [Connect call failed ('195.82.140.228', 443)]")
[535] <- (a3) (-1) (!!! ERROR !!!) EnergosbytException("Client error: Cannot connect to host my.mosenergosbyt.ru:443 ssl:default [Connect call failed ('195.82.140.228', 443)]")
[541] <- (a3) (-1) (!!! ERROR !!!) EnergosbytException("Client error: Cannot connect to host my.mosenergosbyt.ru:443 ssl:default [Connect call failed ('195.82.140.228', 443)]")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants