Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Generic Events not appearing in Nx Witness 4.1.0.31398

Answered

Comments

5 comments

  • Derek Mangasarian
    • Network Optix team

    Hi Benjamin,

    Thank you for your feedback on Nx Witness.

    Can you define the use case more specifically?

    There is some server hosted by you, that is sending HTTP Generic Events to the Nx Media Server?

    Is the server completely visible to the media server via IP/port access?

    Can we get exact URLs for what is sent to the Nx Media Server, the working and non-working ones?

     

    Reference for Generic Event and REST API:

    https://support.networkoptix.com/hc/en-us/articles/227195368-User-Event-HTTP-Generic-Event

    https://support.networkoptix.com/hc/en-us/articles/219573367-Nx-Server-HTTP-REST-API

    0
  • Permanently deleted user

    Thanks Derek. We're sending alerts using Generic Events once our video analytics detects various events in the video feed. See an example below for the detection of a truck:

    http://admin:password@server.host.com:7001/api/createEvent?timestamp=2020-10-29T17:11:08Z&caption=truck&metadata={"cameraRefs":["e17cfd27-f94d-8289-fadd-c6b99fc8c923"]}

    This works with all servers we have access to except the one problematic customer server. The one difference is that the customer system uses the "host.com" reference rather than a naked IP, which the other servers use. Could this be an issue? We have no issues connecting to or pulling video from the "host.com:7001" server using the API or Client, and we get the same success messages from both when we send Generic Events. Could this be the problem Any other settings we should look into? We have identified no other differences between the servers.

    0
  • Norman
    • Network Optix team

    Hi @...

    I would check if the server.host.com URL is forwarded to the server IP address over port 7001 or not. 
    If that is confirmed, I would try to capture the connection  with Wireshark from the server side and preferable also from the side of the application that sends the generic event.

    This should reveal where it goes wrong. 

    0
  • Permanently deleted user

    Hi Norman,

    While everything looks like it's correctly forwarded, switching to using an IP instead of the domain fixed this. Is this a known issue in Nx, or is it something to do with our client's specific setup?

    Ben

    0
  • Derek Mangasarian
    • Network Optix team

    Hi Benjamin,

    Domain or IP should both work for API requests. I would check the domain and/or the DNS / routing on the customer's specific setup.

    0

Please sign in to leave a comment.