No recordings with GetSequences SOAP

Hello support,

We are using the GetSequences SOAP request to get recordings using both the RecordingSequence id and the MotionSequence id. It is working across all of our systems, except for a specific account where we are intermittently getting an exception and we are unsure why. The search is for 1 hour from the current time and when we verify the recordings in the web ui recordings do exist within the hour.

We are wondering if the recordings aren’t saved yet to request via the API and this is potentially causing an issue. Do you know could be causing this error? Additionally, do you know what error GetSequences will return in the scenario where recordings aren’t accessible via the SOAP request, but exist in the system?

Thank you,
Elan

I will assume the code is implemented correctly, given that it has proven to work in other systems, and focus on ideas on why the recording server does not reply with the correct sequence data.

Getting sequences too close to now might make it more difficult. I would test if it makes a difference moving back 1, 2, 5 minutes compared to “now”.

I understand that you use the Web Client to see the footage that was recorded. The Web Client has a time line bar that is red when there is recording. If that bar is empty I would guess that there is the same issue happening. Please share how the the time-line bar looks in a client.

Thinking back to old cases I have an idea that if there is recording without pauses, in effect the sequence is from recording start to now without interruption, then it was sometimes not picking up that one large sequence. Do you have pauses in the recording for the camera? (For the hour of footage you are inquiring about?)

I have an idea that repairs in the recording database can lead to sequences missing. If you look at the logs do you find indication of repairs?

Hi Bo,
Yes here is the image of the recordings timeline on the web. It seems as there are no pauses or repairs in the recordings.
Thank you

Hello Bo,

Were you able to find any potential issues with the GetSequences request?

Thank you,
Elan

Hello,
I have reported this issue to Milestone Development. We will get back to you when we get updates from them.

Best Regards, Rie

Hi Elan,

For further investigation, Milestone Development ask you about following questions, please see below.


What is the exception they get during the SOAP call?

Also, could it be that the entire asked time period has one constant recording, e.g. is just part of one sequence?

What happens if you ask for a larger time period in the failing setup?

Also, when it comes with the exception - does any recording server log file have a log entry about the exception?

Best Regards, Rie

Hi Rie,

There is no SOAP call exception. There are just no recordings in the response, but we know recordings exists based on the web client.

Yes, this camera has constant recording in addition to motion recordings, but when we request recordings with the continuous id, the response still comes back empty.

When we have larger time periods or further back time periods, so everything works as expected.

Thank you,

Elan

Hi Rie,
Were you able to find any solutions to our issue above?
Thank you,
Elan

We do have feedback yet from Milestone Development.

We have some extra questions:

  1. The description has “except for a specific account where we are intermittently getting an exception“ - what exception are you getting?

  2. When you write “account” is that for a specific user, or all users in a role (Assuming the ‘account’ does not mean customer?)

  3. The 1 hour time request, you write “1 hour from the current time“ - does this mean 1 hour from now, or 1 hour from an hour ago?

  4. Is it correct that you use the SOAP service directly or use some of the MIPSDK classes to do so?

  5. Could there be a token-renewal issue, where client is using an old token? This would write an “Invalid Token” line in the Recording Server log.

Hello,

  1. There is no SOAP call exception that we can observe. The response is just empty with no recordings even though we observe on the web client that recordings exist. This is for one single deployment that has one management server and one recorder on the same Virtual Machine. We have many other, unrelated deployments where the issue in question is not observed.
  2. The account is a specific user in a customer’s account.
  3. 1 hour in the past. So if the current time is 9am, we will try to get recordings from 8am-9am
  4. Due to the architecture of our code base, we use the SOAP service directly as the MIPSDK classes aren’t an option.
  5. No, this is not the type of error we are getting as later requests are working and we don’t see any invalid token logs.
    Thank you