Overview
This article addresses a failure where the Agent Proxy cannot communicate with the Agent Controller because the installation command specifies an unencrypted HTTP port (5000) while the Controller is configured for Managed TLS.
Relates To
Deployment Type: Linux VM
Component:
aembit-agent-proxyinstallation scriptVariable:
AEMBIT_MANAGED_TLS_HOSTNAME
Cause
The failure occurs when the Agent Controller is installed with AEMBIT_MANAGED_TLS_HOSTNAME enabled, but the subsequent Agent Proxy installation attempts to connect via the standard HTTP port.
Incorrect Configuration Example:
sudo AEMBIT_AGENT_CONTROLLER=http://<controller_endpoint>:5000 ... ./install- Error
Couldn't notify Agent Proxy, received HTTP 000 (1/10).
Solution
The Agent Proxy must use Port 5443 to leverage the TLS encryption required by the Controller. Validate that the endpoint specified in your install command uses the TLS-encrypted port.
Corrected Installation Command:
sudo AEMBIT_AGENT_CONTROLLER=https://<controller_endpoint>:5443 AEMBIT_LOG_LEVEL=debug ./install
Note: Ensure the protocol is updated to https:// to align with the TLS port (5443).