Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Crash after update node.js to version 18.16.0 #44

Open
jamesngob opened this issue May 18, 2023 · 1 comment
Open

Crash after update node.js to version 18.16.0 #44

jamesngob opened this issue May 18, 2023 · 1 comment

Comments

@jamesngob
Copy link

jamesngob commented May 18, 2023

Hello there,
All has been working fine since couple of years... until the Homebridge system request for Node upgrade.
After upgrading the Node.js to version 18.16.0 using sudo hb-service update-node, the Homebridge crashes and looping...
The cause was

"TypeError: Cannot read properties of undefined (reading 'status')
at AxiosDigest.getWwwAuth (/usr/lib/node_modules/@evops/homebridge-hikvision/node_modules/axios-digest/index.ts:69:13)
at processTicksAndRejections (node:internal/process/task_queues:95:5)"

---> So I decided to create a new Ubuntu server version 22.04.2, 64 bit, install fresh Homebridge using the official page, then install your plugin via Plugin page of the homebridge. The same error happens, meaning it is now unusable under even new build, fresh install...

Any idea how to fix this?
Thank you

Screenshot 2023-05-20 193204

@oliver-kriska
Copy link

Do you use 443 port or port 80? I had some issue and when I changed port to 80 it works

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants