BUG : Remote WSL fails to connect (WebSocket 1006) although server starts successfully

Environment

Antigravity IDE: 2.1.1
VSCode OSS: 1.107.0
OS: Windows 11 (Build 26200)
WSL: Ubuntu 24.04 (WSL2)

Expected behavior

Connecting to WSL should open the remote workspace successfully.

Actual behavior

Antigravity shows:

Could not fetch remote environment

Failed to connect to the remote extension host server.

WebSocket close with status code 1006

What I tested

  • VS Code Remote WSL works correctly.
  • Same Ubuntu installation.
  • Same project.
  • Same WSL2 instance.

So WSL itself is healthy.

Server logs

Server bound to 127.0.0.1:37657 (IPv4)

Extension host agent listening on 37657

Extension host agent started.

Last EH closed, shutting down

Additional information

The Antigravity server starts successfully and listens on a local port.

The Windows client disconnects immediately, after which the server logs:

Last EH closed, shutting down

This appears to be a client-side connection issue rather than a WSL or server startup issue.

I can provide additional logs if needed.