Unhandled Exception in MIP SDK 'VideoViewer' Sample App When Selecting Camera

I’m encountering an issue with the MIP SDK sample application “VideoViewer”. When I press the camera selection button, the application crashes with the following error:

Thread 34788 exited with code 0 (0x0). ‘VideoViewer.exe’ (CLR v4.0.30319: VideoViewer.exe): Loaded ‘[C:\\VideoViewer\bin\Debug\System.Diagnostics.DiagnosticSource.dll’. Skipped](file:C://VideoViewer/bin/Debug/System.Diagnostics.DiagnosticSource.dll’.%C2%A0Skipped) loading symbols. Module is optimized and the debugger option ‘Just My Code’ is enabled. Thread ‘Populate thread’ (360) exited with code 0 (0x0). Unhandled exception of type ‘VideoOS.Platform.ArgumentMIPException’ occurred in VideoOS.Platform.dll GET Unexpected statuscode BadRequest in ‘http://~~~/API/rest/v1/gisMapLocations?disabled’ - Could not establish trust relationship for the SSL/TLS secure channel with authority ‘~~~.local:22331’.

The environment I’m using is Professional+25R1(trial), Windows 11, and Visual Studio 2022.

Does anyone have any suggestions on how to resolve this SSL/TLS trust issue?

I am wondering, if you test with the Smart Client do you get the same issue?

I do suspect a general issue and if the answer to the above question is yes then this does not pertain to development but to a general situation and you will most likely get better help from the partners active in the Support Community - https://supportcommunity.milestonesys.com

If the Smart Client running in the same PC does not have an issue please let me know.

The Smart Client works fine on the same PC. We are using the universal 16 channel driver to capture the camera feed.

We are a bit in the dark here, so I will be asking some questions that might trigger ideas for us…

Are you using the newest version of the sample and building with the newest MIP SDK NuGets?

https://github.com/milestonesys

https://www.nuget.org/profiles/milestonesys

If you look at the Milestone Server Configurator, the Encryption tab, do you see that all encryption is off?

Do you see that all encryption is on and all using the same certificate? If you see something else I haven’t mentioned please describe it. (Perhaps a screen capture.)

In the Server Configuration, the Encryption tab showed that only the Event server and Add-ons had encryption turned on. After turning this off, the error was resolved. I am very grateful for your help.