Resolve network issues related to connectivity, proxies, DNS, certificates, and VPC
This page helps you resolve network connectivity issues with Qoder CLI CN. For network configuration, see Network, Proxy, and VPC.
Configure a proxy via the standard environment variables:
Connection timeouts or failures
- Confirm the machine can reach the external network and can resolve and connect to the service domains.
- On corporate networks or in restricted environments, a proxy is usually required (see below).
- For transient network hiccups, retry later;
general.retryFetchErrors(on by default) automatically retries certain fetch errors.
Proxy configuration
Configure a proxy via the 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 cases are recognized (
HTTPS_PROXYandhttps_proxyboth work). - Restart Qoder CLI CN after changing environment variables for them to take effect.
proxy option in the host instead. Integrated qoderclicn does not use inherited proxy environment variables for its own outbound requests and connects directly when proxy is omitted. The inherited variables are still available to Agent tools and child processes.
DNS resolution issues
- If domain resolution misbehaves, adjust the resolution order with the
advanced.dnsResolutionOrdersetting. - A restart is required after changing it.
Certificate issues
- Corporate proxies often perform TLS interception; add the corporate root certificate to the system trust store.
-
For errors like
unable to verify the first certificate, specify additional trusted certificates via an environment variable:You can also useSSL_CERT_FILEto specify a certificate file path. See the certificate configuration section in Network, Proxy, and VPC. - Confirm the system time is correct — clock skew causes certificate validation failures.
VPC / private deployment
- For CN private deployments, specify the instance name via the
vpcInstanceNamesetting; public domains are mapped to the corresponding per-instance private hosts. - A restart is required after changing it.
- Confirm network reachability to the private gateway.
Next steps
- Network configuration guide: Network, Proxy, and VPC.
- Sign-in network issues: Sign-in and Authentication Issues.