My company has built a Plugin for the Milestone VMS using the MIPS SDK. Our plugin runs on the SmartClient and accesses RTSP camera streams using the ONVIF Bridge. This ONVIF Bridge is from 2020 and the install allows us to specify using the Network Service login account rather than using a user domain login account, which is different from the newer ONVIF Bridge for Express & Professional+ installations currently available from the Milestone product download website.
We’re trying to upgrade our Plugin to use the Open Network Bridge (ONB) to replace the ONVIF Bridge but I’m having some trouble installing/configuring it properly.
We have installed the XProtect Professional+ version 2024 R2 of the Milestone VMS.
The problem occurs in the Configuration step for the ONB. I created a basic user with a role that can access cameras, and using the ONB Manager tray icon I added the user to the ONVIF client users. This all seemed to work fine.
I added the ONB to the Management Client which also appeared to work as explained in the documentation. However, when I click on the ONB Server node that I just added, the following dialog box pops up indicating an error has occurred:
The details of the error are:
I poked around a little more trying to see if I could find out what XML files might be causing trouble.
In ProgramData/Milestone/Milestone Open Network Bridge/Users there is a usersConfiguration.xml file that indicates an error in the XML format.
And if I edit it in Notepad I see:
Since the Dialog box title relates to Users (FillUserControl) I thought there was at least a remote possibility that this could be part of my problem.
Any ideas what could have gone wrong?
My user for the ONB that I defined as an ONB server user is a basic user, OnvifUser. This is the user I added to the ONVIF client users using the ONB Manager tray icon. This is different from the Domain user I used for the login account when installing ONB. I think this was all correct.
Thanks so much!!
Susan
Hi @Susan Marosek
- [C:\ProgramData\Milestone\Milestone](file:C:/ProgramData/Milestone/Milestone) Open Network Bridge\Users\usersConfiguration.xml shoud not contain readable xml. Content is encryptred.
- Users added via ONB Manager can be different than than the domain user for service account. That’s normal.
- User Control comes from WinForms. That’s just how the winforms control is named.
So I don’t think your ussue is with users. I suspect it’s with settings though. So, please attach _[C:\ProgramData\Milestone\Milestone](file:C:/ProgramData/Milestone/Milestone) Open Network Bridge\serverConfiguration.xm_l file here (there’s nothing confidential in it). Also - please provide the following info:
- Did you install Open Network Bridge on the same machine as your VMS?
- Is your Management Client on the same machine as your VMS?
- If answer to both questions above is no, please install Open Network Bridge Administrator on the Management Client machine.
- Please answer if Open Network Bridge is running and can be accessed by clients (e.g. ODM).
- Did you do an upgrade or a clean install?
Regards,
Nikolay
Hi Nikolay,
Thanks for your response!!
Answers to your above questions:
- ONB & Management Client are installed on same machine as VMS Server
- ONB is running
- I installed ODM and confirmed that the ONB is NOT accessible from it. I get the following error:
I’ve also attached the serverConfiguration.xml file you requested.
Your serverConfiguration.xml looks good.
Your error in ODM means that your user OnvifUser is misconfigured (or that you typed wrong password in ODM, which I doubt). Did you successfully add the user in VMS and then in ONB via tray controller?
Now, to go back to your original problem - error while loading the Management Client plugin: You may try the following:
- Open Management Client → Tools → Registered services
- Locate your ONB instance(s) and remove it/them.
- In Management Client → Open Network Bridge servers, right click your server and delete it.
- Uninstall your ONB (not the entire VMS) and install it again.
- Re-add it in Management client and hopefully the error won’t appear again.
Nikolay
That seems to have worked!
- The problem with the user was that I had reinstalled the ONB and I forgot to re-add the user. So that took care of the ODM issue. I was still getting the error in the Management Client.
- Deleting the ONB from registered services I think was the real issue. Once I deleted the ONB and then uninstalled and reinstalled it and then added it to the Open Network Bridge Server. It came up with a different server name (was MilestoneONVIF to milestoneserver) so my guess is that some of the settings for the ONVIF Bridge weren’t getting completely removed when I replaced it with the ONB.
The SmartClient Plugin that I wrote now seems to be able to access the Milestone VMS cameras.
Thanks again! I’ll do a little more testing but I think my issue is solved.
Susan