[0.1s FIX / WORKAROUND] Antigravity 2.29.0 stuck on "Working..." / 503 Capacity Errors (Exact byte-size patch for daily-cloudcode-pa bug)

Like everyone else here, my Antigravity 2.29.0 became completely unusable over the last 48 hours — endlessly hanging on “Working…” for 5 minutes at a time due to silent 503 No capacity available errors in the background.

After inspecting the running processes (Get-CimInstance Win32_Process) and scanning the installation directory, here is the exact root cause:

  1. Inside the main Electron bundle (resources\app.asar), version 2.29.0 accidentally contains a hardcoded internal staging endpoint (daily-cloudcode-pa.googleapis.com) instead of the production server (cloudcode-pa.googleapis.com).
  2. Because of this, Electron spawns language_server.exe with the CLI flag --cloud_code_endpoint pointing to that throttled daily- staging cluster.

Why this fix is 100% safe (Zero byte-offset corruption):

Inside app.asar, that hardcoded URL is preceded by 12 indentation spaces in the JS code.
This means we can replace daily-cloudcode-pa with cloudcode-pa and pad the missing 6 bytes (daily-) with 6 extra indentation spaces right before the opening quote!
The total byte length of app.asar remains 100% identical down to a single byte (4,797,365 bytes before and after), so ASAR headers and offsets stay completely intact.

To be doubly sure nothing bypasses it, the script below also puts a tiny 5 KB native C# CLI argument interceptor on language_server.exe that strips daily- from any startup flags on the fly.


:rocket: 1-Click PowerShell Fix (Takes 1 second):

  1. Close Antigravity.
  2. Open Windows PowerShell and paste the following block:
# 1. Kill any hanging Antigravity / language_server processes
Stop-Process -Name "Antigravity", "language_server", "language_server_orig" -Force -ErrorAction SilentlyContinue
Start-Sleep -Seconds 1

# 2. Patch app.asar (Exact byte-length replacement using 6 leading spaces)
$asarPath = "$env:LOCALAPPDATA\Programs\Antigravity\resources\app.asar"
$bakPath  = "$env:LOCALAPPDATA\Programs\Antigravity\resources\app.asar.bak"

if (-not (Test-Path $bakPath)) {
    Copy-Item -Path $asarPath -Destination $bakPath -Force
    Write-Host "[+] Backed up original app.asar to app.asar.bak" -ForegroundColor Green
}

$fileBytes = [System.IO.File]::ReadAllBytes($asarPath)
$text = [System.Text.Encoding]::GetEncoding("ISO-8859-1").GetString($fileBytes)

$oldHost = "daily-cloudcode-pa.googleapis.com"
$newHost = "cloudcode-pa.googleapis.com"

$oldStr = "      'https://" + $oldHost + "',"
$newStr = "            'https://" + $newHost + "',"

if ($text.Contains($oldStr)) {
    $text = $text.Replace($oldStr, $newStr)
    $outBytes = [System.Text.Encoding]::GetEncoding("ISO-8859-1").GetBytes($text)
    [System.IO.File]::WriteAllBytes($asarPath, $outBytes)
    Write-Host "[+] SUCCESS! Patched app.asar in 0.1s! Size before: $($fileBytes.Length), after: $($outBytes.Length)" -ForegroundColor Cyan
} else {
    Write-Host "[i] app.asar is already patched!" -ForegroundColor Yellow
}

# 3. Install lightweight CLI flag interceptor for language_server.exe
$binDir = "$env:LOCALAPPDATA\Programs\Antigravity\resources\bin"
$origExe = "$binDir\language_server_orig.exe"
$targetExe = "$binDir\language_server.exe"

if (-not (Test-Path $origExe)) {
    Move-Item -Path $targetExe -Destination $origExe -Force -ErrorAction Stop
    Write-Host "[+] Backed up original binary as language_server_orig.exe" -ForegroundColor Green
} else {
    Remove-Item -Path $targetExe -Force -ErrorAction SilentlyContinue
}

$csharpCode = @"
using System;
using System.Diagnostics;
using System.IO;

class Program {
    static int Main(string[] args) {
        string dir = AppDomain.CurrentDomain.BaseDirectory;
        string origPath = Path.Combine(dir, "language_server_orig.exe");

        for (int i = 0; i < args.Length; i++) {
            args[i] = args[i].Replace("daily-cloudcode-pa.googleapis.com", "cloudcode-pa.googleapis.com");
            if (args[i].Contains(" ")) args[i] = "\"" + args[i] + "\"";
        }

        ProcessStartInfo psi = new ProcessStartInfo();
        psi.FileName = origPath;
        psi.Arguments = string.Join(" ", args);
        psi.UseShellExecute = false;
        psi.RedirectStandardOutput = true;
        psi.RedirectStandardError = true;
        psi.RedirectStandardInput = true;
        psi.CreateNoWindow = true;

        Process p = new Process();
        p.StartInfo = psi;
        p.OutputDataReceived += (s, e) => { if (e.Data != null) Console.Out.WriteLine(e.Data); };
        p.ErrorDataReceived += (s, e) => { if (e.Data != null) Console.Error.WriteLine(e.Data); };

        p.Start();
        p.BeginOutputReadLine();
        p.BeginErrorReadLine();
        Console.CancelKeyPress += (s, e) => { try { p.Kill(); } catch {} };
        p.WaitForExit();
        return p.ExitCode;
    }
}
"@

