alarmserver
alarmserver copied to clipboard
DAHUA HTTP Connection Error
Hi , I'm getting the below error when running the server - Any special config needed on the camera? Thanks in advance :)
Get "/cgi-bin/eventManager.cgi?action=attach&codes=All": unsupported protocol scheme "" DAHUA: Error opening HTTP connection to camera Get "/cgi-bin/eventManager.cgi?action=attach&codes=All": unsupported protocol scheme "" DAHUA: Error opening HTTP connection to camera DAHUA: Error opening HTTP connection to camera DAHUA: Error opening HTTP connection to camera Get "/cgi-bin/eventManager.cgi?action=attach&codes=All": unsupported protocol scheme ""
Below is my config
debug: false
dahua: enabled: true cams: myCam: address: 192.168.88.208 https: false username: theusername password: thepassword
ftp: enabled: true port: 21 password: "alarmftppassword" allowFiles: true rootPath: "./ftp"
webhooks: enabled: true items: urls: - "https://127.0.0.1:5001/api/DahuaCameraEvent/v1/dahua/newevent"
Hey, thank you for testing the Dahua server! What camera models are you testing with?
It seems like a bug with Dahua config parsing. I'll get on fixing it!
As I do not currently own any Dahua or Dahua-OEM cameras, it's hard for me to test it, and bugs are expected. Thanks for reporting it!
Hi, thanks for the quick response. Attached is details about my dahua camera. :) Let me know if you need any more info. Thanks!
Hi @toxuin , have you managed to find time to look into this issue?
Hello. UP. I have error like this. Dahua NVR5432/4208/16/32. Can I help for you with testing?
@toxuin Sure - Actually - I can set up a Dahua test camera for you to access. How can I share this information with you privately so that you can access it?
I've pushed a new build where Dahua config parsing is fixed. There surely may be other bugs, but this one should be gone... You can always contact me directly at https://t.me/toxuin but I probably would not have time for remote debugging with live cam right now as I am in another country on vacation😛
I'd need to just get my own Dahua camera for testing... But thanks for your offer!
Please let me know if this release fixes the error. If there are more errors - feel free to open more issues!