Recording Server stopped sending data after approx 30 minutes

Hi, I am reading raw stream data from VMS (version 2022 R2) using Protocol Integration, SOAP and Python. After getting the credential from Management Server, I will connect to the Recording Server to receive data. I noticed that Recording Server stopped sending stream data after approximately 30 minutes. The TimeToLive I received from Management Server is 14400000000 microseconds or 4 hours.

So how can I fix this problem. Because I have to reconnect to the Recording Server, some frames are lost during this duration. Any help appreciated

Please, as a first step, test whether there is a general issue with your XProtect VMS. If you use the Smart Client, does it have the same issue? If you run the TCPVideoViewer sample unmodified, does it have the same issue?

In the sample the token refresh is automatic, did you implement the same mechanism?

As you point out the token should be good for 4 hours so it might not be the right direction but please let us start with testing if the Smart Client / the sample has the same issue, testing in the same PC with the same user.

https://doc.developer.milestonesys.com/html/index.html?base=samples/protocolsamples/tcpvideoviewer/readme.html&tree=tree_3.html

Hi. I just checked the Management Client Server Log and there were communication errors between VMS and all the cameras approximately every 30 minutes, at the same time when my application stopped receiving data. So maybe there are issues with networking, cameras or VMS, not Integration Protocol.

Thank you for your response.