Hi.
I need to send diagnostic and transit messages from a camera correctly registered into MS using its HTTPS address. But if I send events with HTTP on port 9090 I received a message “Warning: Device not known”. If I send the same message on port 9090 as HTTPS I receive the error: "Error: 1023616:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:..\..\..\..\src\third_party\boringssl\src\ssl\tls_record.cc:211:
View in ConsoleLearn about troubleshooting requests".
Could you please explain me if it’s possible and how to send events from a camera registered with HTTPS?
I’m using v2024 R1.
Thanks!
You must use HTTP on port 9090. I speculate that you might have a wrong XML for the Source (the camera), that is what “Warning: Device not known” normally means. I recommend this knowledge base article that takes it starting point in a sample and shows multiple ways it identify the source camera:
https://developer.milestonesys.com/s/article/send-analytics-event-using-the-camera-GUID
The sample mentioned:
https://doc.developer.milestonesys.com/mipsdk/index.html?base=samples%2FProtocolSamples%2FTriggerAnalyticsEventXML%2FREADME.html&tree=tree_3.html
At any rate trying out the sample is probably the best way for you to see how to submit the analytics events, I recommend trying the sample.