Replies: 1 comment 6 replies
-
I do not recommend using cloud approach. Use local connection instead. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently discovered and installed PAI. Worked straight up (well, almost) but I've found that it will sooner rather than later end up losing connection and fail to reconnect indefinitely, stuck in the loop below...
_2023-11-11 04:02:43,340 - ERROR - PAI.paradox.connections.protocols - Connection was closed: [Errno 104] Connection reset by peer
2023-11-11 04:02:43,341 - ERROR - PAI.paradox.connections.connection - Connection was lost
2023-11-11 04:02:44,102 - ERROR - PAI - Connection to panel lost: Not connected. Restarting
2023-11-11 04:02:49,277 - ERROR - PAI.paradox.connections.ip.connection - Unhandled exception while connecting (try 1/3): STUN Connect Request error: {'class': b'\x00\x00\x04', 'code': 47, 'reason': b'Connection Timeout or Failure\x00\x00\x00'}
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/paradox/connections/ip/connection.py", line 30, in connect
await self._try_connect()
File "/usr/local/lib/python3.9/site-packages/paradox/connections/ip/connection.py", line 147, in _try_connect
await self.stun_session.connect()
File "/usr/local/lib/python3.9/site-packages/paradox/connections/ip/stun_session.py", line 50, in connect
stun_r = await self._stun_connect(xoraddr)
File "/usr/local/lib/python3.9/site-packages/paradox/connections/ip/stun_session.py", line 73, in stun_connect
raise ConnectToSiteFailed(
paradox.exceptions.ConnectToSiteFailed: STUN Connect Request error: {'class': b'\x00\x00\x04', 'code': 47, 'reason': b'Connection Timeout or Failure\x00\x00\x00'}
I'm running PAI in a docker on OMV (Debian) on the same node as my Mosquitto and HA dockers. My SP7000 w/ IP150 module has a static IP on my router so there's no issues with that changing IP address.
A restart of PAI will reconnect straight away but again just disconnect and cycle reconnection attempts.
I don't want to raise an issue yet until I make sure it's not something I've done wrong in my setup.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions