2.0.0 Bridge Registration Issue with 2025R1

We are seeing the following error when trying to register the 2.0.0 AI Bridge with XProtect 2025R1. The VMS instance is a clean install with 4 Stable FPS cameras configured (single camera per Stable FPS, H264 video). Device Pack 13.7a was installed plus Hotfix 202504230636.MS.25.1.15248.1537.

We are able to reproduce the issue by using the Docker Compose deployment. We do not see the failure against 2024R2 VMS instances.

aibridge-init-1             | 2025-04-24T16:17:54Z Applying registration using input from '/root/bin/config/register.graphql' failed (will retry in 5 seconds) : Post "http://aibridge-webservice:4000/api/bridge/graphql": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
aibridge-init-1             | 2025-04-24T16:17:59Z Applying registration using input from '/root/bin/config/register.graphql' ...
aibridge-connector-1        | 2025-04-24T16:17:59Z Connecting to endpoint XProtect Professional+ 2025 R1 Test (25.1b build: )
aibridge-connector-1        | 2025-04-24T16:17:59Z - synchronizing (0%): query graph ...
aibridge-connector-1        | 2025-04-24T16:17:59Z - synchronizing (0%): query vms ...
aibridge-connector-1        | 2025-04-24T16:17:59Z - synchronizing (25%): query graph done
aibridge-connector-1        | 2025-04-24T16:17:59Z - synchronizing (50%): query vms done
aibridge-connector-1        | 2025-04-24T16:17:59Z Connecting to endpoint XProtect Professional+ 2025 R1 Test (25.1b build: ) succeeded
aibridge-connector-1        | 2025/04/24 16:17:59 Error adding endpoint: 500 Internal Server Error : Invalid object name 'DevicePtzSettingData'. error code 208 class 16
aibridge-webservice-1       | Error: Error adding endpoint: 500 Internal Server Error : Invalid object name 'DevicePtzSettingData'. error code 208 class 16
aibridge-webservice-1       |     at Runner.eachMessage (/root/bin/app.js:185:32)
aibridge-webservice-1       |     at Runner.processEachMessage (/root/bin/node_modules/kafkajs/src/consumer/runner.js:231:20)
aibridge-webservice-1       |     at onBatch (/root/bin/node_modules/kafkajs/src/consumer/runner.js:447:20)
aibridge-webservice-1       |     at Runner.handleBatch (/root/bin/node_modules/kafkajs/src/consumer/runner.js:461:11)
aibridge-webservice-1       |     at handler (/root/bin/node_modules/kafkajs/src/consumer/runner.js:58:30)
aibridge-webservice-1       |     at /root/bin/node_modules/kafkajs/src/consumer/worker.js:29:15
aibridge-webservice-1       |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
aibridge-webservice-1       |   path: [ 'register' ],
aibridge-webservice-1       |   locations: [ { line: 1, column: 12 } ],
aibridge-init-1             | 2025-04-24T16:17:59Z Applying registration using input from '/root/bin/config/register.graphql' failed (will retry in 5 seconds) : Unexpected error.
aibridge-webservice-1       |   extensions: [Object: null prototype] {}
aibridge-webservice-1       | }

Additional info:

If no camera is attached to the recording server, the bridge initializes ok. If one or more cameras is attached to the recording server then we see the failure. StableFPS isn’t required to reproduce the issue, can reproduce with the Universal Driver (rtsp streams) or an Axis camera.

Also, failure does not depend on the updated Device Pack or Hotfix. Can be reproduced with just the 2025R1 installer.

Hi Chris,

Thanks for your patience. I have been trying to recreate the issue you are facing and the only way I managed to do it was by putting hands on the Surveillance VMS database in MSSQL and removing the ‘DevicePtzSettingData’ table. Thus, we can say it’s not an AI Bridge issue but an XProtect installation issue.

I’m not sure exactly how you reached this scenario, if you allow me I’d like to ask you some questions and logs to check on it:

  • Was the VMS installation an upgrade or a clean installation? What version did you upgrade from, if it was an upgrade? What OS are you using the VMS machine?
  • Can you please share the logs of the Management Server - located at [C:\ProgramData\Milestone\XProtect](file:C:/ProgramData/Milestone/XProtect) Management Server\Logs?
  • Can you please share the installation logs - located at [C:\ProgramData\Milestone\Installer](file:C:/ProgramData/Milestone/Installer)?

Thanks in advance!

Fer

System that experienced issues was running Win11 Pro w/ latest updates.

  1. 2024R2 was on the system previously and all Milestone components were uninstalled through add/remove programs.

  2. When 2025R1 was installed, use existing database with Overwrite existing data was selected.

We then uninstalled 2025R1 on the same system went back to 2024R2 and the issue went away. To test again we repeated the 2024R2 uninstall and reinstalled 2025R1 and saw the issue again. Will attempt to reproduce the failure on the Win11 Pro system and capture logs as requested.

We finally wrapped up some long running tests so I can try a fresh OS install and confirm it does not happen on one of our other test systems.

Was able to recreate the issue again uninstalling 2024R2 and installing 2025R1. Full debug package including database dump can be found here: https://storage.googleapis.com/milestone-debug/Diagnostics%20-%20MSC123456%20-%20WIN11-NUC13%20-%202025.04.30%2009.15.37.8306.zip

I’m going to do a fresh install on this system today and will report back on this thread.

On a clean Win11 image we were not able to reproduce the issue.

Thanks for your thorough explanation and for sharing the full debug package.

We will continue with the investigation and I will let you know my findings.

Regards,

Fer

Hello Chris,

This problem is related to the VMS installation and not AI Bridge.

We will continue the investigation from the VMS perspective.

Please, use the best setup that allows you to run AI Bridge without errors - from a fresh 2025R1 installation.

Thanks for your patience!

Regards,

Fer

Milestone Development have asked these clarifying questions…

When upgrading from 2024R2 and uninstalling the 2024R2 did you keep the media db and the device pack?

When installing 2025R1 did you keep the SQL Server Configuration database or create a new?

Milestone Development have also asked to see a backup of the config db, please upload it on the separate support case I have created.

Device pack was uninstalled and media data base was deleted. We also tried manually clearing out the media database after the failure was seen.

We have not been able to reproduce this issue on other machines and no longer have the machine in the failing state to provide additional logs. If there is not enough information to finish the investigations, please feel free close the case.