Configuring Proxy
Some enterprise networks are configured with a Proxy Server when accessing the Internet. The SDA Connectivity Service complies with this scenario, but an extra configuration step is needed.
Pre-requisite: proxy is configured in the OS
If the host operating system is already configured with a proxy and the SDA Gateway installation succeeded, jump straight to Configure proxy in the Connectivity Client.
This requisite can be tested by looking up the environment variables that contain the address of the proxy server. In a terminal session, try echoing these variables:
If any of them exists, proxy is already configured. If not, follow this guideline to configure it globally.
Mind that a proxy address has one of the formats:
Configure proxy in the Connectivity Client
The connectivity client needs to be extra configured for proxies, as this is going to imply on the way that the application starts and connects to our IoT Broker.
Once the client is installed, the sda-gateway
CLI can be used to configure proxy:
As an example:
For unsetting proxy, run:
After changing any proxy configuration, the application services needs to be restarted:
If the application is not restarted after configuring proxy, changes may not be effective.
Last updated