If you receive an error like this one, then you'll need to configure your firewall to allow traffic to
$ launchable verify
unable to post to https://api.mercury.launchableinc.com/...
$ launchable record build
Exception in thread "main" java.net.UnknownHostException: api.mercury.launchableinc.com: No address associated with hostname
If you need to interact with the API via static IPs, first set the
LAUNCHABLE_BASE_URL environment variable to
The IP for this hostname will be either
22.214.171.124 which you can add to your firewall settings.
If your CI server sits behind a proxy, you can tell the CLI to use it by setting the
HTTPS_PROXY environment variables. For example:
If you get an error like this:
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate
It is an indication that your system is lacking the root CA certificates. See the documentation for Requests, which the CLI uses under the hood, for how it looks up certificates. Also check out Stack Overflow posts like this where people discusses various remedies.
If all else fails, use the
--skip-cert-verification option of the Launchable CLI to altogether bypass the SSL certificate check process. This means you are susceptible to MITM attacks, so use it with caution.