You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.
node:13217) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'status' of undefined
at AxiosDigest.getWwwAuth (/usr/lib/node_modules/@evops/homebridge-hikvision/node_modules/axios-digest/index.ts:69:13)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:13217) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:13217) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered:
I had the same issue, this typically happens when the API call to NVR fails.
In my case, I had to set the homebridge hikvision plugin config to use port 80 instead of 443 to get it working.
The example config had 443 in port number.
You can try to debug this by using a rest client like Postman tool.
Set the authorization to Digest Auth and put your NVR username and password.
Make a GET call to http://<NVR_IP_ADDRESS>:80/ISAPI/ContentMgmt/InputProxy/channels
You should see your camera names and IP addresses in response. If not, you need to get this API working first, before you configure the homebridge plugin.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
node:13217) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'status' of undefined
at AxiosDigest.getWwwAuth (/usr/lib/node_modules/@evops/homebridge-hikvision/node_modules/axios-digest/index.ts:69:13)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use
node --trace-warnings ...
to show where the warning was created)(node:13217) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 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(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)(node:13217) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered: