We are facing issues when we try to login with XProtect Server. Installed XProtect Version is 2023R1 and installed Nuget packet is MilestoneSystems.VideoOS.Platform.SDK 24.1.1.
This is the visual basic .Net Code we are using:
'Se inicializa el entorno de comunicación con Milestone
SDK.Environment.Initialize()
Dim appGuid As Guid = New Guid(“72b3eb1b-0f7f-4268-9593-f17d8b6a3d9d”)
Dim integrationName As String = “IntName”
Dim manufacturerName As String = “Name”
Dim appVersion As String = “2.0”
If _User = “” Then
'Use Default credentials
TraceManager.TraceVerbose("[Milestone] Connect URI: " & uri.ToString())
Dim nc As NetworkCredential = CredentialCache.DefaultCredentials
TraceManager.TraceVerbose("[Milestone] NetworkCredential: Domain: " & nc.Domain & " UserName: " & nc.UserName & " Password: " & nc.Password)
VideoOS.Platform.SDK.Environment.AddServer(uri, nc)
Else
Dim cc As CredentialCache = VideoOS.Platform.Login.Util.BuildCredentialCache(uri, _User, _Password, “Basic”)
TraceManager.TraceVerbose("[Milestone] CredentialCache: UserName: " & _User & " Password: " & _Password)
VideoOS.Platform.SDK.Environment.AddServer(uri, cc)
End If
TraceManager.TraceVerbose(“[Milestone] Login”)
VideoOS.Platform.SDK.Environment.Login(uri, appGuid, integrationName, appVersion, manufacturerName)
TraceManager.TraceInfo(“VideoOS.Platform.SDK.Environment.Login('” & uri.ToString() & “')”)
Once we arrive at Login point, a 404 Error is received due to this inner exception:
“There was no endpoint listening at https://domain.com:8082/ManagementServer/ServerCommandServiceOAuth.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.”
What are we doing wrong? It looks like any server was listening there.
Thanks in advance!