Skip to content

[Bug]: Antigravity account check on macOS hides the Google OAuth token-exchange timeout #43276

Backlog

Description

@hstkwow

Before submitting

  • I searched for existing reports and found no exact duplicate.
  • I included reproduction steps and a redacted log excerpt.

Area

apps/desktop (Antigravity provider sign-in)

Steps to reproduce

  1. Use a Mac where direct HTTPS to oauth2.googleapis.com:443 times out, but an HTTP proxy running on the same Mac can reach it. Configure the proxy in the terminal shell and start T3 Code normally.
  2. Open Settings → Providers → Antigravity and initiate personal Google sign-in for an unsigned-in instance.
  3. Complete the browser authorization and return to T3 Code. Watch Account while the provider exchanges the authorization code.

Expected behavior

If the provider cannot reach Google's OAuth token endpoint, the account panel should identify the failed token exchange and explain that the local T3 process needs a working route to the endpoint, including a proxy configured for that process when required.

Actual behavior

On the failing attempt the account panel showed “Checking your account…” while the token request timed out. The Antigravity login log identified the failed network request, but the panel did not show its cause during that attempt.

A separate unauthenticated HEAD request to the same endpoint timed out directly and got an HTTP response through the local proxy. After relaunching T3 Code with HTTP proxy variables present in its environment, Google OAuth authentication completed successfully. The first process's proxy environment was not captured, so this report does not assert that T3 drops proxy variables that it receives.

Impact

Minor bug or occasional failure. The account could be connected using the workaround below.

Version or commit

T3 Code Desktop 0.1.12 (Beta).

Environment

macOS 26.2 (arm64), local T3 environment, Antigravity runtime 1.5.17, personal Google sign-in.

Logs or stack traces

consumerOAuth: token exchange failed due to network error (check firewall/network restrictions): Post "https://oauth2.googleapis.com/token": dial tcp <Google IPv4 address>:443: i/o timeout

Workaround

Fully quit T3 Code and relaunch it with HTTPS_PROXY (and HTTP_PROXY) pointing at the local proxy, keeping loopback addresses in NO_PROXY. Start a new sign-in attempt. I verified that the relaunched process had the proxy variables and that the subsequent authentication succeeded.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions