When GitHub Copilot abruptly goes silent in Visual Studio Code, your first impulse might be to restart the editor, reinstall the extension, or start tweaking arbitrary settings. At 365Finds, we advise against that shotgun approach. Most developers waste thirty minutes rebooting their environment when over 80% of completion dropouts trace back to just two culprits: a silently desynchronized OAuth session, or a corporate proxy intercepting SSL traffic.
Here is the systematic diagnostic path we rely on to pinpoint why GitHub Copilot refuses to generate ghost-text completions and restore your inline suggestions immediately.
1. The Five-Second Status Bar Triage
Before diving into config files, look at the GitHub Copilot icon located in the bottom status bar on the right side of VS Code. Its visual state provides immediate diagnostic telemetry:
- Icon with a diagonal slash: Completions are actively disabled. This happens globally, for the specific programming language of the active file, or because of repository content exclusions. Click the icon directly and select Enable Completions.
- Spinning or animating icon: The extension is hanging while attempting to establish a connection or refresh its authentication token.
- Icon with an exclamation mark or warning badge: Authentication has expired, or the associated GitHub account lacks an active GitHub Copilot seat.
- Missing icon entirely: VS Code has either failed to activate the extension, or your workspace is running in Restricted Mode (Workspace Trust). If Workspace Trust is enabled and the directory is untrusted, VS Code restricts third-party extension execution by default.
Hover over the slashed icon. If your organization enforces Content Exclusion under a Copilot Business or Enterprise subscription, a tooltip will confirm that suggestions are blocked for that repository or path.
2. Inspect the Raw Output Logs
Do not guess what failed. Inspect the actual runtime stream.
Open the Command Palette (Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on macOS), run Output: Focus on Output View, and select GitHub Copilot from the channel dropdown in the Output panel. (Check GitHub Copilot Chat as well if installed.)
The output log reveals the exact HTTP response or system error:
- HTTP 401 (Unauthorized): Your stored GitHub token is revoked, stale, or out of sync.
- HTTP 403 (Forbidden): Your GitHub user does not have an active subscription, or an organizational policy has revoked access to your account.
- HTTP 407 (Proxy Authentication Required): The outbound request is caught by an authenticating corporate proxy.
self-signed certificate in certificate chainorUNABLE_TO_VERIFY_LEAF_SIGNATURE: An enterprise network inspection tool is intercepting HTTPS traffic.ETIMEDOUT/ENOTFOUND: A network firewall or DNS issue is preventing VS Code from reaching GitHub API endpoints.
3. Clear Stale Sessions and Force Re-Authentication
Corrupted local credential caches account for a massive share of ghost text failures. Even when the bottom-left account profile appears connected, GitHub Copilot's underlying token may be invalidated.
To completely reset the authorization pipeline:
- Click the Accounts icon (the gear or profile avatar at the bottom-left of VS Code).
- Select your GitHub account and click Sign Out.
- Open the Command Palette and run
Developer: Reload Window. - After reload, click the bottom status bar icon for GitHub Copilot or open a supported code file, and follow the prompt to Sign in with GitHub.
- Complete the browser OAuth handshake and authorize Visual Studio Code.
4. Audit Inline Suggestion Settings and Language Handlers
If authentication succeeds but ghost text still fails to render as you type, VS Code's core inline completion pipeline may be disabled.
Check your settings.json (open via Preferences: Open User Settings (JSON)):
{
"editor.inlineSuggest.enabled": true,
"github.copilot.enable": {
"*": true,
"plaintext": false,
"markdown": false,
"scminput": false
}
}
Ensure editor.inlineSuggest.enabled is explicitly true. If set to false, VS Code suppresses inline ghost text across every installed extension.
Examine the github.copilot.enable object. By default, GitHub Copilot disables itself in certain file types like Markdown or plaintext. If your file extension is misidentified or mapped to an unsupported language ID, suggestions will not trigger.
Next, test manual invocation. Place your cursor on an empty line in a supported file (such as .ts or .py) and press Alt + \ (Windows/Linux) or Option + \ (macOS). If manual invocation displays ghost text, your issue is an input trigger conflict or keybinding collision. Other extensions—specifically snippets, Emmet, or alternative AI autocompleters like Tabnine—often intercept the Tab key or cancel inline suggestion listeners. Run Help: Start Extension Bisect to isolate extension collisions.
5. Resolve Corporate Proxies, Firewalls, and SSL Certificates
In enterprise networks, Copilot often breaks because security gateways perform deep packet inspection on HTTPS traffic. The Copilot extension runs on Node.js inside VS Code, and Node maintains its own trusted CA store independent of the operating system root certificate store.
When you see SSL certificate errors in the Output logs:
- Configure proxy settings: Ensure your
http.proxysetting in VS Code reflects your corporate proxy endpoint, or verify that the system environment variablesHTTP_PROXYandHTTPS_PROXYare set correctly. - Inject custom CA bundles: Point the extension to your corporate root certificate by setting the environment variable:
NODE_EXTRA_CA_CERTS="/path/to/enterprise-ca-bundle.pem" - Allowlist endpoints: Ensure the corporate firewall allows outbound HTTPS traffic on port 443 to
api.githubcopilot.com,copilot-proxy.githubusercontent.com, anddefault.exp-tas.com.
At 365Finds, we strongly caution against setting "http.proxyStrictSSL": false. While flipping strict SSL off is widely posted on forums as an instant remedy, doing so turns off certificate validation globally for all VS Code network traffic, leaving your development machine vulnerable to man-in-the-middle attacks. Treat strict SSL disabling strictly as an ephemeral 60-second diagnostic test, not a permanent fix.
6. Large Files and File Size Guardrails
GitHub Copilot imposes internal size and token thresholds to prevent editor freezing. If your file exceeds several megabytes, contains extensive minified lines, or consists of massive static data structures, the client daemon silently skips completion dispatch. Verify completions in a clean, small test file (test.py or test.js) before attempting further configuration surgery.