Hello team,
There is a 3rd-party developer and they developed their software using MIPSDK’s TcpVideoViewer.
It browses systeminfo.xml through Management server.
It was working fine for 2 years more.
But suddenly this month, it fails to browse the camera’s info by systeminfo.xml
So we tested using http://ipaddress/rcserver/systeminfo.xml
and it browses all the information propely.
But TcpVideoViewer fails.
Is there any log that I can collect, so that we could find the cause.
There are more that 4000 cameras in Single XPCO system.
And still increasing the number.
I guess it is over 5000 now.
Maybe it could be the reason but I want to make sure and troubleshoot the issue.
If you need any further information, let me know.
Best regards,
Lee
You have done the right troubleshooting asking yourself the question whether you in a browser on the same PC using the same user credentials can do the systeminfo.xml
If you can you will have to go to the next level which is to look into the source code implementation. Do you know whether the unmodified TcpVideoViewer sample fails?
If the application is based on the sample but a bit different further analysis requires that you have the source code or can get the developer involved directly.
One idea. Might it be that the application uses a hard coded set of user credentials and this user’s rights on the system as a whole was changed?
Note: This is a Developer Forum and the purpose is to help developer develop, troubleshoot or debug. It might, if you are not a developer, be better to consult the Support Community: https://supportcommunity.milestonesys.com
Hello Bo Andersen.
I sent your last reply to the 3rd-party developer and he gave me reply such as below.
Also he said, same test has been done in his own environment, but didn’t have any issue such like this.
He guesses the number of cameras cause the issue.
The site has 4204 cameras right now and it has kept on increasing since Dec 2018 and will increase more.
On the other hand, his own environment has only 9 cameras.
* Symptoms
- Fails to load systeminfo.xml after connected to Management Server.
* Smaple source path(TcpVideoViewer.exe)
- [C:\Program](file:C:/Program) Files\Milestone\MIPSDK\ProtocolSamples\TcpVideoViewer
* Description
-
Call funcion “GetFile(string url)” from “Systeminfo.cs” of sample source.
-
Create object “HttpWebRequest”
req = (HttpWebRequest)WebRequest.Create(url);
- Option setting
req.PreAuthenticate = true;
req.Method = “GET”;
req.Accept = “text/xml”;
req.AllowWriteStreamBuffering = true;
req.Timeout = 20000;
- Request
response = (HttpWebResponse)req.GetResponse();
-
After processing to step 4), the sample program ends without any response.
-
Exception such as request failure, does not occur either.
If you need any further information, let me know.
Best regards,
Lee
Can you reproduce the issue if you use the unmodified TcpVideoViewer sample in your site?
What is the user you are using? Are you entering a user and a password or is it hardcoded?
Hello Bo Anderson.
The TcpVideoViewer sample has been modified as shown below for login.
private void Connect_Button_Click (object sender, RoutedEventArgs e) Function
* Before
int rc = _sysInfo.Connect (_serverName.Text, “”, “”, SystemInfo.AuthenticationType.WindowsDefault);
* After
string [] info;
info = _serverName.Text.Split (‘/’);
int rc = _sysInfo.Connect (info [0], info [1], info [2], SystemInfo.AuthenticationType.Windows);
Execute the program and press the “connect” button to forcibly terminate the program.
Please double-check that the same user can login in Smart Client (in same PC).
Does it fail for every user?
If you try [DomainName]/[UserName] or [ServerName]/[UserName] or just [UserName] when entering the user do they all fail in the same way?
This solution has already been in use for two years. In the past, there was no problem loading the camera list.
There are no changes in the system, only the number of cameras has increased.
User input is using [DomainName] / [UserName].
So when you test with just [UserName] what do you observe?
I am testing using the TcpVideoViewer sample.
I can not understand your question correctly.
Please give me a more detailed explanation.
I asked - If you try [DomainName]/[UserName] or [ServerName]/[UserName] or just [UserName] when entering the user do they all fail in the same way? Please test and tell me what you observe.
I’m sorry for late reply.
The issue was resolved after replacing the Milestone server.
Thank you.