CreateEvent API call not working using Nx-cloud relay (502 error)
CompletedHello,
I'm trying to use the createEvent API call, via the Nx-cloud relay.
The URL I'm using is:
`https://{System_ID}.relay.vmsproxy.com/api/createEvent?source={our_source}&caption={our_caption}&description={our_description}×tamp={timestamp}&metadata={metadata}&state=Inactive`
When the NX server is in the same LAN with us, it works good, but when not, it returns a 502 bad gateway response.
Why this is happening? In what cases the Nx Cloud returns 502 error code in the Generic Event API?
Thanks!
When the NX server is in the same LAN with us, it works good, but when not, it returns a 502 bad gateway response.
Why this is happening? In what cases the Nx Cloud returns 502 error code in the Generic Event API?
Thanks!
0
-
Hi Shani,
it is likely there is an issue with establishing connection between mediaserver and relay service. To troubleshoot this issue please increase server log level to VERBOSE and restart mediaserver.
Here is an article explaining how to increase log level - https://support.networkoptix.com/hc/en-us/articles/236033688-How-to-change-software-logging-level-and-how-to-get-logs
maxLogFileSize=524288000
logLevel=VERBOSEPlease set server configuration values as in example above and look for "vmsproxy.com" string in logs.
0
Please sign in to leave a comment.
Comments
1 comment