#### Troubleshooting

# Network, proxy, and remote connections

Fixes for connection issues when using Grok Build behind a firewall, proxy, VPN, or over SSH.

## How do I run network diagnostics?

Go to **Grok Build Settings** > **Network** and click **Run Diagnostic**. This tests your connection to Grok Build's servers and identifies issues affecting AI features or updates.

## What if AI features stop working behind a proxy?

Grok Build uses HTTP/2 for streaming responses. Some corporate proxies (like Zscaler) block HTTP/2.

Go to **Grok Build Settings** > **Network** and set **HTTP Compatibility Mode** to **HTTP/1.1**, then restart Grok Build.

## Why do Cloud Agents stay on "Loading…" on cursor.com/agents but open in the desktop app?

A secure web gateway on your network (Cloudflare WARP, Zscaler, Netskope) is probably scanning `cursor.com` responses as downloads and holding the agent stream until it closes. The desktop app uses a different connection, so it is unaffected.

Confirm it: turn the gateway client off, or open `cursor.com/agents` from a network without it. If the page loads right away, ask your IT team to exclude `cursor.com` and `*.cursor.com` from TLS inspection and file scanning. The exact gateway settings are in [Network configuration](/build/agents-window/enterprise/network-configuration#gateways-that-scan-downloads).

## Which domains does Grok Build need access to?

If your firewall blocks outbound connections, allowlist these domains:

* `*.cursor.sh` (includes `authenticate.cursor.sh` and `authenticator.cursor.sh`)
* `*.cursor-cdn.com`
* `*.cursorapi.com` (includes `marketplace.cursorapi.com`)
* `*.cursorvm.com` and `*.*.cursorvm.com` (the Grok Bot hosted computer; both patterns are required)
* `cursor.com` and `*.cursor.com` (web dashboard, Cloud Agents web UI, and code review)
* `grok.com` (Grok Dashboard at `grok.com/dashboard`)

Sign-in also needs the hosts in [Which domains does Grok Build sign-in need?](/x-subscription/sign-in-domains).

See the [network configuration docs](/build/agents-window/enterprise/network-configuration) for the full list and connectivity tests. If Grok Bot hangs or fails at computer setup, see [Configure TLS-inspecting proxies](/grok-bot/proxies).

## What if AI features don't work over SSH or remote connections?

When using Grok Build's Remote SSH extension, AI features run on your local machine and communicate with the remote server for file access. If AI features stop working:

1. Check your local internet connection. AI requests go from your local machine to Grok Build's servers, not from the remote host.
2. Verify the remote server isn't running out of memory or CPU. Resource exhaustion on the remote host can cause the connection to drop.
3. If your SSH connection drops frequently, increase the SSH keep-alive interval in your SSH config:
   ```text
   Host your-server
     ServerAliveInterval 60
     ServerAliveCountMax 3
   ```
4. Restart Grok Build after reconnecting. A dropped SSH session can leave stale processes.

## What if a VPN causes DNS resolution failures?

Grok Build can inherit DNS settings from a previously active VPN. If AI features or agents fail with DNS errors after disconnecting a VPN:

1. Fully restart Grok Build (not only reload the window). This clears inherited environment variables.
2. If the issue persists, check if your system's DNS has reverted to your normal resolver. On macOS, run `scutil --dns` in a terminal. On Linux, check `/etc/resolv.conf`.

## What does the "suspicious activity" message mean?

This message appears when your request is blocked as a security measure. VPNs can sometimes trigger it.

Try turning off your VPN first. If that doesn't help:

* Start a new chat
* Wait a few minutes and try again
* Sign in with a different authentication method (Google or GitHub)

## Related

* [Network configuration](/build/agents-window/enterprise/network-configuration)
* [Which domains does Grok Build sign-in need?](/x-subscription/sign-in-domains)
* [Agent troubleshooting](/build/agents-window/help/troubleshooting/agent-issues)
* [Performance](/build/agents-window/help/troubleshooting/performance)
