[Bug]: Antigravity keeps retrying after Google login fails with HTTP 429#15987

opened21d agobyMmarkusyeo

What happened

Antigravity stopped responding in T3 Code. I tried signing in again and continuing the work in other threads, but it still would not work.

The logs show two account checks failing with HTTP 429. Google said the Gemini Enterprise account had exceeded its limit of 100 management requests per minute, per user and project.

After the first quota error, each prompt I submitted led to five failed attempts to open an Antigravity session within about seven seconds. This happened in three threads. I eventually gave up.

Antigravity desktop also asked me to sign in again. I do not know whether T3's recovery attempts caused that sign-out.

Please investigate whether T3's recovery sends too many account-check requests, and whether it can recover automatically without losing the user's login.

What I did

  1. Used Antigravity with a Gemini Enterprise account.
  2. The agent stopped with an EOF error. Sending another message failed to reconnect it.
  3. Tried signing in again several times.
  4. Tried continuing the work in other threads. Those attempts also failed.

This happened on 5 October 2026. I have not reproduced it on demand.

What the traces show

All times below are UTC on 5 October. Singapore time is eight hours ahead. Trace timestamps mark when a call started, not when it finished.

TimeWhat happened
07:41:29The original model request failed with model unreachable ... streamGenerateContent ... EOF.
07:41:41The next prompt failed with Failed to rebuild agent: received 1000 (OK); then sent 1000 (OK).
07:42:14, 07:42:21, 07:43:19, 07:45:44T3 started four sign-in flows. Starting a flow does not mean login succeeded.
07:42:17 and 07:43:42Two account-check calls failed with the Google licensing quota error below.
07:42:47 to 07:46:25Three submitted prompts each led to five failed attempts to open an Antigravity session.
08:12:39T3 still showed Antigravity as signed out.

The Google error

Both failed account checks were RpcClient.authenticate calls. Their errors identify the Gemini Enterprise license check, not just a generic connection failure.

text
1Gemini Enterprise license resolution failed (HTTP 429)
2BAIC request failed (HTTP 429)
3Quota exceeded for quota metric 'Management Requests'
4and limit 'Management Requests per minute per user'
5of service 'businessaicode.googleapis.com'.

Relevant fields from Google's response:

json
1{
2 "code": 429,
3 "status": "RESOURCE_EXHAUSTED",
4 "reason": "RATE_LIMIT_EXCEEDED",
5 "quota_metric": "businessaicode.googleapis.com/management_requests",
6 "quota_limit_value": "100",
7 "quota_limit": "ManagementRequestsPerMinutePerProjectPerUser",
8 "quota_unit": "1/min/{project}/{user}"
9}

The two errors are in server.trace.ndjson.7, lines 7602 and 16094. Project identifiers, tokens, and authorization URLs are omitted here.

The repeated attempts

For each single prompt below, T3 recorded five failed AcpAdapterV2.openSession calls. That is the operation that opens an Antigravity session. These were not five separate prompts from me.

ThreadFirst attemptLast attemptFailed attempts
A07:42:47.71507:42:55.1385 within 7.4 seconds
B07:43:40.78007:43:47.7725 within 7.0 seconds
C07:46:18.05507:46:25.5105 within 7.5 seconds
Every session-opening attempt, with its trace location

Each line below is a failed session-opening call. Thread names are anonymized.

text
1Thread A
207:42:47.715
307:42:49.745
407:42:51.299
507:42:53.007
607:42:55.138
7
8Thread B
907:43:40.780
1007:43:42.429
1107:43:43.944
1207:43:45.645
1307:43:47.772
14
15Thread C
1607:46:18.055
1707:46:20.178
1807:46:21.700
1907:46:23.401
2007:46:25.510
  • Thread A: server.trace.ndjson.7:11317, server.trace.ndjson.7:11562, server.trace.ndjson.7:11844, server.trace.ndjson.7:12275, server.trace.ndjson.7:12558.
  • Thread B: server.trace.ndjson.7:16099, server.trace.ndjson.7:16444, server.trace.ndjson.7:18541, server.trace.ndjson.7:18850, server.trace.ndjson.7:19216.
  • Thread C: server.trace.ndjson.6:9978, server.trace.ndjson.6:10345, server.trace.ndjson.6:10587, server.trace.ndjson.6:11089, server.trace.ndjson.6:11339.

Across the inspected 07:38 to 07:51 window, the traces also show 14 interrupted RpcClient.authenticate calls and 14 errors from antigravityAuthSupport.handleStderr. Those errors say AcpTransportError: ACP transport operation failed.

The installed stderr handler can produce that error when Antigravity asks for browser sign-in but the current operation cannot handle it. This may explain why retries kept failing after the account needed attention. Not every later attempt has a recorded 429.

What needs investigation

I do not know which app exhausted Google's quota. These traces do not prove T3 caused it, or that every session retry made another management request to Google. They also do not prove the quota error caused the original disconnect.

The questions are whether T3 recognizes the licensing 429, whether its retries send more account-check requests, and why it keeps opening sessions when sign-in is required.

Expected behavior

  • Retry automatically after a temporary quota error, with increasing delays between attempts. Use Google's retry delay when one is supplied.
  • Avoid a burst of account-check requests. Coordinate retries across threads using the same account to avoid duplicate login or license checks.
  • Keep the user signed in while recovering. A temporary 429 should not discard valid credentials or trigger a sign-out. Refresh credentials automatically when possible. Only ask for login again when existing credentials cannot be refreshed or are genuinely missing.
  • Show the quota error and explain when T3 will try again. The user should not need to keep signing in or creating threads to recover.

Environment

  • T3 Code Nightly 0.0.46-nightly.20261005.2667
  • Managed Antigravity ACP agy_acp_server_1.1.1
  • macOS 27.0, Apple Silicon
  • Gemini Enterprise login, oauth-business, location us
  • Model gemini-3.8-flash-high

Related issues

#11670 describes the same initial EOF and failed reconnect errors. This report adds the Google login quota error and the repeated startup attempts afterward.

#14619 describes an agent stuck thinking and a failed Stop operation. It might share a recovery problem, but it does not report this quota error.