Cannot connect to Formant agent on different network
Issue details
- I am running the Formant agent in Docker, and I able to connect on one network, but not in another.
- I am on a corporate network which requires an SSL certificate. How do I add this to the Docker running the Formant agent?
Troubleshooting steps
- Open the Formant agent logs in Docker via the following command:
docker logs -f formant-agent
Authentication handshake failed
If you see the following error in the log:
"transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate signed by unknown authority"
This is likely because your client does not trust the Formant API's TLS certificate.
To rectify this, run the following command (note that you must provide the path to the certificate):
export LOCAL_CERTIFICATE_PATH=<YOUR CLIENT CERTIFICATE FILE>
bash <(wget -qO - https://app.formant.io/install-agent-docker.sh | sed '144a\ -v ${LOCAL_CERTIFICATE_PATH}:/etc/ssl/certs/ca-certificates.crt \\') <YOUR-PROVISIONING-TOKEN>
See also
If you notice an issue with this page or need help, please reach out to us! Use the 'Did this page help you?' buttons below, or get in contact with our Customer Success team via the Intercom messenger in the bottom-right corner of this page, or at [email protected].
Updated 4 months ago