Title: Dahua - DAHUA: ERROR: Camera xxx does not seem to support event streaming · Issue #38 · toxuin/alarmserver · GitHub
Open Graph Title: Dahua - DAHUA: ERROR: Camera xxx does not seem to support event streaming · Issue #38 · toxuin/alarmserver
X Title: Dahua - DAHUA: ERROR: Camera xxx does not seem to support event streaming · Issue #38 · toxuin/alarmserver
Description: I receive the error DAHUA: ERROR: Camera xxx does not seem to support event streaming from this line: servers/dahua/server.go I've checked the response of this camera from: http://192.168.1.xxx/cgi-bin/eventManager.cgi?action=attach&hear...
Open Graph Description: I receive the error DAHUA: ERROR: Camera xxx does not seem to support event streaming from this line: servers/dahua/server.go I've checked the response of this camera from: http://192.168.1.xxx/cgi...
X Description: I receive the error DAHUA: ERROR: Camera xxx does not seem to support event streaming from this line: servers/dahua/server.go I've checked the response of this camera from: http://192.168.1.xxx...
Opengraph URL: https://github.com/toxuin/alarmserver/issues/38
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Dahua - DAHUA: ERROR: Camera xxx does not seem to support event streaming","articleBody":"I receive the error `DAHUA: ERROR: Camera xxx does not seem to support event streaming` from this line: [servers/dahua/server.go](https://github.com/toxuin/alarmserver/blob/b154b935470df58e61639ae111d6359e808ea6de/servers/dahua/server.go#L96C2-L96C2)\r\n\r\nI've checked the response of this camera from: `http://192.168.1.xxx/cgi-bin/eventManager.cgi?action=attach\u0026heartbeat=10\u0026channel=5\u0026codes=[All]` and the `Content-Type` response header looks fine - `multipart/x-mixed-replace; boundary=myboundary`.\r\n\r\nHere's my configuration:\r\n```\r\ndebug: true\r\n\r\ndahua:\r\n enabled: true\r\n cams:\r\n xxx:\r\n address: 192.168.1.xxx\r\n https: false\r\n username: admin\r\n password: xxx\r\n # IF ALL EVENTS ARE NEEDED - DELETE OR COMMENT FOLLOWING LINE\r\n #events: VideoMotion,CrossLineDetection,AlarmLocal,VideoLoss,VideoBlind\r\n events: AlarmLocal,VideoLoss,VideoBlind\r\n\r\nmqtt:\r\n enabled: true\r\n username: user\r\n password: \"zzz\"\r\n port: 1883\r\n server: \"192.168.1.zzz\"\r\n topicroot: camera-alarms\r\n\r\n```\r\n\r\nand the log:\r\n```\r\nAdded Dahua camera:\r\n name: xxx\r\n url: http://192.168.1.xxx\r\n username: admin \r\n password set: true\r\nSTARTING...\r\nCONFIG:\r\n SERVER: Hisilicon - enabled: true\r\n port: 15002\r\n SERVER: Hikvision - enabled: false\r\n camera count: 0\r\n SERVER Dahua enabled: true\r\n camera count: 1\r\n SERVER: FTP - enabled: false\r\n port: 21\r\n files allowed: true\r\n password set: true\r\n root path: ./ftp\r\n BUS: MQTT - enabled: true\r\n port: 1883\r\n topicRoot: camera-alarms\r\n server: 192.168.1.zzz\r\n username: user\r\n password set: true\r\n BUS: Webhooks - enabled: false\r\n count: 0\r\nInitializing MQTT bus...\r\nMQTT BUS INITIALIZED\r\nSTARTED HISILICON SERVER\r\nDAHUA: Adding camera xxx: http://192.168.1.xxx\r\nMQTT: CONNECTED TO 192.168.1.zzz\r\nMQTT: Sent message to camera-alarms/alarmserver\r\nDAHUA: USING DIGEST AUTH\r\nDAHUA: Media type is multipart/x-mixed-replace\r\nDAHUA: Read event body: Heartbeat\r\n```\r\n\r\nPlease advise what I can do about it...","author":{"url":"https://github.com/zamojski","@type":"Person","name":"zamojski"},"datePublished":"2023-09-30T11:58:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/38/alarmserver/issues/38"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9ddda349-c296-9d9a-25ef-e31de42a5763 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E2FA:3BA192:36035:4A2B0:6A4BBE46 |
| html-safe-nonce | 6b43246f4d5b0a07c8c22e66c9e44f4050b42edb9c8e9d745c6a138338fba531 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkZBOjNCQTE5MjozNjAzNTo0QTJCMDo2QTRCQkU0NiIsInZpc2l0b3JfaWQiOiIxMzA1MjE5OTA4NTQwMDIyMzQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | de606ef18834fbdcd3dd3113d4c0d1f57894c079e2341cdce32541eb049eaa2e |
| hovercard-subject-tag | issue:1920231251 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/toxuin/alarmserver/38/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c148a5313ba8abe5a0c4ab0e4c1f265071c0c0d53add8d2eb5df6943a1f18c51/toxuin/alarmserver/issues/38 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c148a5313ba8abe5a0c4ab0e4c1f265071c0c0d53add8d2eb5df6943a1f18c51/toxuin/alarmserver/issues/38 |
| og:image:alt | I receive the error DAHUA: ERROR: Camera xxx does not seem to support event streaming from this line: servers/dahua/server.go I've checked the response of this camera from: http://192.168.1.xxx/cgi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zamojski |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae1c14875555a1dd92bdef45baa6dd9aa796df891e4e471989f7117fe3139fc1 |
| turbo-cache-control | no-preview |
| go-import | github.com/toxuin/alarmserver git https://github.com/toxuin/alarmserver.git |
| octolytics-dimension-user_id | 868268 |
| octolytics-dimension-user_login | toxuin |
| octolytics-dimension-repository_id | 336194741 |
| octolytics-dimension-repository_nwo | toxuin/alarmserver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 336194741 |
| octolytics-dimension-repository_network_root_nwo | toxuin/alarmserver |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b15c57117aeff522995a9578e1185f6c45d6c562 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width