core: Home Assistant looses the ability to communicate with Insteon Hub 2 (2245-222)

The problem

Insteon integration stops communicating with the hub after some time. Restaring Hub fixes the problem only temporarily, the same error occurs after several hour of communicating with the hub. The hub itself is operational and communicating with Insteon App. The problem seems to be with the pyinsteon.protocol.http_reader_writer improperly closing the http connection.

Since other people were reporting a similar issue, is there a manual fix for this or a new code in the upcoming release? Thank you for your time and effort in resolving this problem.

What version of Home Assistant Core has the issue?

2022.6.6

What was the last working version of Home Assistant Core?

N/A - problem observed for last 6 months

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Insteon

Link to integration documentation on our website

https://www.home-assistant.io/integrations/insteon/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Log Details (ERROR)
Logger: homeassistant.components.insteon
Source: components/insteon/__init__.py:111
Integration: Insteon (documentation, issues)
First occurred: June 15, 2022, 11:45:03 PM (6 occurrences)
Last logged: June 15, 2022, 11:48:30 PM

Could not connect to Insteon modem



Log Details (ERROR)
Logger: pyinsteon.protocol.http_reader_writer
Source: /usr/local/lib/python3.9/site-packages/pyinsteon/protocol/http_reader_writer.py:19
First occurred: June 15, 2022, 11:45:03 PM (6 occurrences)
Last logged: June 15, 2022, 11:48:30 PM

System must be restared to reconnect to hub


Log Details (ERROR)
Logger: pyinsteon.protocol.http_reader_writer
Source: /usr/local/lib/python3.9/site-packages/pyinsteon/protocol/http_reader_writer.py:18
First occurred: June 15, 2022, 11:45:03 PM (6 occurrences)
Last logged: June 15, 2022, 11:48:30 PM

If configuration is correct and restart the Hub


Log Details (ERROR)
Logger: pyinsteon.protocol.http_reader_writer
Source: /usr/local/lib/python3.9/site-packages/pyinsteon/protocol/http_reader_writer.py:17
First occurred: June 15, 2022, 11:45:03 PM (6 occurrences)
Last logged: June 15, 2022, 11:48:30 PM

Athentication error, check your configuration

Additional information

A similar problem is reported and described here: https://github.com/home-assistant/core/issues/70808

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 39 (7 by maintainers)

Most upvoted comments

FWIW, @john94501 - My hub2 has all the same details. I’m subscribed and still using the iOS app (getting things set up to switch over to HA) and there’s an “Update Hub” option in the app. However, checking for updates reveals no new updates available…so it would appear we’re both as up-to-date as we can be.