504 Gateway Timeout on API calls to Nx Cloud
In ProgressWe are having issues with API calls to Nx Cloud, but it seems to only affect specific IP addresses.
We have an application that continuously requests camera thumbnails with the following request: GET https://<systemId>.relay.vmsproxy.com/ec2/cameraThumbnail?cameraId=<cameraId>&auth=<authToken>
It worked fine for a few weeks, but yesterday some of the devices stopped displaying the thumbnails. I say the issue is IP-related, because it’s not device specific: same devices would work on one wi-fi/4G network and would fail on others, and no devices work on those few problematic networks. Feels like some specific IP addresses have been blacklisted on your server.
No API requests come through from these IP-addresses, even if they don’t require authentication like: https://<systemId>.relay.vmsproxy.com/api/getNonce
Nx Cloud web client (https://nxvms.com/systems/<systemId>) uses the same API, so this has stopped working as well.
/view - just continuously loading and never display any camera feeds
/health - the entire page just displays 500 - Internal Server Error
The specific error is 504 Gateway Timeout, but I doubt that it’s helpful.
Any help is appreciated.
Andre
-
Hi Andres,
when you send request to relay.vmsproxy.com, system redirects it to one of the relays. When you're having the issue, please check which relay is used for the connection. You can do so either by checking how relay.vmsproxy.com is resolved by DNS server or checking response of 307 redirect reply.
Try to force using different relay server by replacing relay.vmsproxy.com with relay-{name}.vmsproxy.com this will help us to check if there are some specific relay nodes which failed to connect to your system.
Please sign in to leave a comment.
Comments
2 comments