I been running qolsysgw with Appdemon / MQtt and now I'm getting something weird going on. I will get tons of notifications that are set up in my automation and when i look in my home assistant logs I get "qolsys Panel last error become unavailable" then it comes back online and sends every available automation that is set up with the panel.
Then looking at the appdeamon logs:
File "/config/appdaemon/apps/qolsysgw/qolsys/socket.py", line 81, in listen
line = await reader.readline()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/streams.py", line 545, in readline
line = await self.readuntil(sep)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/streams.py", line 637, in readuntil
await self._wait_for_data('readuntil')
File "/usr/lib/python3.11/asyncio/streams.py", line 522, in _wait_for_data
await self._waiter
File "/usr/lib/python3.11/asyncio/selector_events.py", line 970, in _read_ready__get_buffer
nbytes = self._sock.recv_into(buf)
^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
2023-07-31 06:04:51.467384 ERROR qolsys_panel: unable to wait for writer to be fully closed; this might not be an issue if the connection was closed on the other side
Traceback (most recent call last):
File "/config/appdaemon/apps/qolsysgw/qolsys/socket.py", line 125, in listen
await writer.wait_closed()
File "/usr/lib/python3.11/asyncio/streams.py", line 350, in wait_closed
await self._protocol._get_close_waiter(self)
File "/usr/lib/python3.11/asyncio/selector_events.py", line 970, in _read_readyget_buffer
nbytes = self._sock.recv_into(buf)
^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
2023-07-31 06:04:51.468730 INFO qolsys_panel: sleeping 1 second(s) before reconnecting
2023-07-31 06:04:52.473682 INFO qolsys_panel: Establishing connection to 10.xx.xx.xx:12345
2023-07-31 11:12:51.841007 ERROR qolsys_panel: error while listening
Traceback (most recent call last):
File "/config/appdaemon/apps/qolsysgw/qolsys/socket.py", line 81, in listen
line = await reader.readline()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/streams.py", line 545, in readline
line = await self.readuntil(sep)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/streams.py", line 637, in readuntil
await self._wait_for_data('readuntil')
File "/usr/lib/python3.11/asyncio/streams.py", line 522, in _wait_for_data
await self._waiter
File "/usr/lib/python3.11/asyncio/selector_events.py", line 970, in _read_readyget_buffer
nbytes = self._sock.recv_into(buf)
^^^^^^^^^^^^^^^^^^^^^^^^^
MQTT logs:
2023-07-31 07:57:04: New connection from 172.xx.xx.xx:60510 on port 1883.
2023-07-31 07:57:04: Client closed its connection.
It looks like its drooping connection for some reason. This been going on since I had it set up but first it has been every few days now its every few hours. Maybe I have something set up wrong. Please Help !!!
Good Morning,
I been running qolsysgw with Appdemon / MQtt and now I'm getting something weird going on. I will get tons of notifications that are set up in my automation and when i look in my home assistant logs I get "qolsys Panel last error become unavailable" then it comes back online and sends every available automation that is set up with the panel.
Then looking at the appdeamon logs:
File "/config/appdaemon/apps/qolsysgw/qolsys/socket.py", line 81, in listen line = await reader.readline() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/streams.py", line 545, in readline line = await self.readuntil(sep) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/streams.py", line 637, in readuntil await self._wait_for_data('readuntil') File "/usr/lib/python3.11/asyncio/streams.py", line 522, in _wait_for_data await self._waiter File "/usr/lib/python3.11/asyncio/selector_events.py", line 970, in _read_ready__get_buffer nbytes = self._sock.recv_into(buf) ^^^^^^^^^^^^^^^^^^^^^^^^^ ConnectionResetError: [Errno 104] Connection reset by peer 2023-07-31 06:04:51.467384 ERROR qolsys_panel: unable to wait for writer to be fully closed; this might not be an issue if the connection was closed on the other side Traceback (most recent call last): File "/config/appdaemon/apps/qolsysgw/qolsys/socket.py", line 125, in listen await writer.wait_closed() File "/usr/lib/python3.11/asyncio/streams.py", line 350, in wait_closed await self._protocol._get_close_waiter(self) File "/usr/lib/python3.11/asyncio/selector_events.py", line 970, in _read_readyget_buffer nbytes = self._sock.recv_into(buf) ^^^^^^^^^^^^^^^^^^^^^^^^^ ConnectionResetError: [Errno 104] Connection reset by peer 2023-07-31 06:04:51.468730 INFO qolsys_panel: sleeping 1 second(s) before reconnecting 2023-07-31 06:04:52.473682 INFO qolsys_panel: Establishing connection to 10.xx.xx.xx:12345 2023-07-31 11:12:51.841007 ERROR qolsys_panel: error while listening Traceback (most recent call last): File "/config/appdaemon/apps/qolsysgw/qolsys/socket.py", line 81, in listen line = await reader.readline() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/streams.py", line 545, in readline line = await self.readuntil(sep) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/streams.py", line 637, in readuntil await self._wait_for_data('readuntil') File "/usr/lib/python3.11/asyncio/streams.py", line 522, in _wait_for_data await self._waiter File "/usr/lib/python3.11/asyncio/selector_events.py", line 970, in _read_readyget_buffer nbytes = self._sock.recv_into(buf) ^^^^^^^^^^^^^^^^^^^^^^^^^
MQTT logs: 2023-07-31 07:57:04: New connection from 172.xx.xx.xx:60510 on port 1883. 2023-07-31 07:57:04: Client closed its connection.
It looks like its drooping connection for some reason. This been going on since I had it set up but first it has been every few days now its every few hours. Maybe I have something set up wrong. Please Help !!!