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
Hello, I was trying to follow the quick start and I've encountered this error in getting the device information. At first, I was able to scan the IP Cameras in my network. But when I am about to get the information it throws this error. Would someone give some guide or I am missing something here? Thank you.
This is the error log:
Error: Failed to initialize the device: Error: 500 Internal Server Error - The data in element 'Security' must be understood but cannot be handled
at services.device.getCapabilities (/home/kamote/Desktop/onvif-node/node_modules/node-onvif/lib/modules/device.js:396:12)
at promise.then.catch (/home/kamote/Desktop/onvif-node/node_modules/node-onvif/lib/modules/service-device.js:120:4)
at process._tickCallback (internal/process/next_tick.js:68:7)
Hello, I was trying to follow the quick start and I've encountered this error in getting the device information. At first, I was able to scan the IP Cameras in my network. But when I am about to get the information it throws this error. Would someone give some guide or I am missing something here? Thank you.
This is the error log:
Error: Failed to initialize the device: Error: 500 Internal Server Error - The data in element 'Security' must be understood but cannot be handled
at services.device.getCapabilities (/home/kamote/Desktop/onvif-node/node_modules/node-onvif/lib/modules/device.js:396:12)
at promise.then.catch (/home/kamote/Desktop/onvif-node/node_modules/node-onvif/lib/modules/service-device.js:120:4)
at process._tickCallback (internal/process/next_tick.js:68:7)
This is my sample code:
const onvif = require('node-onvif');
let device = new onvif.OnvifDevice({
xaddr: 'http://192.168.1.9:8899/onvif/device_service',
user: 'xxxx',
pass: 'xxxx'
});
device.init()
.then(info => {
console.log(JSON.stringify(info, null, ' '));
})
.catch(err => console.log(err));
The text was updated successfully, but these errors were encountered: