Has anyone done a successful protocol-level integration/authentication with XProtect Corporate? Getting 500 error while attempting to perform Login using the active directory mechanism.

I’m running XProtect Corporate on Windows 2016 Server, where I’ve set up a domain and domain users in Active Directory (AD). I’ve used Centrify Express to configure AD on my Ubuntu machine and verified that AD is working. I’m the using spengo-1.1.0 java library to submit the authentication request and process the response. I am getting a 500 error upon submission. I have verified that the domain user I am using has Admin permissions on the the Windows 2016 server and that all the ports specified in the relevant MS documents are open in the Windows Firewall - both inbound and outbound. I am seeing this message in the Management server log file:

2018-09-17 11:52:31.645-07:00 [ 5] INFO - Command received. Type: UpdateRecorderStatusCommand; Token: 1f2dc0d7-426e-425d-a919-4250f1f668af

So I think the management server might be authenticating the request, but the 500 error might be happening in IIS after the fact.

When using domain users you have to use NTLM. I am guessing that if you try to use this without having NTLM a 500 error could be the result.

I know it is another environment and language but perhaps you will be able to get some help by exploring the Login .NET Soap sample.

http://doc.developer.milestonesys.com/html/index.html?base=samples/logindotnetsoap.html&tree=tree_3.html

There is no java sample in the MIP SDK. I am hoping that other partner who have done this integration will reply..

The guid was improperly formatted. I was passing a dummy guid of “1234” into the login, but this did not conform to the expected guid format. Once I fixed that I was able to get the token. Now I have a different problem: I am attempting to connect to the image server via tcp protocol on port 7563 using the connect xml command with a fresh token collected from the Management server. I am getting a connect response that shows a successful connection, but this is followed by two HTTP error messages, after which the connection is non-responsive:

<?xml version="1.0" encoding="UTF-8"?>1connectdummydummy853209bd-c694-459e-bccf-9779b0de2b92id=853209bd-c694-459e-bccf-9779b0de2b92&connectiontoken=TOKEN#397cfc47-59d8-4f0e-8cb6-60c610d99a4d#maya.imagesleuth.lan//ServerConnector# <?xml version="1.0" encoding="UTF-8"?>1connectyesSuccessnononono0nonoyesyes

And this is followed by:

HTTP/1.1 400 Bad request

Content-Type: text/xml

Content-Length: 35

Connection: Keep-Alive

HTTP/1.1 400 Bad request

What am I doing wrong?

I cannot make sense of this, can you please do a quick check; are you by chance somehow sending two requests?

I am new with this system. It appears that the recording server is currently not running. I’ve tried to restart the Windows Server 2016 machine and this fails to start the server.

If you cannot get the recording server running try to search the Knowledge Base for trouble shooting tips. Perhaps ask for help in the Support Community.. https://supportcommunity.milestonesys.com