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
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!
The text was updated successfully, but these errors were encountered:
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:
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!
The text was updated successfully, but these errors were encountered: