[BUG][macOS 27.0][Antigravity 2.19.1] Desktop, IDE and CLI fail with loadCodeAssist EOF after successful authentication

Hello Antigravity team,

I am reporting an intermittent but persistent issue affecting Antigravity Desktop, Antigravity IDE, and Antigravity CLI on macOS 27.0 (Apple Silicon).

I already submitted an in-app Bug Report with Antigravity server logs on October 5, but the issue is still reproducible.

Antigravity IDE had worked normally on this Mac for more than one month. These problems only started approximately within the last week.

Current Antigravity language server version:
2.19.1

Symptoms:

  1. Sometimes Antigravity signs in successfully and works normally for a period of time.

  2. During normal use, it may suddenly start showing:

    “Model Unavailable”

    followed by repeated retry countdowns.

  3. After quitting and reopening Antigravity, Google OAuth can still complete successfully in Chrome, but Antigravity may then fail during account initialization with:

    “There was an unexpected issue setting up your account.”

  4. The same general issue affects both Antigravity Desktop and Antigravity IDE.

  5. I have now also tested Antigravity CLI 1.3.1. The CLI recognizes the Google account, but its eligibility check fails with:

    Post “https://daily-cloudcode-pa.googleapis.com/v1internal:loadCodeAssist”: EOF

This is the same endpoint/error observed in Antigravity Desktop and Antigravity IDE.

Relevant sanitized errors observed in the Antigravity language server include:

Auth succeeded, refreshing features and managers

followed by:

Post “https://daily-cloudcode-pa.googleapis.com/v1internal:loadCodeAssist”: EOF

Other related errors observed include:

Get “https://www.googleapis.com/oauth2/v3/tokeninfo?…”: EOF

Post “https://play.googleapis.com/log”: EOF

The important point is that authentication itself succeeds, but subsequent account initialization / Code Assist / model availability requests fail.

The same failure is now reproducible across:

  • Antigravity Desktop
  • Antigravity IDE
  • Antigravity CLI 1.3.1

Other AI applications on the same Mac, including the Gemini client, Codex, and Claude client, continue to work normally.

I also checked for the known Electron BigInt serialization issue:

TypeError: Do not know how to serialize a BigInt

but this error does NOT appear in my Antigravity logs, so this seems to be a different issue.

The problem is intermittent. Antigravity may work normally for some time, then begin showing Model Unavailable / Retry, and after restarting it may fail account initialization again.

Because Antigravity worked normally on this Mac for more than one month and this problem only started recently, could you please investigate whether there is a recent regression affecting Antigravity backend / Code Assist connectivity on macOS?

In particular, could you please confirm:

  1. Whether this is a known issue in Antigravity 2.19.1.
  2. Whether the repeated loadCodeAssist EOF error is currently being investigated.
  3. Whether there is an official workaround or upcoming fix.
  4. Whether the fact that Desktop, IDE, and CLI all fail at the same endpoint helps identify the backend issue.

Thank you.

Hi @maxianxian,

The EOF errors happen on several different endpoints (loadCodeAssist, oauth2/v3/tokeninfo, and play.googleapis.com/log), not only one. That usually means the connection is being closed somewhere between your Mac and Google, rather than a single backend service failing. Desktop, IDE and CLI fail together because they all rely on the same background connections, while browser sign-in still works because Chrome uses its own connection path.

Please try the following steps:

  1. Update to the latest version. Your logs show 2.19.1. Please update Antigravity 2.0 to latest version from the Download page and update the Antigravity CLI to the latest version.
  2. Reset your local session and sign in again.
    • Quit Antigravity Desktop and IDE completely.
    • Back up, then remove, ~/Library/Application Support/Antigravity to clear the cached session state.
    • In the CLI, run agy /logout, restart agy, and sign in again.
  3. Test the connection from Terminal. This only checks connectivity:
    curl -sv https://daily-cloudcode-pa.googleapis.com -o /dev/null
    If it shows an EOF, a connection reset or a TLS handshake error, something on your Mac or network is interrupting the connection.
  4. Test the Post-Quantum TLS fallback. Some enterprise firewalls drop connections from Antigravity background processes because they do not recognize the new post-quantum cryptography packets used by recent versions of Go. Try launching the CLI with this disabled:
    GODEBUG=tlsmlkem=0 agy
    If this successfully connects, your network’s firewall or Deep Packet Inspection (DPI) is dropping the connection.
  5. Check VPN, proxy and security software. Make sure no VPN, proxy, firewall or security tool is dropping connections from background processes (language_server and agy) to *.googleapis.com. If your network requires a proxy to reach Google services, make sure it applies system-wide (for example, TUN mode) or set HTTPS_PROXY / HTTP_PROXY, so background processes use the same path as your browser.
  6. Try a different network. For example, use a mobile hotspot with any VPN or proxy turned off, to confirm whether the issue is network-related.

If the issue continues after these steps, please reply with:

  • The curl output from step 3 (please explicitly redact any PII, API keys,or tokens)
  • Your country/region, and whether you use a VPN or proxy
  • Whether the issue also occurs on a different network (like a mobile hotspot)
  • Did running with GODEBUG=tlsmlkem=0 change the behavior?
  • If this occurs specifically when opening certain projects, please provide a minimal sample code repository to help reproduce the issue.
  • Your diagnostic log or a screenshot of the error

(post deleted by author)

Hi @chunduriv,

Thank you so much for the detailed explanation and the structured troubleshooting steps!

The issue has been completely resolved. Your initial diagnosis was spot-on: the connection was indeed being severed between my Mac and Google rather than by a backend service failure. It turned out that a local network security/firewall rule on my macOS environment was inadvertently dropping the background TLS handshakes to *.googleapis.com (specifically for loadCodeAssist and play.googleapis.com/log), which led to the EOF errors.

Following your recommendations:

  1. I adjusted my local network firewall and routing rules to ensure all outbound connections to *.googleapis.com pass through cleanly without inspection or interruption.
  2. Updated Antigravity to the latest release.
  3. Cleared the cached session directories under ~/Library/Application Support/Antigravity to start fresh.

After making these adjustments, the terminal connectivity tests succeeded (TLS handshakes now complete normally), and authentication as well as the background services are functioning properly.

No further diagnostic logs or assistance are needed. Really appreciate your help and the clear technical breakdown!