Below are a number of requirements/prerequsites that must be met to install and use the Monocle Gateway service. Please read the prerequsites carefully to avoid erros and further troubleshooting as you try to install and configure the Monocle Gateway service.
The Monocle Gateway runs in the background as a system service and thus should run 24x7 to be available anytime to handle Alexa requests. If your computer goes to sleep or is suspended, then the Monocle Gateway will not be available during those periods.
The Monocle Gateway must listen on TCP port 443. Unfortunately this is a strict requirement/limitation by Amazon where certain Alexa devices will not connect to streaming endpoints on alternate ports.
The Monocle Gateway must be able to communicate out to the Internet. The Monocle Gateway communicates to the Monocle API servers securely via HTTPS connections on TCP port 443. No inbound access is required; thus no Internet gateway firewall exceptions or NAT rules need to be defined for any inbound acesss.
The Monocle Gateway must be able to listen and accept connections on port 443 locally on your network. (Not from the Internet). If a local firewall is installed and running on the system where you have installed the Monocle Gateway service, please make sure that TCP port 443 is ALLOWED for Monocle Gateway.
Note: In some cases, a reserved block/pool of UDP ports may also need to be exposed. (TODO: THIS UDP BLOCK NEED TO BE DEFINED.)
The Monocle Gateway can be installed on any of the following systems:
To use a camera configured via the Monocle Web Portal with the Monocle Gateway, you must first TAG the camera with a special tag to let the system know how to route your camera requests. Please see topic Tagging Cameras for Monocle Gateway for more details.
Some advanced network routers/Internet gatways implement a protection scheme that block DNS Rebinding. Basically any public DNS record that resolves to a private IP address gets blocked if DNS Rebinding is enabled. Monocle Gateway creates a public DNS record for your Monocle Gateway instance and resolves it to the private IP address of the system you are running on. If your network router/Internet gatway is blocking these DNS records, you will need to create a DNS exception for the DNS hostname used with your Monocle Gateway instance. Please see topic DNS Rebinding for more details.