Antigravity stuck on loading screen - local HTTPS server TLS renegotiation loop

Environment:

  • OS: Windows 11
  • Antigravity version: 2.29.0

Issue:
App launches but stays stuck on the logo loading screen indefinitely
(waited 5+ minutes). Browser window only loads a static data:text/html
shell (1.1kB) and never navigates to the actual local app URL.

Diagnosis steps taken:

  1. main.log shows the language server initializes successfully
    (“initialized server successfully in 3.97s”) and is listening on
    https://127.0.0.1:confused:
  2. Manually opening that URL in Chrome: connection hangs indefinitely
    (spinning), no error in DevTools Console
  3. TCP connection to the port succeeds (Test-NetConnection:
    TcpTestSucceeded = True)
  4. TLS handshake via PowerShell SslStream succeeds
  5. curl -v -k to the URL shows the request is sent, but then hangs on:
    “schannel: remote party requests renegotiation”
    “schannel: renegotiating SSL/TLS connection”
    …and never completes.

This suggests the local server is entering a TLS renegotiation loop
after the initial handshake, which never resolves, leaving the
Electron shell’s webview waiting forever.

Already tried (no effect):

  • Clean reinstall (admin mode)
  • Clearing %APPDATA%\Antigravity, Local Storage, Session Storage
  • Clearing %APPDATA%.gemini\antigravity*
  • Disabling McAfee (AV + advanced firewall)
  • Disabling Windows Smart App Control
  • netsh winsock reset / netsh int ip reset
  • --disable-gpu, --incognito launch flags

Hi @juex7718,

Welcome to the Forum,

Thank you for the detailed report.

To help isolate the local TLS handshake loop on Windows 11, please check the following:

  1. Check Proxy Environment Variables: In PowerShell, run Get-ChildItem Env:*PROXY*. If HTTP_PROXY or HTTPS_PROXY is set in your environment, ensure NO_PROXY includes localhost,127.0.0.1 so local loopback connections bypass the proxy (Changelog).
  2. Check SSL_CERT_FILE / SSL_CERT_DIR Overrides: Run Get-ChildItem Env:SSL_CERT*. In Go applications like Antigravity, these variables override the native Windows certificate store. If either is set, remove it or set GODEBUG=x509sslcertoverrideplatform=0 and relaunch Antigravity (also verify %USERPROFILE%\.gemini\antigravity was cleared, rather than %APPDATA%\.gemini).
  3. Share Diagnostic Logs: If the loading loop persists, please reply here with the startup failure lines from %USERPROFILE%\.gemini\antigravity\cli.log (or %USERPROFILE%\.gemini\antigravity\log\cli-<timestamp>.log) and %APPDATA%\Antigravity\logs\language_server.log so we can help you further.