-
-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Hi,
Thank you for creating this.
While testing it with the DS-2CD2343G2-IU HikVision camera I am getting the following error in docker logs:
STARTING...
Initializing MQTT bus...
MQTT: CONNECTED TO mqtt.xxx.xxx
EOF
XML syntax error on line 12: invalid character entity & (no semicolon)
malformed MIME header: missing colon: "--boundary"
multipart: unexpected line in Next(): "Content-Type: application/xml; charset=\"UTF-8\"\r\n"
multipart: unexpected line in Next(): "Content-Length: 580\r\n"
multipart: expecting a new Part; got line "<EventNotificationAlert version=\"2.0\" xmlns=\"http://www.hikvision.com/ver20/XMLSchema\">\r\n"
multipart: unexpected line in Next(): "<ipAddress>10.0.44.12</ipAddress>\r\n"
multipart: unexpected line in Next(): "<ipv6Address>XXXX:XXXX:XXXX:dd:dd:dd:dd:dd</ipv6Address>\r\n"
multipart: unexpected line in Next(): "<portNo>80</portNo>\r\n"
multipart: unexpected line in Next(): "<protocol>HTTP</protocol>\r\n"
multipart: unexpected line in Next(): "<macAddress>XX:XX:XX:XX:XX:XX</macAddress>\r\n"
multipart: unexpected line in Next(): "<channelID>1</channelID>\r\n"
multipart: unexpected line in Next(): "<dateTime>2023-04-10T18:06:55+03:00</dateTime>\r\n"
multipart: unexpected line in Next(): "<activePostCount>1</activePostCount>\r\n"
multipart: unexpected line in Next(): "<eventType>videoloss</eventType>\r\n"
multipart: unexpected line in Next(): "<eventState>inactive</eventState>\r\n"
multipart: unexpected line in Next(): "<eventDescription>videoloss alarm</eventDescription>\r\n"
multipart: unexpected line in Next(): "<channelName>Terrasse</channelName>\r\n"
multipart: unexpected line in Next(): "</EventNotificationAlert>\r\n"
It looks like this XML output is not parsed correctly.
Is there any fix for this? (Sorry have no chance to work with Go for now)
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels