HTTP request soft trigger execution failing when executing from remote client

Answered

Comments

3 comments

  • Avatar
    Norman - Nx Support

    Hi Tuli Dem,

    Regarding:

    My first thought was that the reason for failure is because the remote client does not have access to the isolated camera network.

    That is my thought as well. I would run Wireshark in both situations, and check for the differences.
    Most likely, you have to send the soft trigger to an external IP address, and adjust some setting in the firewall.

    Also, you could route API Calls via Nx Cloud, although the rules will a bit different.

    1. Soft trigger >>> Do HTTP Request (the cloud API call)
    2. Generic Event (to receive the cloud API call) >>> Do HTTP request (to change the state of the camera).
    0
    Comment actions Permalink
  • Avatar
    Tuli Dem

    Hi Norman, Thanks for getting back to me and thanks for these recommendations. 

    I've tried the http request (same as I did yesterday) as well as the cloud api call that you recommended at a different site/system than the original site/system and there is does work successfully both internally and externally.

    Back at the original site/system - both, the http request as well as the cloud api call work when initiating them from the local client, but both fail when initiating them from the outside.

    These two lead me to believe that the issue is where something is being blocked. Both of the sites listed above are connected via the cloud. 

    Do you have a tool to test what might be blocked and/or what has to be allowed?

    Thanks!

    0
    Comment actions Permalink
  • Avatar
    Norman - Nx Support

    Hi Tuli Dem,

    I'm sorry, I have been missing your reply.

    Regarding:

    Do you have a tool to test what might be blocked and/or what has to be allowed?

    As said:

    I would run Wireshark in both situations, and check for the differences. 

    0
    Comment actions Permalink

Please sign in to leave a comment.