excaliburpartners / OmniLinkBridge

MQTT bridge, web service API, time sync, and logging for HAI/Leviton OmniPro II controllers
GNU General Public License v3.0
41 stars 24 forks source link

Crashing since upgrade to 1.1.19.1 #67

Open stevem405 opened 5 months ago

stevem405 commented 5 months ago

After updating OmniLinkBridge in Home Assistant from 1.1.14.1 to 1.1.19.1 the app crashes. Restoring 1.1.14.1 fixes the problem.

Home assistant version 2024.6.2 OS version 12.3 Platform Raspberry Pi 4

Error log snip: [06:01:31] INFO: Starting OmniLink Bridge... 2024-06-14 06:01:31 [OmniLinkBridge.Settings ERR] Invalid encryption key specified for controller_key1 [06:01:31] WARNING: OmniLink Bridge crashed, halting add-on s6-rc: info: service legacy-services: stopping [06:01:31] INFO: OmniLink Bridge stopped, restarting... s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun omnilink-bridge (no readiness notification) s6-rc: info: service legacy-services successfully started [06:01:38] INFO: Starting OmniLink Bridge... 2024-06-14 06:01:38 [OmniLinkBridge.Settings ERR] Invalid encryption key specified for controller_key1 [06:01:38] WARNING: OmniLink Bridge crashed, halting add-on s6-rc: info: service legacy-services: stopping [06:01:38] INFO: OmniLink Bridge stopped, restarting... s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

rwagoner commented 5 months ago

The log is showing the encryption key is not formatted correctly. Validation logic was added so I would double check the keys are formatted as "00-00-00-00-00-00-00-00"

stevem405 commented 5 months ago

I see. Mine hex bytes are separated by colons. xx:yy:zz


From: Ryan Wagoner @.> Sent: Friday, June 14, 2024 2:57:12 PM To: excaliburpartners/OmniLinkBridge @.> Cc: stevem405 @.>; Author @.> Subject: Re: [excaliburpartners/OmniLinkBridge] Crashing since upgrade to 1.1.19.1 (Issue #67)

The log is showing the encryption key is not formatted correctly. Validation logic was added so I would double check the keys are formatted as "00-00-00-00-00-00-00-00"

— Reply to this email directly, view it on GitHubhttps://github.com/excaliburpartners/OmniLinkBridge/issues/67#issuecomment-2168813286, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQQ7QBIGGIMON37MDCQF5UTZHNRLRAVCNFSM6AAAAABJKMBCIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRYHAYTGMRYGY. You are receiving this because you authored the thread.Message ID: @.***>