Antigravity stuck in a zombie state, "Antigravity server crashed unexpectedly. Please restart to fully restore AI features."

Running Antigravity in WSL2 using the Remote-WSL extension, which works fine, as this problem arises even on local Windows. Everything in the IDE is working for the most part, with wsl2 set to nat, instead of mirrored, which is the default. The problem is that the agent sidebar is stuck permanently loading, eventually giving a “Antigravity server crashed unexpectedly. Please restart to fully restore AI features.” error.

On top of this,

my profile picture is loaded, but I am told I am not signed in.

If I use “Log in to IDE” from command pallette:

Here are the Antigravity server logs:
2026-01-16 23:29:35.191 [info] 2026/01/16 23:29:35 maxprocs: Leaving GOMAXPROCS=20: CPU quota undefined

2026-01-16 23:29:35.241 [info] I0116 23:29:35.241734 22784 server.go:1172] Starting language server process with pid 22784

2026-01-16 23:29:35.241 [info] I0116 23:29:35.241764 22784 server.go:286] Setting GOMAXPROCS to 4

2026-01-16 23:29:35.244 [info] I0116 23:29:35.244083 22784 server.go:493] Language server will attempt to listen on host 127.0.0.1

2026-01-16 23:29:35.247 [info] I0116 23:29:35.246321 22784 server.go:508] Language server listening on random port at 40139 for HTTPS

2026-01-16 23:29:35.247 [info] I0116 23:29:35.246348 22784 server.go:515] Language server listening on random port at 46511 for HTTP

2026-01-16 23:29:35.426 [info] I0116 23:29:35.426553 22784 server.go:486] Created extension server client at port 41563

2026-01-16 23:29:35.801 [info] W0116 23:29:35.800824 22784 client.go:136] failed to set auth token

2026-01-16 23:29:35.801 [info] W0116 23:29:35.801405 22784 log_context.go:106] Cache(userInfo): Singleflight refresh failed: You are not logged into Antigravity.

2026-01-16 23:30:32.694 [info] (Antigravity) 2026-01-16 23:30:32.693 [ERROR]: Failed to start language server: Error: Timed out waiting for language server start

2026-01-16 23:30:32.695 [info] (Antigravity) 2026-01-16 23:30:32.695 [ERROR]: LS startLanguageServer error: Timed out waiting for language server start

2026-01-16 23:31:45.400 [info] I0116 23:31:45.399920 22784 server.go:1548] Parent pipe closed on language server process 22784

2026-01-16 23:31:45.403 [info] W0116 23:31:45.402387 22784 client.go:136] failed to set auth token

2026-01-16 23:31:45.403 [info] W0116 23:31:45.402504 22784 log_context.go:106] Cache(userInfo): Singleflight refresh failed: You are not logged into Antigravity.

2026-01-16 23:31:45.417 [info] E0116 23:31:45.417709 22784 log.go:354] Failed to report language server start to extension server: internal: internal error

2026-01-16 23:31:45.418 [info] I0116 23:31:45.417969 22784 server.go:1528] initialized server successfully

2026-01-16 23:31:45.418 [info] I0116 23:31:45.418208 22784 server.go:1614] Language server shutting down

2026-01-16 23:31:45.427 [info] (Antigravity) 2026-01-16 23:31:45.426 [INFO]: Language server exited with code 0

1 Like

I seem to have found the culprit. There was a post that I looked at yesterday, regarding fixing the browser/Chrome integration while using WSL2: How to Run Antigravity Browser Automation on WSL2 · GitHub

Reverting every change I made from these instructions, the port forwarding and the .zshrc/.bashrc snippet allowed the language server to setup properly. I hope that agy . will seamlessly work (without needing to follow this guide Antigravity CLI (agy) on WSL: broken launcher & missing scripts (manual repair report ) and the browser will work soon in WSL2, otherwise there will be many more cases like this.

1 Like

Oh my god! I had the same problem and I was fighting with it for over 2 days. Again, I was running on a clean Windows and WSL install and this happened to me and I am blown away that I followed the same GitHub Antigravity Browser Automation tutorial before working with it actually and it completely blew everything up and I fought with it for a day. Oh my god! I can’t thank you enough. Thank you for your post, this was the real solution as well. Thank you, thank you! Anyway Google should fix this. This shouldn’t happen.

I am getting this error today, but I am quite a newbie.
So which steps should i follow to overcome the server crashed unexpectedly error?