I’m working on an issue that one of our users is having with our MIP SDK integration, where we are receiving “VideoOS.Platform.CommunicationMIPException: Unable to connect to toolkit! - —> VideoOS.Toolkit.NotConnectedException: Unable to connect to toolkit!”
Our integration was written a while ago using MIP SDK 2016, while the server they are connecting to is a Federated Server (and Remote Recording Server) running Milestone 2017R3.
When we initially tested our MIP SDK integration using their Federated Milestone Server, this exception did not occur. Also worth mentioning that when we test the same MIP SDK Integration now with a direct connection (No Federated Server) to the recorder in our lab, the exception does not occur.
We have been informed by the user that there has been no significant changes to their firewall settings since the initial test. However, I still suspect this issue is caused by a blocked port. Which ports on which host are required to connect to a Federated Milestone Server and retrieve video from a Remote Recording Server?
I’ve seen the other two posts on this forum that mention this same exception, but neither solution fixes the issue for us:
developer.milestonesys.com/s/question/0D50O00004ZRq93SAD/unable-to-connect-to-toolkit
developer.milestonesys.com/s/question/0D50O00003NHiu8SAD/unable-to-connect-to-toolkit
Full Stacktrace:
VideoOS.Platform.CommunicationMIPException: Unable to connect to toolkit! - —> VideoOS.Toolkit.NotConnectedException: Unable to connect to toolkit!
at VideoOS.Toolkit.SourceToolkit.Connect(ISet`1 requestedPropertyNames, ISet`1& availablePropertyNames, TimeSpan timeout)
at VideoOS.Toolkit.SourceToolkit.Connect(ISet`1 requestedPropertyNames, ISet`1& availablePropertyNames)
at VideoOS.Platform.SDK.Export.SDKInternalCommandService.ToolkitConnectWithExceptionHandling(IPlaybackSourceToolkit toolkit, ISet`1 properties, ISet`1& availableProperties)
— End of inner exception stack trace —
at VideoOS.Platform.SDK.Export.SDKInternalCommandService.ToolkitConnectWithExceptionHandling(IPlaybackSourceToolkit toolkit, ISet`1 properties, ISet`1& availableProperties)
at VideoOS.Platform.SDK.Export.SDKInternalCommandService.ImageExporterConnect(FQID deviceFQID, Int32 width, Int32 height, Boolean keepAspectRatio, Boolean fillSpace, Boolean allowUspcaling)
at VideoOS.Platform.Data.JPEGVideoSource.Init(Int32 width, Int32 height)
at VideoOS.Platform.Data.JPEGVideoSource.Init()