Appearance
Troubleshooting
FreshCommon issues and fixes for Gemini Code Assist.
Sign-In Issues
Sign-in keeps timing out
Add to VS Code settings.json:
json
{
"cloudcode.beta.forceOobLogin": true
}Extension shows "Not logged in"
- Click spark icon > Sign out
- Restart IDE completely
- Click spark icon > Login to Google again
Connectivity Issues
Errors in Gemini Code Assist output window
Allow these domains through your firewall:
oauth2.googleapis.comcloudaicompanion.googleapis.com
Also allow HTTP/2 traffic (required for gRPC communication).
Test connectivity:
bash
grpc-health-probe -addr cloudaicompanion.googleapis.com:443 -tlsSuccess output (expected):
error: this server does not implement the grpc health protocol (grpc.health.v1.Health)Failure output (connectivity problem):
timeout: failed to connect service "cloudaicompanion.googleapis.com:443" within 1sFor more detail, run before the probe:
bash
export GRPC_GO_LOG_SEVERITY_LEVEL=infoVim Plugin Issues
Can't accept completions in normal mode
Press i to enter insert mode first, then Tab to accept.
Esc dismisses both IDE and suggestions
Known issue in Vim mode — expected behavior difference from non-Vim. No workaround currently.
Chat Issues
Response gets cut off (large file)
- Select only the specific code section you want help with
- Add to your prompt:
"only output the selected code"
Citation warnings don't persist across sessions
View persistent logs: View > Output > Gemini Code Assist - Citations
Code Suggestions
No suggestions appearing
- Check status bar — spark icon should show "Active"
- Verify your file's language is supported
- Check if completions are disabled: Settings > Gemini Code Assist > Inline Suggestions
Too many cited code suggestions
Block cited suggestions entirely:
VS Code: Settings > Gemini Code Assist > Recitation: Max Cited Length > set to 0
IntelliJ: spark status bar > Configure Gemini > Advanced > Block selections that match external cited sources > OK
Agent Mode Issues
Daily quota exhausted
Add an API key to bypass quota limits:
json
{
"geminicodeassist.geminiApiKey": "YOUR_GEMINI_OR_VERTEX_API_KEY"
}Accepts either a Gemini API key or a Vertex AI API key.
MCP server not connecting
- Type
/mcpin agent chat — check if server appears - Verify installation:
npx @modelcontextprotocol/server-github --help - Reload window after editing
settings.json - Check required environment variables are set in your server config
- For remote servers, verify the URL is accessible and auth headers are correct