grzegorz914 / homebridge-enphase-envoy

Homebridge plugin for Photovoltaic Energy System manufactured by Enphase. Supported Envoy-IQ, Envoy-S and all peripheral devices.
MIT License
47 stars 9 forks source link

Digest authentication headers error: undefined since 7.5.3 #111

Closed xorguy closed 10 months ago

xorguy commented 10 months ago

Hi.

Since 7.5.3 up to latest 7.5.7, with 7.5.2 there is no problem, plugin crashes in child bridge with following error. Envoy is version 5.0.62. Node version 18.16.0.

[11/18/2023, 6:54:46 PM] [homebridge-enphase-envoy] Device: Envoy-S, debug: Prepare accessory [11/18/2023, 6:54:46 PM] [homebridge-enphase-envoy] Device: Envoy-S, debug: Prepare information service [11/18/2023, 6:54:46 PM] [homebridge-enphase-envoy] Device: Envoy-S, debug: Prepare system service [11/18/2023, 6:54:46 PM] [homebridge-enphase-envoy] Device: Envoy-S, debug: Prepare envoy service [11/18/2023, 6:54:46 PM] [homebridge-enphase-envoy] Device: Envoy-S, published as external accessory. [11/18/2023, 6:54:46 PM] Envoy-S CXXX is running on port 42649. [11/18/2023, 6:54:46 PM] Please add [Envoy-S CXXX] manually in Home app. UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Update microinverters data error: Digest authentication headers error: undefined.". [11/18/2023, 6:54:46 PM] [homebridge-enphase-envoy] Child bridge process ended

Regards.

grzegorz914 commented 10 months ago

Fixed in 7.5.8