Issue: Copilot CLI AggregateError: Failed to list models
Describe the bug
I am unable to use the Copilot CLI behind a Zscaler corporate firewall. When running copilot, it fails immediately with Execution failed: AggregateError: Failed to list models.
Detailed investigation reveals a connect:errno=113 (No route to host) error when the CLI tries to reach api.business.githubcopilot.com. This appears to be caused by Zscaler interception creating a routing loop, as standard HTTPS traffic to github.com works fine.
Affected version
0.0.381
Steps to reproduce the behavior
Use an Ubuntu environment behind a Zscaler transparent proxy.
Run copilot.
Select any prompt or simply try to start the session.
Error occurs: ✗ Execution failed: AggregateError: Failed to list models.
Expected behavior
The CLI should be able to connect to the Copilot API, or provide clear configuration options to handle transparent proxy interception to avoid the routing loop.
Additional context
OS: Ubuntu (Hetzner Cloud)
Network: Zscaler Corporate Proxy
Troubleshooting attempted:
Lowered MTU to 1300 (no change).
Attempted setting NODE_EXTRA_CA_CERTS (no change, as connection fails before handshake).
curl and openssl to api.business.githubcopilot.com fail with No route to host.
Logs/Evidence: openssl s_client -connect api.business.githubcopilot.com:443 output:
40275749FB7F0000:error:80000071:system library:BIO_connect:No route to host:../crypto/bio/bio_sock2.c:125:calling connect() connect:errno=113
Traceroute shows a loop at Zscaler IP (132.147.112.106):
7 132.147.112.101 ... 8 132.147.112.106 ... 9 132.147.112.106 ... ... 30 132.147.112.101 ...
Thank you for raising this issue, @EAGColab! 🙇 At a glance, it seems like a combination of corporate firewalls and other errors are a problem here, which I want to dig into and unblock you.
Questions
- Could you share any logs from
copilot --log-level all --log-dir logsaround the connection and model calls?
I am not behind Zscaler, but I am getting the same "Execution failed: AggregateError: Failed to list models" - This is my first time installing and using GH copilot cli, not sure what is the failure (I did authenticate to GH successfully)
I do however Defender installed on my laptop. macOS version.
Here is the log output from copilot --log-level all --log-dir logs
2026-01-18T14:06:23.688Z [INFO] No update needed, current version is 0.0.384, fetched latest release is v0.0.384
2026-01-18T14:06:29.439Z [DEBUG] Detected mentions:
2026-01-18T14:06:29.565Z [DEBUG] Fetched Copilot URL for alisalih1 from https://api.github.com/graphql: 200 https://api.individual.githubcopilot.com
2026-01-18T14:06:29.566Z [DEBUG] Creating copilot-client for integration ID copilot-developer-cli with token authentication. User-agent: copilot/0.0.384 (darwin v24.11.1) term/Apple_Terminal
2026-01-18T14:06:29.686Z [DEBUG] Failed to fetch models from https://api.individual.githubcopilot.com: TypeError: fetch failed
2026-01-18T14:06:29.796Z [DEBUG] Failed to fetch models from https://api.enterprise.githubcopilot.com: TypeError: fetch failed
2026-01-18T14:06:29.913Z [DEBUG] Failed to fetch models from https://api.business.githubcopilot.com: TypeError: fetch failed
Same problem here. I have only once been able to get CLI to work in my corporate environment. Just one session, and I cannot explain why.
I'm getting the above errors too. We use a proxy and custom certs, etc., like many big orgs. I set some node.js env variables so it would honour the HTTP_PROXY settings, etc., but didn't work more than once.
To make matters more confusing/worse, CLI appears to use "gh" if available, and not if not, so people are having different experiences and success. Too much randomness.
HTTP comms should be bulletproof with as much logging (in the error case) and consist of some sanity checking as possible. E.g., can you connect to the internet? No? Then say that exact thing. Don't tell us something failed without telling us what did and why.
These obscure, hidden and vague errors are unhelpful and misleading.
Issue resolved.
Hi -- what was resolved? @EAGColab
It certainly is NOT fixed.
I even tried with re-signing in. NOT RESOLVED.
I was having the same issue this morning after upgrading to 0.0.395 then 0.0.396. I noticed I wasn't being logged in automatically with the new version so I attempted logging in a few times to no avail. The logs showed timeouts hitting api.individual.githubcopilot.com:443 even though pinging and tracert showed it was reachable. Not sure why but after running a tracert and logging in again it has come back. Im thinking the issue was DNS related or copilot thinking its still logged in when it has actually expired and should trigger another login.
Having exactly the same problem 0.0.400
Questions
- Could you share any logs from
copilot --log-level all --log-dir logsaround the connection and model calls?
@andyfeller I'm running into the same issue from home 🥴
Logs
2026-02-03T12:05:55.810Z [DEBUG] No auth info available, skipping custom agents load
2026-02-03T12:05:55.815Z [DEBUG] Workspace initialized: e39f6961-a57f-48ce-90b7-c257815c4c4b (checkpoints: 0)
2026-02-03T12:05:55.826Z [INFO] Starting Copilot CLI: 0.0.400
2026-02-03T12:05:55.826Z [INFO] Node.js version: v24.11.1
2026-02-03T12:05:56.049Z [INFO] Login status unknown
2026-02-03T12:05:56.052Z [DEBUG] No auth info available, skipping custom agents load
2026-02-03T12:05:56.052Z [INFO] Remote session access enabled
2026-02-03T12:05:56.061Z [INFO] Welcome GordonBeeming!
2026-02-03T12:05:56.072Z [DEBUG] No LSP servers to warm up (no custom servers or detected project types)
2026-02-03T12:05:56.073Z [INFO] Init suggestion check completed
2026-02-03T12:05:56.077Z [DEBUG] SnapshotManager: Git repository detected at /Users/gordonbeeming/Developer/github/gordonbeeming/probe
2026-02-03T12:05:56.450Z [DEBUG] Fetched Copilot URL for GordonBeeming from https://api.github.com/graphql: 200 https://api.individual.githubcopilot.com
2026-02-03T12:05:56.451Z [DEBUG] Creating copilot-client for integration ID copilot-developer-cli with token authentication. User-agent: copilot/0.0.400 (darwin v24.11.1) term/WarpTerminal
2026-02-03T12:05:56.457Z [ERROR] Starting remote MCP client for github-mcp-server with url: https://api.individual.githubcopilot.com/mcp/readonly
2026-02-03T12:05:56.457Z [ERROR] Creating MCP client for github-mcp-server...
2026-02-03T12:05:56.459Z [ERROR] Connecting MCP client for github-mcp-server...
2026-02-03T12:05:56.459Z [DEBUG] Creating copilot-client for integration ID copilot-developer-cli with token authentication. User-agent: copilot/0.0.400 (darwin v24.11.1) term/WarpTerminal
2026-02-03T12:05:56.676Z [INFO] No update needed, current version is 0.0.400, fetched latest release is v0.0.400
2026-02-03T12:05:56.878Z [DEBUG] Failed to fetch models from https://api.individual.githubcopilot.com: TypeError: fetch failed
2026-02-03T12:05:56.884Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:05:56.884Z [WARNING] Retrying request to GitHub API in 5 seconds. Attempt 1/5
2026-02-03T12:05:56.885Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:05:56.885Z [WARNING] Retrying request to GitHub API in 5 seconds. Attempt 1/5
2026-02-03T12:05:56.885Z [ERROR] MCP transport for github-mcp-server closed
2026-02-03T12:05:56.886Z [ERROR] Failed to start MCP client for remote server github-mcp-server: TypeError: fetch failed
2026-02-03T12:05:56.886Z [ERROR] GitHub MCP server configured after authentication
2026-02-03T12:05:56.888Z [DEBUG] Failed to fetch models from https://api.individual.githubcopilot.com: TypeError: fetch failed
2026-02-03T12:05:56.888Z [DEBUG] Creating copilot-client for integration ID copilot-developer-cli with token authentication. User-agent: copilot/0.0.400 (darwin v24.11.1) term/WarpTerminal
2026-02-03T12:05:56.894Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:05:56.894Z [WARNING] Retrying request to GitHub API in 5 seconds. Attempt 1/5
2026-02-03T12:05:57.298Z [DEBUG] Failed to fetch models from https://api.enterprise.githubcopilot.com: TypeError: fetch failed
2026-02-03T12:05:57.313Z [DEBUG] Failed to fetch models from https://api.enterprise.githubcopilot.com: TypeError: fetch failed
2026-02-03T12:05:57.317Z [DEBUG] Failed to fetch models from https://api.individual.githubcopilot.com: TypeError: fetch failed
2026-02-03T12:05:57.732Z [DEBUG] Failed to fetch models from https://api.business.githubcopilot.com: TypeError: fetch failed
2026-02-03T12:05:57.739Z [DEBUG] Failed to fetch models from https://api.enterprise.githubcopilot.com: TypeError: fetch failed
2026-02-03T12:05:57.746Z [DEBUG] Failed to fetch models from https://api.business.githubcopilot.com: TypeError: fetch failed
2026-02-03T12:05:57.746Z [DEBUG] Failed to initialize tools for validation: AggregateError: Failed to list models
2026-02-03T12:05:58.161Z [DEBUG] Failed to fetch models from https://api.business.githubcopilot.com: TypeError: fetch failed
2026-02-03T12:05:58.161Z [DEBUG] Failed to initialize tools for validation: AggregateError: Failed to list models
2026-02-03T12:06:02.298Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:06:02.298Z [WARNING] Retrying request to GitHub API in 10 seconds. Attempt 2/5
2026-02-03T12:06:02.300Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:06:02.300Z [WARNING] Retrying request to GitHub API in 10 seconds. Attempt 2/5
2026-02-03T12:06:02.322Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:06:02.322Z [WARNING] Retrying request to GitHub API in 10 seconds. Attempt 2/5
2026-02-03T12:06:12.714Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:06:12.714Z [WARNING] Retrying request to GitHub API in 20 seconds. Attempt 3/5
2026-02-03T12:06:12.742Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:06:12.742Z [WARNING] Retrying request to GitHub API in 20 seconds. Attempt 3/5
2026-02-03T12:06:12.749Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:06:12.749Z [WARNING] Retrying request to GitHub API in 20 seconds. Attempt 3/5
2026-02-03T12:06:33.187Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:06:33.187Z [WARNING] Retrying request to GitHub API in 40 seconds. Attempt 4/5
2026-02-03T12:06:33.191Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:06:33.191Z [WARNING] Retrying request to GitHub API in 40 seconds. Attempt 4/5
2026-02-03T12:06:33.194Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:06:33.194Z [WARNING] Retrying request to GitHub API in 40 seconds. Attempt 4/5
2026-02-03T12:07:13.612Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:07:13.612Z [WARNING] Retrying request to GitHub API in 80 seconds. Attempt 5/5
2026-02-03T12:07:13.615Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:07:13.615Z [WARNING] Retrying request to GitHub API in 80 seconds. Attempt 5/5
2026-02-03T12:07:13.618Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:07:13.618Z [WARNING] Retrying request to GitHub API in 80 seconds. Attempt 5/5
2026-02-03T12:08:34.093Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:08:34.094Z [ERROR] Unhandled Rejection: fetch failed
TypeError: fetch failed
at file:///Users/gordonbeeming/.copilot/pkg/darwin-arm64/0.0.400/index.js:150:6768
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async eY (file:///Users/gordonbeeming/.copilot/pkg/darwin-arm64/0.0.400/index.js:1498:613)
at async yRo (file:///Users/gordonbeeming/.copilot/pkg/darwin-arm64/0.0.400/index.js:2259:19160)
at async NHe (file:///Users/gordonbeeming/.copilot/pkg/darwin-arm64/0.0.400/index.js:2259:17949)
at async file:///Users/gordonbeeming/.copilot/pkg/darwin-arm64/0.0.400/index.js:2259:16110
2026-02-03T12:08:34.107Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:08:34.107Z [ERROR] Failed to load custom agents: TypeError: fetch failed
2026-02-03T12:08:34.108Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
2026-02-03T12:08:34.108Z [ERROR] Failed to load custom agents: TypeError: fetch failed
Cert info
cert https://api.individual.githubcopilot.com
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
f8:44:8f:41:b2:03:dc:7a:40:6f:bd:66:6d:cf:b9:f8
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=GB, ST=Greater Manchester, L=Salford, O=Sectigo Limited, CN=Sectigo RSA Domain Validation Secure Server CA
Validity
Not Before: Apr 8 00:00:00 2025 GMT
Not After : Apr 8 23:59:59 2026 GMT
Subject: CN=*.individual.githubcopilot.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (4096 bit)
Modulus:
00:bf:09:78:69:c4:f3:ba:a5:d8:ba:44:54:4c:5d:
de:c2:99:05:40:e6:23:13:14:08:16:63:f5:04:c4:
5d:73:19:c4:42:cc:b3:92:8e:9d:12:7e:b4:92:c3:
58:b8:77:7c:04:5d:2a:bc:04:12:d2:56:57:b5:3f:
53:15:93:1f:52:2d:4a:0c:a1:c3:94:9e:57:d0:a1:
e8:d6:ee:10:48:29:9b:0b:6f:83:f8:f5:eb:c2:1f:
da:9e:45:5f:27:65:58:f9:12:42:1d:67:57:85:70:
48:1b:3f:99:36:07:65:b8:bd:3e:09:9c:cc:0e:af:
f7:4b:30:8a:88:ac:c3:ee:ab:4d:4b:33:9a:09:db:
a8:cd:fb:5c:42:38:04:55:1c:87:63:f2:55:37:fd:
d6:c4:55:cc:90:c1:c3:03:5f:21:8b:1e:52:ac:14:
38:e7:a0:e3:6d:15:b9:7a:5c:82:e8:15:77:46:0a:
45:4c:28:4e:48:31:87:82:8e:20:a6:09:2a:4a:37:
f4:a4:0a:0f:d2:47:a0:8c:c8:28:3a:32:f5:db:b1:
fe:0e:ca:74:a6:17:c0:ef:46:40:fb:91:f9:2a:72:
85:f2:22:a7:4f:80:17:47:4c:83:9b:c1:b8:bd:fe:
7e:aa:c4:f1:8d:03:4f:94:e3:aa:4e:48:7f:d6:cb:
f4:21:92:c0:fa:d1:6f:5e:d6:34:78:f3:31:c6:a3:
cd:d2:ef:98:cc:00:ab:b2:29:1b:f0:66:8f:80:a5:
74:94:22:6f:c3:2d:e0:61:5a:fa:0d:bd:0a:fd:8f:
39:4b:9f:72:a2:4f:ae:12:78:ef:39:55:8a:8d:96:
8a:9f:f7:7f:1b:cc:4f:cc:e6:db:bb:39:04:c2:41:
74:f8:31:55:6d:4a:1e:23:5e:71:64:3c:b7:ed:bc:
ff:5b:a2:c5:dd:88:6d:3f:7a:42:95:7c:68:2e:41:
cf:44:d6:d3:10:06:e6:cb:86:12:12:05:d5:b9:3c:
b5:42:a5:c1:2b:f2:f2:36:04:04:e5:df:a5:51:7b:
38:ed:cc:3e:45:75:52:82:c2:3a:cc:5c:4e:aa:eb:
a5:3f:85:45:6d:0e:98:2b:d8:5d:0e:70:d8:90:6c:
01:6f:d5:c0:bc:8c:be:22:27:f1:2c:54:7f:51:5a:
6d:0d:b5:87:e3:3c:98:4a:ee:fb:95:de:69:1c:09:
27:3d:ce:f2:da:5e:c7:89:3a:8d:29:d5:d1:45:31:
d7:44:f5:c2:7c:aa:70:97:41:8d:0d:03:69:e7:7b:
d9:06:98:49:1e:ec:57:22:bf:fb:b4:a0:8f:ed:2a:
ec:1e:f4:46:0b:b2:22:ab:13:77:14:d8:05:a0:82:
ae:fa:3f
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Authority Key Identifier:
8D:8C:5E:C4:54:AD:8A:E1:77:E9:9B:F9:9B:05:E1:B8:01:8D:61:E1
X509v3 Subject Key Identifier:
7D:4C:19:2C:FD:0D:7D:DF:B1:A2:BF:33:82:B7:9C:49:6E:ED:8A:91
X509v3 Key Usage: critical
Digital Signature, Key Encipherment
X509v3 Basic Constraints: critical
CA:FALSE
X509v3 Extended Key Usage:
TLS Web Server Authentication, TLS Web Client Authentication
X509v3 Certificate Policies:
Policy: 1.3.6.1.4.1.6449.1.2.2.7
CPS: https://sectigo.com/CPS
Policy: 2.23.140.1.2.1
Authority Information Access:
CA Issuers - URI:http://crt.sectigo.com/SectigoRSADomainValidationSecureServerCA.crt
OCSP - URI:http://ocsp.sectigo.com
CT Precertificate SCTs:
Signed Certificate Timestamp:
Version : v1 (0x0)
Log ID : 96:97:64:BF:55:58:97:AD:F7:43:87:68:37:08:42:77:
E9:F0:3A:D5:F6:A4:F3:36:6E:46:A4:3F:0F:CA:A9:C6
Timestamp : Apr 8 00:02:13.905 2025 GMT
Extensions: none
Signature : ecdsa-with-SHA256
30:45:02:21:00:DA:20:42:3C:C9:B1:27:BD:DF:23:02:
99:88:E6:55:35:FA:A5:5C:FA:FF:0E:69:CA:8F:43:BE:
6C:B1:F5:44:1E:02:20:54:66:11:39:35:A8:69:F3:FB:
25:E4:7C:DD:A1:16:10:05:B5:5C:C4:66:ED:F1:8C:16:
01:4D:8A:99:EC:42:B7
Signed Certificate Timestamp:
Version : v1 (0x0)
Log ID : 19:86:D4:C7:28:AA:6F:FE:BA:03:6F:78:2A:4D:01:91:
AA:CE:2D:72:31:0F:AE:CE:5D:70:41:2D:25:4C:C7:D4
Timestamp : Apr 8 00:02:13.796 2025 GMT
Extensions: none
Signature : ecdsa-with-SHA256
30:45:02:21:00:85:19:7A:F0:A6:75:F6:64:64:8F:74:
BF:BA:59:A5:A8:42:4D:46:EE:68:AE:7F:BA:7F:41:31:
06:8A:92:C3:7B:02:20:7E:40:B9:90:0F:9F:F2:00:26:
1A:FB:37:C9:30:F5:55:C8:DB:E8:98:37:33:3F:10:6D:
64:7F:C6:93:D2:27:98
Signed Certificate Timestamp:
Version : v1 (0x0)
Log ID : 0E:57:94:BC:F3:AE:A9:3E:33:1B:2C:99:07:B3:F7:90:
DF:9B:C2:3D:71:32:25:DD:21:A9:25:AC:61:C5:4E:21
Timestamp : Apr 8 00:02:13.797 2025 GMT
Extensions: none
Signature : ecdsa-with-SHA256
30:45:02:21:00:A5:90:CF:5B:87:7B:63:92:FD:22:96:
A3:86:CB:E1:70:76:11:C0:64:3A:2F:86:52:6A:ED:5D:
AF:BD:17:75:82:02:20:24:9A:E5:33:C6:B3:C8:5A:DB:
76:FA:FF:83:37:9A:ED:AA:16:6D:DF:CE:49:92:CC:51:
14:48:07:7F:8C:66:B0
X509v3 Subject Alternative Name:
DNS:*.individual.githubcopilot.com, DNS:individual.githubcopilot.com
Signature Algorithm: sha256WithRSAEncryption
Signature Value:
79:a3:af:fb:1d:2a:9f:94:2c:83:f3:cc:7c:87:d1:5c:09:80:
18:8a:27:3c:82:6e:29:4d:7e:2e:72:fe:b3:3f:82:cf:f4:21:
ed:c5:60:8d:b3:b6:f5:4b:06:44:87:cd:d7:6f:78:6e:39:73:
c2:66:9c:16:b7:a2:44:9a:44:1d:11:e8:1c:36:91:44:4f:48:
d3:4c:97:ff:15:b0:88:45:8d:ee:23:0f:e6:49:1c:64:99:97:
ea:37:53:77:54:93:dc:18:f1:a2:aa:69:99:cf:6b:77:dc:30:
08:41:e6:2c:0c:ec:d4:54:86:70:d9:c1:cc:d6:98:cb:56:02:
32:52:e1:89:08:65:11:3f:27:ff:f3:a0:aa:8c:db:77:0f:76:
9b:b8:9e:8e:57:dc:b0:72:a4:b8:49:73:9b:71:6a:2c:5c:52:
9a:e8:1d:9d:43:c4:52:99:67:56:73:fe:06:80:88:fe:ab:86:
4f:38:1b:b5:12:cd:34:59:0a:8c:99:42:b2:7a:67:72:4c:4f:
57:06:68:40:9c:44:47:04:c6:80:06:6b:42:58:8c:ed:d1:5f:
d2:41:37:c7:05:73:de:84:51:b8:6f:c7:09:b2:c7:3b:8e:bc:
08:c2:30:c4:e5:1e:b7:54:0e:1a:f9:cc:1e:8e:a1:b4:73:2f:
ca:fc:eb:d9
DNS info
dns https://api.individual.githubcopilot.com
; <<>> DiG 9.20.18 <<>> api.individual.githubcopilot.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12567
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;api.individual.githubcopilot.com. IN A
;; ANSWER SECTION:
api.individual.githubcopilot.com. 77 IN A 140.82.114.22
;; Query time: 36 msec
;; SERVER: 0.250.250.200#53(0.250.250.200) (UDP)
;; WHEN: Tue Feb 03 12:21:44 UTC 2026
;; MSG SIZE rcvd: 109
@andyfeller I'm running into the same issue from home 🥴
Thanks for all of the helpful debug information up front, @GordonBeeming! ✨ Looking at the following events, I believe you're running into the same problem as #869 with conflicting system certificates for intermediate and root CAs:
2026-02-03T12:05:56.878Z [DEBUG] Failed to fetch models from https://api.individual.githubcopilot.com: TypeError: fetch failed
2026-02-03T12:05:56.894Z [ERROR] Error making GitHub API request: Error: unable to get issuer certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
For me Homebrew update broke Node TLS trust.
fixed it by:
export NODE_EXTRA_CA_CERTS="/opt/homebrew/etc/openssl@3/cert.pem" After that, Copilot CLI works again.
Reinstalling ca-certificates/openssl@3 also helps
export HTTPS_PROXY=http://127.0.0.1:7890 export HTTP_PROXY=http://127.0.0.1:7890
开代理