-
Notifications
You must be signed in to change notification settings - Fork 13
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
Qolsys Firewall/iptables prevents connections #33
Comments
I realized I've had similar troubles while developing, but never while using it in production. Copying the message you linked here just in case: (from mzac)
|
Looking over the rules really fast, I do not see any rate limit for port |
Actually I don't need to restart AppDaemon. I have to restart the Qolsys Panel itself. I suspect the solution is to try to respect whatever rate limits are imposed but I also can't find the rule that's relevant. |
You misunderstood me. Home Assistant is not connected with the panel itself. Home Assistant is connected to Appdaemon, and Appdaemon runs qolsysgw, which connects to the qolsys panel. So any rate limit reached would be caused by appdaemon restarting, not home assistant! |
Yes. You are correct :-) |
I have been playing around the panel again recently, but haven't hit any rate limit leading to being ban and having to restart the panel. Any chance you'd have found more details about this? |
Unfortunately I don't have more details. It seems to happen as a result of home assistant restarts (which would restart appdaemon). Appdaemon restarts on their own don't seem to trigger the issue. I suspect some folks on the HA Community Forums may have more info. I wonder if it could be related to the number of zones/devices/sensors since I have about 70 in all. I'll keep an eye on things and report back if I notice a pattern. I have an automaton to alert me when a test sensor becomes unavailable but it only happens at either HA restart or hardware reboot. |
I'll add details when I can reproduce this reliably. After restarting home-assistant the Qolsys panels blocks requests until the panel is rebooted. This doesn't happen every time and this is what gets logged:
appdaemon.log.1:ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.40.35', 12345)
There was a discussion about this over in the home assistant community forums: https://community.home-assistant.io/t/qolsys-iq-panel-2-and-3rd-party-integration/231405/36. Seems like it's related to rate limiting.
The text was updated successfully, but these errors were encountered: