Login through MIP SDK throws ServerNotFoundMIPException intermittently

We are experiencing this issue when trying to login through the MIP SDK. We know that the machine we are trying to login from can ping the server and we can also establish an RDP Session to the server from the same machine and verify that all of the milestone servers are online.

Any help or advice on why this might be happening or how we might be able to understand why would be appreciated.

The Milestone VMS is hosted on a virtual machine. We also have an instance of the Mobile Server running on the virtual Machine.

We are running XProtect Corporate 2019 R3.

We are using the 2019 R2 and R3 versions of the MIP SDK

Hi. Can you please try with IP address instead of hostname when you login?

Hi Rie,

Thanks for the reply.

I have written a small application to compare logging on using IP Address and hostname. I will let you know the results in due course.

Hi Rie,

The results are in! I have been running two instances of my application overnight. In essence the application attempts to login after a random time period of 5 to 60 seconds and then logs out after another random period, again somewhere between 5 and 60 seconds. One instance logs in using the host name and the other using the IP Address.

IP Address - Attempts 841, Successful 816, Server Not Found Exceptions 25.

Host Name - Attempts 831, Successful 811, Server Not Found Exceptions 20

Are these results expected or should every attempt to login be successful given a valid uri and credentials?

Can you please provide wireshark log when you fail? We are suspecting that it might happen network issue.