Resolve network issues related to connectivity, proxies, DNS, certificates, and VPC.
This page helps troubleshoot network connection issues with Qoder CLI. For network configuration, see Network, Proxy, and VPC.
Configure the proxy using standard environment variables:
Connection Timeouts or Failures
- Verify that your local machine can access the external network, and resolve and connect to the service domains.
- If you are on a corporate network or in a restricted environment, you typically need to configure a proxy (see below).
- For temporary network fluctuations, try again later;
general.retryFetchErrors(enabled by default) automatically retries certain fetch errors.
Proxy Configuration
Configure the proxy using standard environment variables:
HTTPS_PROXY/HTTP_PROXY: Used for HTTPS / HTTP requests, respectively.NO_PROXY: A comma-separated list of hosts that bypass the proxy.- Both uppercase and lowercase are supported (both
HTTPS_PROXYandhttps_proxyare recognized). - Restart Qoder CLI after modifying environment variables for the changes to take effect.
DNS Resolution Issues
- If domain resolution is abnormal, you can adjust the DNS resolution order via the
advanced.dnsResolutionOrderconfiguration item. - A restart is required for changes to take effect.
Certificate Issues
- Corporate proxies often perform TLS Interception, requiring the Enterprise root certificate to be added to the System Trust Store.
-
When encountering errors such as
unable to verify the first certificate, use an environment variable to specify additional trusted certificates:You can also useSSL_CERT_FILEto specify the certificate file path. For details, see the certificate configuration section in Network, Proxy, and VPC. - Ensure the system time is correct—time skew will cause Certificate validation to fail.
VPC / Private Deployment
- For the CN edition Private Deployment, you can specify the instance name via the
vpcInstanceNameconfiguration item, and public domains will be mapped to the corresponding per-instance private hosts. - A restart is required for changes to take effect.
- Verify network reachability to the Private Gateway.
Next Steps
- Network configuration guide: Network, Proxy, and VPC.
- Sign-in network issues: Sign-in and Authentication Issues.