API Read Timeouts




  • Avatar
    Anton Babinov

    Hi Reynard,

    could you please provide more info on your environment? 

    do you have hive servers located locally or all of them are speared in different networks? Do you send your API request to specific server with the camera or just random server? Does the issue occur for bookmarks located on all servers or only bookmarks from specific server can't be accessed?

    First of all, I'd recommend to run test where you'd be requesting bookmarks directly from the server that has them stored. This way it will be possible to exclude hive networking and locate the server with an issue.

    Can you tell which VMS build are you using?

    Comment actions Permalink
  • Avatar
    Reynard Bubb

    Hi Anton,

    Our servers are located in our datacenter rack. We joined a few failover servers that is on a separate network - the 2 locations are linked via layer 2 E-Tree.

    I'm sending the API request to a single server with multiple camera IDs spread across the servers in the hive. 

    We are running V5.0.0.34971 - we recently upgraded. Before the upgrade I could see that if a VMS started to re-index and do a storage scan, the bookmarks for that VMS would be pulled when the storage scan is completed. After the upgrade it seems like the API times out (what I'm guessing). Because I'm pulling multiple cameras bookmarks, I cant pinpoint why the API times out at times. Sometimes it happens without a VMS doing a storage scan.

    I will try to pull the camera information from the VMS it is loaded on and see how the API performs.


    Comment actions Permalink
  • Avatar
    Andrey Terentyev

    Hello Reynard Bubb,

    Thank you for explanation.

    Could you give more details on your system, please?

    Number of servers, number of cameras on each server, server performance screenshots while you're requesting bookmarks, particular API request you're executing.

    After the upgrade it seems like the API times out

    Have you managed to assess the duration in which it "times out"?

    Could you please join to the hive a server with no cameras connected and try to send requests to it? Does the issue persist?

    the bookmarks for that VMS would be pulled when the storage scan is completed

    The storage rescans is not a standard situation. During the stable functioning of the Server, they don't happen. They are started manually or started automatically when .nxdb file is detected to be broken.
    I'd suggest resolving this issue first.

    Comment actions Permalink

Please sign in to leave a comment.