Closed doncarajo closed 1 year ago
There is a bug regarding the handling of login redirects after session refreshes in v1.2.4 which I am working to resolve. In the meanwhile, please revert to v1.2.2 which is stable.
Thanks Spyros.
Mark
On 27 Jul 2022, at 4:49 pm, Spyros Smparounis @.***> wrote:
There is a bug regarding the handling of login redirects after session refreshes in v1.2.4 which I am working to resolve. In the meanwhile, please revert to v1.2.2 which is stable.
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1196330476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYVTQGAILDGDHFPS6NTVWDLXLANCNFSM54X357FQ. You are receiving this because you authored the thread.
Hey there,
From my tests so far, the just released v1.2.5 should fix both the plugin becoming unresponsive and (finally) maintain a stable connection through session refreshes.
Please update and try it out and let me know how this works for you!
I have just installed it. Will let you know if issues, thanks.
On 28 Jul 2022, at 05:10, Spyros Smparounis @.***> wrote:
Hey there,
From my tests so far, the just released v1.2.5 should fix both the plugin becoming unresponsive and (finally) maintain a stable connection through session refreshes.
Please update and try it out and let me know how this works for you!
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
Hi,
It became unresponsive again on 1.25.
Mark
On 28 Jul 2022, at 5:51 am, Mark Romero @.***> wrote:
I have just installed it. Will let you know if issues, thanks.
Mark Romero B. Biomed. Sc. (Hons) MBBS FRACS General Surgeon 2 Wyandra Crescent Port Macquarie NSW P 5524 7474 F 6584 1408 @.***
On 28 Jul 2022, at 05:10, Spyros Smparounis @.***> wrote:
Hey there,
From my tests so far, the just released v1.2.5 should fix both the plugin becoming unresponsive and (finally) maintain a stable connection through session refreshes.
Please update and try it out and let me know how this works for you!
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1197255453, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYWOV2ML3NSLV5HUMKDVWGCQXANCNFSM54X357FQ. You are receiving this because you authored the thread.
What error message does the plugin crash with? Could you check the logs for me please?
I will do so this weekend, cheers.
Mark
On 28 Jul 2022, at 10:25 pm, Spyros Smparounis @.***> wrote:
What error message does the plugin crash with? Could you check the logs for me please?
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1198072157, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYTXHHWNHVWPILS7D7TVWJ33NANCNFSM54X357FQ. You are receiving this because you authored the thread.
Hi again. When the plug in is unresponsive I have been unable to identify any error in the logs.
Mark
On 29 Jul 2022, at 8:44 am, Don Carajo @.***> wrote:
I will do so this weekend, cheers.
Mark
On 28 Jul 2022, at 10:25 pm, Spyros Smparounis @. @.>> wrote:
What error message does the plugin crash with? Could you check the logs for me please?
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1198072157, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYTXHHWNHVWPILS7D7TVWJ33NANCNFSM54X357FQ. You are receiving this because you authored the thread.
That’s odd; with the reworked error handling, if the plugin reports non responsive but Homebridge hasn’t crashed, there should be an error report at some point of the logs (something like “aborting login” or some such).
Could you please restart the server and take another look line by line? I have a suspicion on what the problem is, but I would like to confirm it.
Hi again. I have looked through the logs overnight and I cannot find an error message. Homebridge doesn’t;t seem to be aware that the plug in is no longer working. Happy to share log file with you.
Mark
On 31 Jul 2022, at 8:03 pm, Spyros Smparounis @.***> wrote:
That’s odd; with the reworked error handling, if the plugin reports non responsive but Homebridge hasn’t crashed, there should be an error report at some point of the logs (something like “aborting login” or some such). Could you please restart the server and take another look line by line? I have a suspicion on what the problem is, but I would like to confirm it.
Στις Κυρ 31 Ιουλ 2022 στις 4:23 πμ ο χρήστης doncarajo < @.***> έγραψε:
Hi again. When the plug in is unresponsive I have been unable to identify any error in the logs.
Mark
On 29 Jul 2022, at 8:44 am, Don Carajo @.***> wrote:
I will do so this weekend, cheers.
Mark
On 28 Jul 2022, at 10:25 pm, Spyros Smparounis @. @.>> wrote:
What error message does the plugin crash with? Could you check the logs for me please?
— Reply to this email directly, view it on GitHub < https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1198072157>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOFXUYTXHHWNHVWPILS7D7TVWJ33NANCNFSM54X357FQ . You are receiving this because you authored the thread.
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1200326150, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEXYP55FNQL24NRMJSJJ73VWXIRFANCNFSM54X357FQ . You are receiving this because you were assigned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1200391895, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYTM6UQ5MOH4BMA7NHDVWZFQVANCNFSM54X357FQ. You are receiving this because you authored the thread.
I have made some changes to the HTTP requests mechanism of the plugin (automatic attempt to reacquire session when it's lost, autofailover on network disruptions and some extra small things). I think the reason for these crashes is caused by some kind of concurrency issue, but I can't debug it expediently without much feedback. For now I am self-testing the new code on my development system, so I will hold off from publishing a new version until I'm - fairly - certain it is stable and bug-free. Edit: the new behavior for errors on execution is indeed for the plugin to go non responsive (and not crash the entire server along with it), but it's supposed to output an error message when that happens to let the user know about what went wrong. To be more precise, every single call that could result in a fatal fault is wrapped in try {...} catch () blocks and all of them log the caught error before turning the plugin non responsive. No error messages at all is quite peculiar.
Apologies for the messy update; please, keep using v1.2.2 for the time being, I'll ping this thread when the new version goes live in a couple of days :(
No worries, thanks for the update!
On Thu, 4 Aug 2022 at 03:42, Spyros Smparounis @.***> wrote:
I have made some changes to the HTTP requests mechanism of the plugin (automatic attempt to reacquire session when it's lost, autofailover on network disruptions and some extra small things). I think the reason for these crashes is caused by some kind of concurrency issue, but I can't debug it expediently without much feedback. For now I am self-testing the new code on my development system, so I will hold off from publishing a new version until I'm - fairly - certain it is stable and bug-free.
Apologies for the messy update; please, keep using v1.2.2 for the time being, I'll ping this thread when the new version goes live in a couple of days :(
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1204278365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYR2PBJYZYHJMPC257TVXKVQ5ANCNFSM54X357FQ . You are receiving this because you authored the thread.Message ID: @.***>
The latest version v1.2.6 is up; I've tested it for the last two days non-stop and (at least in my setup) seems to be hiccup-free and stable. Please try it out and let me know :)
Thank you, I’ll let you know!
On 6 Aug 2022, at 9:45 am, Spyros Smparounis @.***> wrote:
The latest version v1.2.6 is up; I've tested it for the last two days non-stop and (at least in my setup) seems to be hiccup-free and stable. Please try it out and let me know :)
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1207091520, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYUHOHAH5EOF3YYHNXDVXWRTHANCNFSM54X357FQ. You are receiving this because you authored the thread.
Crashed soon after install. Found this in the logs:
[NX-595E Security System Platform] Cannot read properties of undefined (reading 'has') TypeError: Cannot read properties of undefined (reading 'has') at NX595ESecuritySystem.makeRequest (/usr/lib/node_modules/homebridge-caddx-interlogix/src/NX595ESecuritySystem.ts:651:41) at processTicksAndRejections (node:internal/process/task_queues:96:5) at NX595ESecuritySystem.login (/usr/lib/node_modules/homebridge-caddx-interlogix/src/NX595ESecuritySystem.ts:57:24)
On 6 Aug 2022, at 9:49 am, Don Carajo @.***> wrote:
Thank you, I’ll let you know!
On 6 Aug 2022, at 9:45 am, Spyros Smparounis @. @.>> wrote:
The latest version v1.2.6 is up; I've tested it for the last two days non-stop and (at least in my setup) seems to be hiccup-free and stable. Please try it out and let me know :)
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1207091520, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYUHOHAH5EOF3YYHNXDVXWRTHANCNFSM54X357FQ. You are receiving this because you authored the thread.
This bug chain will be the death of me 🤦🏻♂️
I will investigate further later today; seems to be a crash during login. Login in called when initially logging in, as well as upon session loss, and it's pretty much the same code as before. No obvious reason why it should crash now, but let me take a look and see what comes up.
I've pushed v1.2.7 that resolved the particular stack trace issue you have, it's caused by the superagent's minified library missing a particular enumeration for HTTP request error codes. However, this particular point of execution in code happens when a request made by the plugin fails with a code different from 30x (which would mean either a connection error, or a page not found/404 error, or something along the lines). The plugin will reattempt to connect after a small delay in such cases, but if the problem persists, it should fail gracefully and inform in the console regarding the actual problem that occurred.
Please update to the latest version and let me know what happens. Sorry for the delay!
Thanks, will let you know!
Sent from my iPad
On 12 Aug 2022, at 22:32, Spyros Smparounis @.***> wrote:
I've pushed v1.2.7 that resolved the particular stack trace issue you have, it's caused by the superagent's minified library missing a particular enumeration for HTTP request error codes. However, this particular point of execution in code happens when a request made by the plugin fails with a code different from 30x (which would mean either a connection error, or a page not found/404 error, or something along the lines). The plugin will reattempt to connect after a small delay in such cases, but if the problem persists, it should fail gracefully and inform in the console regarding the actual problem that occurred.
Please update to the latest version and let me know what happens. Sorry for the delay!
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
Hi again. I have had no issues so far on v1.2.7, it seems very stable.
Thank you!
On 13 Aug 2022, at 8:43 am, Mark Romero @.***> wrote:
Thanks, will let you know!
Sent from my iPad
On 12 Aug 2022, at 22:32, Spyros Smparounis @.***> wrote:
I've pushed v1.2.7 that resolved the particular stack trace issue you have, it's caused by the superagent's minified library missing a particular enumeration for HTTP request error codes. However, this particular point of execution in code happens when a request made by the plugin fails with a code different from 30x (which would mean either a connection error, or a page not found/404 error, or something along the lines). The plugin will reattempt to connect after a small delay in such cases, but if the problem persists, it should fail gracefully and inform in the console regarding the actual problem that occurred.
Please update to the latest version and let me know what happens. Sorry for the delay!
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1213063643, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYQNYQVJNJDY3OWQ37DVYY76RANCNFSM54X357FQ. You are receiving this because you authored the thread.
Happy to hear that; are the sensors and the contacts working normally? No error messages in the log?
Not sure if you got also got this follow up:
Spoke too soon, got this error:
Error: socket hang up at connResetException (node:internal/errors:692:14) at Socket.socketOnEnd (node:_http_client:478:23) at Socket.emit (node:events:539:35) at endReadableNT (node:internal/streams/readable:1345:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) [37m[8/15/2022, 8:14:42 AM] [39m[36m[NX-595E Security System Platform][39m [33mChild bridge process ended[39m [37m[8/15/2022, 8:14:42 AM] [39m[36m[NX-595E Security System Platform][39m Process Ended. Code: 1, Signal: null [Tuya] Heard back from Two Switch Upstairs with command 8 [Tuya] Heard back from Four Switch Mid Level with command 8 [37m[8/15/2022, 8:14:49 AM] [39m[36m[NX-595E Security System Platform][39m Restarting Process... [Tuya] Heard back from Four Switch Entry with command 8 [37m[8/15/2022, 8:14:50 AM] [39m[36m[NX-595E Security System Platform][39m Launched child bridge with PID 9749 [37m[8/15/2022, 8:14:50 AM] [39mRegistering platform 'homebridge-caddx-interlogix.homebridge-caddx-interlogix' [37m[8/15/2022, 8:14:50 AM] [39m[36m[NX-595E Security System Platform][39m Loaded homebridge-caddx-interlogix v1.2.7 child bridge successfully [37m[8/15/2022, 8:14:50 AM] [39mLoaded 10 cached accessories from cachedAccessories.0E9B2C2F94D5. [37m[8/15/2022, 8:14:50 AM] [39m[36m[NX-595E Security System Platform][39m Loading accessory from cache: Area 1 [37m[8/15/2022, 8:14:50 AM] [39m[36m[NX-595E Security System Platform][39m Loading accessory from cache: Garage (Front) Motion Sensor [37m[8/15/2022, 8:14:50 AM] [39m[36m[NX-595E Security System Platform][39m Loading accessory from cache: Entry Motion Sensor [37m[8/15/2022, 8:14:50 AM] [39m[36m[NX-595E Security System Platform][39m Loading accessory from cache: Mark's Office Motion Sensor [37m[8/15/2022, 8:14:50 AM] [39m[36m[NX-595E Security System Platform][39m Loading accessory from cache: Downstairs Hallway Motion Sensor [37m[8/15/2022, 8:14:50 AM] [39m[36m[NX-595E Security System Platform][39m Loading accessory from cache: Rumpus Room Motion Sensor [37m[8/15/2022, 8:14:50 AM] [39m[36m[NX-595E Security System Platform][39m Loading accessory from cache: Living Room Motion Sensor [37m[8/15/2022, 8:14:50 AM] [39m[36m[NX-595E Security System Platform][39m Loading accessory from cache: Angela's Office Motion Sensor [37m[8/15/2022, 8:14:50 AM] [39m[36m[NX-595E Security System Platform][39m Loading accessory from cache: Master Bedroom Motion Sensor [37m[8/15/2022, 8:14:50 AM] [39m[36m[NX-595E Security System Platform][39m Loading accessory from cache: Garage (Back) Motion Sensor [37m[8/15/2022, 8:14:51 AM] [39mHomebridge v1.5.0 (HAP v0.10.2) (NX-595E Security System Platform) is running on port 36564.
Then when I restarted the child bridge again got Error: socket hang up but the plug in didn’t restart itself.
:(
On 15 Aug 2022, at 7:51 pm, Spyros Smparounis @.***> wrote:
Happy to hear that; are the sensors and the contacts working normally? No error messages in the log?
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1214834272, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYQDQGNG6CK7MCOVDA3VZIHKDANCNFSM54X357FQ. You are receiving this because you authored the thread.
The socket hang up error occurs on a client (because that's what the plugin is, a client of the NX-595 server) when the server takes too long to respond and a timeout occurs. I myself noticed today some back-to-back ECONNRESET errors in my logs, which are caused by the server resetting the connection.
I would like you to try increasing the polling interval to something like 3000 of 5000 in the plugin settings and see what happens. Maybe the network module gets flooded with requests and that crashes the server? The plugin already reattempts requests that failed after 1500 ms, I might have to up that count.
Good thinking on setting the plugin on a child bridge 👍🏻
Hi. I have increased the poll interval to 3000. I’ll let you know.
PS Why doesn’t the plugin crash on the earlier versions?
Mark
Sent from my iPad
On 15 Aug 2022, at 20:55, Spyros Smparounis @.***> wrote:
The socket hang up error occurs on a client (because that's what the plugin is, a client of the NX-595 server) when the server takes too long to respond and a timeout occurs. I myself noticed today some back-to-back ECONNRESET errors in my logs, which are caused by the server resetting the connection.
I would like you to try increasing the polling interval to something like 3000 of 5000 in the plugin settings and see what happens. Maybe the network module gets flooded with requests and that crashes the server? The plugin already reattempts requests that failed after 1500 ms, I might have to up that count.
Good thinking on setting the plugin on a child bridge 👍🏻
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
The plugin crashed on the earlier versions as well (approximately two to four times per day by my experience), but it would crash the server along with it and restart as a result, therefore the system would remain largely up-and-running. The verification process for homebridge plugins requires that every plugin catches and manages its own errors without affecting the server itself, and that is the reason behind the rework.
Ok, thanks for the clarification!
On Mon, 15 Aug 2022 at 21:33, Spyros Smparounis @.***> wrote:
The plugin crashed on the earlier versions as well (approximately two to four times per day by my experience), but it would crash the server along with it and restart as a result, therefore the system would remain largely up-and-running. The verification process for homebridge plugins requires that every plugin catches and manages its own errors without affecting the server itself, and that is the reason behind the rework.
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1214912241, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYQPVJM7QLN6LUZW54TVZITJZANCNFSM54X357FQ . You are receiving this because you authored the thread.Message ID: @.***>
Hi again,
So far so good with polling interval at 3000.
On 15 Aug 2022, at 8:55 pm, Spyros Smparounis @.***> wrote:
The socket hang up error occurs on a client (because that's what the plugin is, a client of the NX-595 server) when the server takes too long to respond and a timeout occurs. I myself noticed today some back-to-back ECONNRESET errors in my logs, which are caused by the server resetting the connection.
I would like you to try increasing the polling interval to something like 3000 of 5000 in the plugin settings and see what happens. Maybe the network module gets flooded with requests and that crashes the server? The plugin already reattempts requests that failed after 1500 ms, I might have to up that count.
Good thinking on setting the plugin on a child bridge 👍🏻
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1214883545, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYRS5VVTSXDS6ANRBX3VZIOY7ANCNFSM54X357FQ. You are receiving this because you authored the thread.
That's good to know; I would like to do some code updates as well: try to enable connection keepalive for the requests, allow the plugin to retry periodically after a timeout without crashing, and maybe even increase the hard-coded retry time interval. Could you try with a polling interval of 1000 ms for a bit and see if that works in the meantime?
Thanks for your help in improving the plugin :)
Will do.
On Fri, 19 Aug 2022 at 21:00, Spyros Smparounis @.***> wrote:
That's good to know; I would like to do some code updates as well: try to enable connection keepalive for the requests, allow the plugin to retry periodically after a timeout without crashing, and maybe even increase the hard-coded retry time interval. Could you try with a polling interval of 1000 ms for a bit and see if that works in the meantime?
Thanks for your help in improving the plugin :)
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1220540222, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYUZWMV4ASU5WUDPIC3VZ5SODANCNFSM54X357FQ . You are receiving this because you authored the thread.Message ID: @.***>
Hi again. The system became unresponsive overnight. Changed the config to a poll time of 3000 again but no response still. Tried the security system iphone app and couldn't log in. Visited the local address on my browser and a new error shows: "403 Access Denied: SSL Required - use HTTPS" Tried with HTTPS and just times out. Any ideas?
You tried to log in to your alarm system network interface using a browser and got an SSL error? That's not a plugin issue; It would seem your network module and/or LAN is glitching out. For some reason the module server seems to have bugged out. Try clearing the cache and giving it some time and try again.
Update: got a 403 Forbidden myself last night. Seems the module gets grumpy when swamped with many requests. I'll have to incorporate some extra leniency in the way that the plugin communicates with the server. That being said, the plugin remained standing and after a couple tries the system reconnected.
Huh. Bizarre. I had to reinitialise the network card (cumbersome process using the alarm panel keypad) as it wouldn’t become unstuck. Back working though! I have reset the poll time to 3000.
On 20 Aug 2022, at 10:53 pm, Spyros Smparounis @.***> wrote:
Update: got a 403 Forbidden myself last night. Seems the module gets grumpy when swamped with many requests. I'll have to incorporate some extra leniency in the way that the plugin communicates with the server. That being said, the plugin remained standing and after a couple tries the system reconnected.
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1221309673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYRBXRTL34LZMVXIJMTV2DILZANCNFSM54X357FQ. You are receiving this because you authored the thread.
Got the SSL error again overnight. How did you get rid of it? Did you just wait? Because yesterday it took me ages to reset and reconfigure the card.
I ran some extra tests; I did indeed get a couple 403 Forbidden errors across a couple of days, but the plugin never stopped functioning. I released v1.2.8 that has a hard-coded 3000 ms delay in case of a failed network request before reattempting to poll, and will continue to do so until connection is reestablished, without stopping responding. This behavior occurs only after initial successful login, so if the plugin connects even once while running, it should eventually reconnect. Polling happens at the designated polling interval; once a message request fails, the plugin will reattempt that call after said delay (relogging if needed), and if the attempt fails again, then it will schedule a new poll after the poll delay PLUS the 3000 ms have elapsed.
The SSL error is highly unusual; I did try to add SSL capabilities in a previous version, but the TLS/SSL version that the NX-595E supports is dated and removed from NodeJS, so I can't support it while staying compatible with homebridge and the newer NodeJS versions. Maybe you have SSL enabled in your interface settings in the browser page? Either way, in my case the error went away on its own, without rebooting the hardware system itself. Give it some time and see if/when it comes back. In the meanwhile, you can safely upgrade to v1.2.8; it's not like it has any groundbreaking changes in it.
Let me know of any updates :)
My SSL error didn't go away. I went into the panel for programming and it showed me that the "feature 19" options were incorrect, after correcting them, the SSL issue goes away. Interestingly, the installer web account has disappeared, but the other accounts remain. Super odd. In any case, I will test the latest version of the plugin and let you know.
Crashed again straight away. This time the network interface has become unreachable. I'll wait to see if it restarts itself.
Edit: The crash required resetting the card back to default settings, then setting up things again from scratch. I've gone back down to 1.22 to see if there are any other issues.
If it helps, the installer manual for the network module mentions SSL capabilities at feature 19, option 2 (should be disabled). HTH
Hi, yes, I’m aware of that. The weird thing as when the system has been crashing and I get the SSL error, the feature has been turned ON by the error, hence the need for me to re-do the config at the physical panel (keypad), requiring a reset of the settings so that I can again disable SSL and enable web access, DHCP, etc. It’s a very strange behaviour, like the configuration in the alarm panel is getting wiped/corrupted.
On 21 Aug 2022, at 10:19 pm, Spyros Smparounis @.***> wrote:
If it helps, the installer manual for the network module mentions SSL capabilities at feature 19, option 2 (should be disabled). HTH
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1221534672, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYRZD4DPFH2IF3636M3V2INDNANCNFSM54X357FQ. You are receiving this because you authored the thread.
That wasn't my experience; even when the plugin returned a Forbidden error, the server would resume functioning with no SSL activation. Very strange, given that the installation defaults to non-SSL configurations. Nothing is mentioned in both manuals; the only possibility I can see is that maybe under specific circumstances, the module auto activates SSL. I don't have any particular evidence on this (and if it does, it would be a big programming faux pas), just my 2¢. In any case, the plugin can't possibly change the network module settings, the code doesn't go anywhere near there. Do try with v1.2.2 and report back. Maybe some more active monitoring of the log might reveal something that we missed back in that version.
Anyone else that has this kind of issues, please let me know so we can cross check. Thanks!
Yeh, it’s bizarre. Today I had a partial corruption, in which I could access the web interface but some of the fields, which were empty before (like places for email reporting/SMS/etc) had been filled in with strange characters and the installer account no longer existed - user accounts were still there though. I never thought your plugin was the culprit and I suspect it’s just how my system copes with certain situations. Like some buffer overflow issue (I don’t really know, not a programmer obviously).
On 21 Aug 2022, at 10:27 pm, Spyros Smparounis @.***> wrote:
That wasn't my experience; even when the plugin returned a Forbidden error, the server would resume functioning with no SSL activation. Very strange, given that the installation defaults to non-SSL configurations. Nothing is mentioned in both manuals; the only possibility I can see is that maybe under specific circumstances, the module auto activates SSL. I don't have any particular evidence on this (and if it does, it would be a big programming faux pas), just my 2¢. In any case, the plugin can't possibly change the network module settings, the code doesn't go anywhere near there. Do try with v1.2.2 and report back. Maybe some more active monitoring of the log might reveal something that we missed back in that version.
Anyone else that has this kind of issues, please let me know so we can cross check. Thanks!
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1221536069, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYSIP4GJHR6DIAH6GH3V2IOEJANCNFSM54X357FQ. You are receiving this because you authored the thread.
How long have you had your 595? Has it been left without power for any time period, or maybe had a power surge or something?
Really seems like some kind of corruption. I wonder if v1.2.2 resolves the problems, and if so, why?
I’ve had the 595 since late 2017. It has a battery back up so it has never been without power for long periods of time.
On Sun, 21 Aug 2022 at 22:34, Spyros Smparounis @.***> wrote:
How long have you had your 595? Has it been left without power for any time period, or maybe had a power surge or something?
Really seems like some kind of corruption. I wonder if v1.2.2 resolves the problems, and if so, why?
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1221537172, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYSZKDFBMDZ3G7HX3CLV2IO6NANCNFSM54X357FQ . You are receiving this because you authored the thread.Message ID: @.***>
Let's see how it goes with the rolled back version; I'll keep monitoring on my end as well.
Sounds good.
On Sun, 21 Aug 2022 at 22:40, Spyros Smparounis @.***> wrote:
Let's see how it goes with the rolled back version; I'll keep monitoring on my end as well.
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1221538118, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYRVMC2I6PBQ7ZSCAU3V2IPUFANCNFSM54X357FQ . You are receiving this because you authored the thread.Message ID: @.***>
No problems on this side so far with the latest version; how are things on your end?
I’ve been using the 1.22 version which has been rock solid. When I go to the latest version, it crashes/overloads the NX-595E.
On 28 Aug 2022, at 9:13 pm, Spyros Smparounis @.***> wrote:
No problems on this side so far with the latest version; how are things on your end?
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1229434943, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYU7KZX6LN6SSCIIJYLV3NCWFANCNFSM54X357FQ. You are receiving this because you authored the thread.
No crashes at all using v.1.2.2?
Not at all.
On 28 Aug 2022, at 9:22 pm, Spyros Smparounis @.***> wrote:
No crashes at all using v.1.2.2?
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1229436449, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYQZMLM3PTGPBGSAHGLV3NDXDANCNFSM54X357FQ. You are receiving this because you authored the thread.
That's perplexing; I'll take a look at code changes between the two versions over the next few days and try to find out why the difference in behavior.
Thanks!
On 28 Aug 2022, at 9:25 pm, Spyros Smparounis @.***> wrote:
That's perplexing; I'll take a look at code changes between the two versions over the next few days and try to find out why the difference in behavior.
— Reply to this email directly, view it on GitHub https://github.com/flareman/homebridge-caddx-interlogix/issues/16#issuecomment-1229436879, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFXUYSUILFNMR6ENJWSCV3V3NEB3ANCNFSM54X357FQ. You are receiving this because you authored the thread.
Hi. Since updating to the latest version of the plugin, the security system becomes unresponsive after an unspecified amount of time. This requires a reboot of the plug in to get working again.