Add-Type -TypeDefinition $csharpCode -OutputAssembly $targetExe -OutputType ConsoleApplication
Write-Host "[+] ALL DONE! Restart Antigravity — you are now routed to production cloudcode-pa!" -ForegroundColor Green

How to verify it worked:

After starting Antigravity, run this in PowerShell:

Get-CimInstance Win32_Process -Filter "name = 'language_server_orig.exe'" | Select-Object -ExpandProperty CommandLine

You will see --cloud_code_endpoint pointing cleanly to cloudcode-pa (no daily- anymore!).

How to revert back to 100% stock at any time:

Stop-Process -Name "Antigravity", "language_server", "language_server_orig" -Force -ErrorAction SilentlyContinue; Copy-Item "$env:LOCALAPPDATA\Programs\Antigravity\resources\app.asar.bak" "$env:LOCALAPPDATA\Programs\Antigravity\resources\app.asar" -Force; Move-Item "$env:LOCALAPPDATA\Programs\Antigravity\resources\bin\language_server_orig.exe" "$env:LOCALAPPDATA\Programs\Antigravity\resources\bin\language_server.exe" -Force

PS: I’m a solo indie dev building a grimdark 2.5D RPG in Godot 4 on a tiny shoestring budget. If this patch just saved your workday and sanity, check out my profile bio for my Buy Me a Coffee link — every coffee goes straight into fueling the game! :hot_beverage::crossed_swords:

I had Claude Sonnate do the work for me and it did this:

I patched app.asar. It takes effect only after you fully quit and restart Antigravity.

  • Backup: I saved the original as app.asar.bak in the same folder.
  • Change: I changed one string, in the language-server launch arguments. 'https://daily-cloudcode-pa.googleapis.com', became '``https://cloudcode-pa.googleapis.com``' ,. The spaces go after the closing quote, so the URL itself has no whitespace.
  • Integrity: The file size is unchanged at 4,797,365 bytes. I did not touch language_server.exe.

Next steps

  1. Quit Antigravity completely, including the tray icon, and end any leftover language_server.exe in Task Manager. I didn’t do this because it would have killed this session.

  2. Restart it and check the flag:

    (Get-CimInstance Win32_Process -Filter "Name='language_server.exe'").CommandLine
    

    --cloud_code_endpoint should show https://cloudcode-pa.googleapis.com.

  3. If the app fails to start or shows “model unavailable”, revert:

    Stop-Process -Name Antigravity,language_server -Force -EA SilentlyContinue
    Copy-Item "$env:LOCALAPPDATA\Programs\Antigravity\resources\app.asar.bak" "$env:LOCALAPPDATA\Programs\Antigravity\resources\app.asar" -Force
    

Updates will overwrite the patch. If the 503s continue after the endpoint changes, they are probably model capacity rather than the endpoint.

if you are unsure just give it these two blogs’ links 1 and 2 and tell it to fix it as I did

hi,My Antigravity IDE is also very slow. Are there any similar solutions?

i tried it. not working.

This is completly made up, and sending requests to different endpoints will almost 100% get flagged and get you banned.

The issue is simply that the service is overloaded. Modifying the application wont cause google to magically route you differently.

Stop encouraging others to get themselves banned

Do you have google pro, or better version? If yes you got some promo code like JIO 18 months? Coz probably google can flag your account as trial promo and put your connection to daily insted of normal.

Hi all ,

Thank you all for the discussion.

Please find the below details:

  1. Please revert any `app.asar` or `language_server.exe` binary patches: As @oli_hlmpn noted, we strongly advise against patching `app.asar` or wrapping `language_server.exe`. Modifying client binaries or overriding internal service endpoints can break client integrity checks, cause authentication failures, or trigger automated Terms of Service (`403 PERMISSION_DENIED`) enforcement flags ([Terms](Google Antigravity - Terms of Service)).

  2. Why `503 No capacity available` and 5-minute hangs happen**: The `daily-cloudcode-pa.googleapis.com` host is an official Antigravity backend endpoint, not a penalty route. The `“Working…”` hangs and `503` errors occur when a model’s real-time serving pool hits peak demand or when a thinking model takes longer than expected before emitting its first token.

  3. Official fixes & workarounds:

Update to Antigravity App `v2.31.0` ([Changelog](Changelog | Google Antigravity Docs)), which fixed an issue where requests failed when a thinking model took more than a minute to start responding.

During peak load on Gemini 4 Argon (High), lower thinking effort to `Low`/`Medium` or switch to Gemini 3.8 Flash or Claude 5.5 ([Models](Choose a model | Google Antigravity Docs)).