Since yesterday’s issues with antigravity, missing models and other, I am not able to use anymore antigravity with its extension from visual studio community 2026. Using gemini flash, it stays constantly in “Working”. Edit: I tried also with Anthropic’s models and the outcome is the same.
Antigravity Extension Version is 1.0.261005.0, Visual Studio Community 2026 version is 18.10.4 .
Right now, the prompt was sent 1 hour ago.
Exactly same problem. have tried all standard process (clean cache, reinstall, etc. and still the same issue… in addition impossible to roolback to previous version !!)
I think I ran into something very similar recently. I’m not entirely certain about the exact root cause—it feels like WebView2 might just be choking on the streaming response—but I managed to get past it with a bit of a workaround.
It seemed like forcing it over to WebSockets helped, though for whatever reason, only chaining both commands together actually triggered the reload and got it unstuck for me. Might be worth a shot:
-
Open the Inspector: Right-click inside the Antigravity extension pane and hit Inspect.
-
Go to the Console tab.
-
Run this first:
JavaScript
window.location.replace(location.origin + "/?useWebSocket=true&extensionView=true&extensionVariant=visual-studio"); -
Then run this right after:
JavaScript
const u = new URL(window.location.href); u.searchParams.set("useWebSocket", "true"); window.location.replace(u.href);
At least on my machine, doing just one didn’t seem to properly refresh the pane, but running both back-to-back finally reloaded the UI and cleared the “Working” freeze. I’m not sure if it will stick permanently after a full restart, but it might get you unblocked for now.
UPDATE: After todays update of the extension, this workaround no longer seems to work. What works for now is to open the “Output” Window in Visual Studio, selecting the Output from “Google Antigravity” and opening the http://127.0.0.1:[…] link in a browser.
Hi, I’ve tried yesterday but as you said it didn’t work anymore.
Still today, a solution for this is not available.
Waiting.
[BUG & FIX] Visual Studio Extension (v1.0.261012.0) stuck indefinitely on “Working…” / Pending Requests
Summary
After the latest Visual Studio extension update, submitting any prompt leaves the chat indefinitely frozen on "Working...".
Inspecting the WebView2 panel via DevTools reveals that:
SendUserCascadeMessagesits inStatus: (pending)with? Caution: Provisional headers are shown.- Background calls like
GetCustomizationStateseventually time out after 15s. - The request is never actually transmitted over the wire to
agy.exe.
Root Cause Analysis
-
Chromium’s 6-Socket Limit (
kDefaultMaxSocketsPerGroup = 6):
Visual Studio hosts Edge WebView2 over cleartext HTTP (http://127.0.0.1``:<port>/). Because cleartext HTTP does not support HTTP/2 multiplexing in Chromium, all requests negotiate HTTP/1.1. Chromium enforces a hardcoded limit of 6 concurrent connections per origin. -
Socket Exhaustion by Background Streams:
When the chat panel loads, it opens 6 persistent, long-running streaming gRPC-web connections:StreamCascadeSummariesReactiveUpdatesJetboxSubscribeToStateStreamAgentStateUpdatesSubscribeToPluginsSubscribeToSidecarsSubscribeToMcpServerStates
These 6 streams consume 100% of the available HTTP/1.1 sockets for
127.0.0.1. -
The Regression in
Antigravity.VisualStudio.dll:
The web frontend bundle (main.js) supports multiplexing all streams and RPCs over a single WebSocket connection (ws://127.0.0.1:<port>/connect-websocket) whenuseWebSocket=trueis passed in the query parameters.In
Antigravity.VisualStudio.dll:SettingsToolWindowControlhas&useWebSocket=true?ArtifactToolWindowControlhas&useWebSocket=true?AntigravityToolWindowControl(the main chat tool window) omitted&useWebSocket=true?
Because
useWebSocket=trueis missing from the main tool window URL,main.jsdefaults to HTTP/1.1 streaming (XCc() === "off"). All subsequent HTTP requests (SendUserCascadeMessage) are blocked in Chromium’s internal socket queue waiting for a free socket that will never close.
Workaround 1: Quick In-Browser Fix (No File Edits)
-
Set the user environment variable
AGY_VS_DEVTOOLS=1(in PowerShell:[Environment]::SetEnvironmentVariable("AGY_VS_DEVTOOLS", "1", "User")). -
Restart Visual Studio and open the Antigravity chat window.
-
Click inside the chat window and press
F12to open Edge DevTools. -
Go to the Console tab, paste the following command, and hit Enter:
location.href += '&useWebSocket=true' -
The chat panel will reload in WebSocket mode (verified by
101 Switching Protocolson/connect-websocketin the Network tab). Prompts will now send and stream immediately.
Workaround 2: Permanent Fix (Patching the Extension DLL)
For a permanent fix before Google releases a patch, add &useWebSocket=true to the URL format strings in Antigravity.VisualStudio.dll:
-
Close Visual Studio (
devenv.exe). -
Locate the extension directory (e.g.
%LocalAppData%\Microsoft\VisualStudio\18.0_*\Extensions\*\Antigravity.VisualStudio.dll). -
Disassemble the DLL with
ildasm:ildasm Antigravity.VisualStudio.dll /out=Antigravity.VisualStudio.il -
In
Antigravity.VisualStudio.il, update the tool window URL format strings:- Change:
+ "riant=visual-studio&hostVersion={4}&hostTheme={5}"
to:
+ "riant=visual-studio&hostVersion={4}&hostTheme={5}&useWebSocket=true" - Change:
+ "nsionVersion={7}"
to:
+ "nsionVersion={7}&useWebSocket=true"
- Change:
-
Recompile with
ilasm:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ilasm.exe /dll /res=Antigravity.VisualStudio.res /out=Antigravity.VisualStudio.dll Antigravity.VisualStudio.il -
Reopen Visual Studio.
Suggested Fix for the Antigravity Extension Team
In AntigravityToolWindowControl.cs inside ConnectAndNavigateAsync and BuildTargetUrlWithWorkspace:
Append &useWebSocket=true to the default tool window target URL format strings, matching the implementation already used in SettingsToolWindowControl and ArtifactToolWindowControl.
Thank you very much; I spent over three hours searching for a solution before finally finding yours.
It worked perfectly for me, here are the steps I followed, cheers! :
Option 2: Permanent DLL Patch (Until the next official update)
Directly modify the extension’s initialization strings so you don’t have to open DevTools on every launch.
Close Visual Studio completely (devenv.exe).
Open Developer Command Prompt for VS as Administrator.
Locate the extension directory. It is usually in a subfolder under:
DOS
cd %LocalAppData%\Microsoft\VisualStudio
dir /s /b Antigravity.VisualStudio.dll
Go to the folder where that file is located: cd “<found_path>”.
Make a preventive backup:
DOS
copy Antigravity.VisualStudio.dll Antigravity.VisualStudio.dll.bak
Disassemble the library with ildasm:
DOS
ildasm Antigravity.VisualStudio.dll /out=Antigravity.VisualStudio.il
Verification: You should see Antigravity.VisualStudio.il and Antigravity.VisualStudio.res generated.
Open Antigravity.VisualStudio.il in a text editor (Notepad, VS Code, etc.) and search for the following strings to add &useWebSocket=true:
Search for:
Plaintext
riant=visual-studio&hostVersion={4}&hostTheme={5}
Change it to:
Plaintext
riant=visual-studio&hostVersion={4}&hostTheme={5}&useWebSocket=true
Search for:
Plaintext
nsionVersion={7}
Change it to:
Plaintext
nsionVersion={7}&useWebSocket=true
Save your changes and recompile the assembly with ilasm:
DOS
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ilasm.exe /dll /res=Antigravity.VisualStudio.res /out=Antigravity.VisualStudio.dll Antigravity.VisualStudio.il
Verification: The compiler should finish with Operation completed successfully.
Open Visual Studio and try sending a message from the Antigravity window.
