cursorAI model getting stuck

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The claude model keeps getting stuck.

Steps to Reproduce

When I use Agnet or plan mode in my project, the model keeps getting stuck, and the same happens when I select other models such as GPT 5.4.

Expected Behavior

Agent maintains smooth output

Operating System

MacOS

Version Information

Version: 3.0.12 (Universal)
VSCode Version: 1.105.1
Commit: a80ff7dfcaa45d7750f6e30be457261379c29b00
Date: 2026-04-04T00:13:18.452Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 21.2.0

For AI issues: which model did you use?

claude Opus 4.

For AI issues: add Request ID with privacy disabled

18528b91-132c-474b-abdb-19d60f97ea4a

Does this stop you from using Cursor

Yes - Cursor is unusable

1 Like

Hey, thanks for the report. I got your Request ID. I checked the logs, and on the server side all requests completed successfully, so this doesn’t look like a backend issue.

One important note: you’re using Claude Opus 4 with extended thinking. It can have noticeably long thinking phases before it starts outputting an answer. That can look like the model is stuck, but it’s actually processing the request.

A couple questions to narrow it down:

  1. What exactly do you see when it “stuck”? An infinite spinner with Planning next moves? A Taking longer than expected message? Does output start and then stop?
  2. You mentioned GPT 5.4 also freezes. Can you send the Request ID for the GPT session where that happened?

In the meantime, try switching to Claude 4.6 Sonnet. It’s much more responsive because it doesn’t use extended thinking. That’ll help confirm whether this is model-specific or something else.

    1. aba84a19-8444-45b1-a9f9-380a7fa9fa27

Got it. “Taking longer than expected” matches the pattern we’re seeing for some users.

For now, here are a few things to try:

  1. Try disabling HTTP/2: App Settings Cmd+, then search for HTTP/2, turn on Disable HTTP/2. Restart Cursor after that.
  2. As I mentioned before, switch to Claude 4.6 Sonnet instead of Opus. It’s much faster and hangs less often.
  3. If you’re using a VPN or a corporate proxy, try without them.

I also noticed you’re on macOS Monterey 12.1, which is pretty old. If you can update macOS, that may help too.

The team is aware of this issue, and your report helps us prioritize it. Let me know if these workarounds helped.


Steps 1 and 2 have been set up. For step 3, it was indeed done through a VPN proxy. I reset the proxy and then continued requesting AI. It returned half the content, then showed “Taking longer than expected.” How can I handle this? This is the request ID: 61b742c6-6589-40c1-a7c6-dbbac5e451a5

Thanks for the Request ID and for trying all three steps.

Getting half the content and then seeing “Taking longer than expected” again really sounds like a VPN or proxy buffering or cutting off the streaming connection. “Reset proxy settings” and “fully disable the VPN” are different. Please try:

  1. Fully turn off your VPN client app, not just reset proxy settings.
  2. Double-check macOS doesn’t have an active proxy: System Preferences > Network > Advanced > Proxies, then uncheck everything.
  3. Send the request with VPN off and see if the stream completes.

If it works fine without VPN, then it’s the VPN. In that case, add these Cursor domains to your proxy bypass list:

  • *.cursor.sh
  • *.cursor.com

The team is aware of this issue, and your report helps us prioritize it. Let me know how it goes without VPN.

Thank you to the Cursor team for their prompt reply. In my region, a VPN is required to use the AI ​​model. I suspect it’s a network issue, and I hope the Cursor team can consider this for users using VPNs. Here are the results of my diagnostics run; please help me troubleshoot.
Cursor Network Diagnostic Results

FAILED (3): Ping, Chat, Agent

DNS: Success
Logs:
[2026-04-07T09:48:34.067Z] Host: api2.cursor.sh
[2026-04-07T09:48:34.068Z] Servers: fe80::1,192.168.1.1
[2026-04-07T09:48:34.068Z] Resolved to 52.5.90.235 in 680ms
[2026-04-07T09:48:34.137Z] Resolved to 52.5.90.235 in 58ms
[2026-04-07T09:48:34.140Z] Resolved to 52.5.90.235 in 3ms
[2026-04-07T09:48:34.149Z] Resolved to 52.5.90.235 in 2ms
[2026-04-07T09:48:34.153Z] Host: api2.cursor.sh
[2026-04-07T09:48:34.153Z] Servers: system
[2026-04-07T09:48:34.153Z] Resolved to 52.5.90.235, 44.207.209.86, 3.220.33.148, 100.52.56.189, 107.20.254.162, 54.156.192.8, 32.193.45.76, 54.88.219.204 in 4ms
[2026-04-07T09:48:34.153Z] Resolved to 52.5.90.235, 44.207.209.86, 3.220.33.148, 100.52.56.189, 107.20.254.162, 54.156.192.8, 32.193.45.76, 54.88.219.204 in 0ms
[2026-04-07T09:48:34.153Z] Resolved to 52.5.90.235, 44.207.209.86, 3.220.33.148, 100.52.56.189, 107.20.254.162, 54.156.192.8, 32.193.45.76, 54.88.219.204 in 0ms
[2026-04-07T09:48:34.153Z] Resolved to 52.5.90.235, 44.207.209.86, 3.220.33.148, 100.52.56.189, 107.20.254.162, 54.156.192.8, 32.193.45.76, 54.88.219.204 in 0ms
[2026-04-07T09:48:34.153Z] Result: true

SSL: Success
Logs:
[2026-04-07T09:48:33.387Z] Start
[2026-04-07T09:48:38.149Z] URL: https://api2.cursor.sh/
[2026-04-07T09:48:38.149Z] Status: 200
[2026-04-07T09:48:38.149Z] IP: 127.0.0.1
[2026-04-07T09:48:38.149Z] Issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M01
[2026-04-07T09:48:38.149Z] Name: api2.cursor.sh
[2026-04-07T09:48:38.149Z] AltName: DNS:api2.cursor.sh, DNS:prod.authentication.cursor.sh, DNS:*.api2.cursor.sh
[2026-04-07T09:48:38.149Z] DNS Time: 19ms
[2026-04-07T09:48:38.149Z] Connect Time: 0ms
[2026-04-07T09:48:38.149Z] TLS Time: 4304ms
[2026-04-07T09:48:38.149Z] Result: true in 4762ms

API: Success
Logs:
[2026-04-07T09:48:33.388Z] Start
[2026-04-07T09:48:38.195Z] Result: true

Ping: Error: Response took 1300ms
Logs:
[2026-04-07T09:48:33.388Z] Sending ping 1
[2026-04-07T09:48:38.528Z] Response: ‘ping’ in 5140ms
[2026-04-07T09:48:38.529Z] Sending ping 2
[2026-04-07T09:48:39.363Z] Response: ‘ping’ in 834ms
[2026-04-07T09:48:39.363Z] Sending ping 3
[2026-04-07T09:48:40.203Z] Response: ‘ping’ in 840ms
[2026-04-07T09:48:40.203Z] Sending ping 4
[2026-04-07T09:48:41.262Z] Response: ‘ping’ in 1058ms
[2026-04-07T09:48:41.262Z] Sending ping 5
[2026-04-07T09:48:42.562Z] Response: ‘ping’ in 1300ms
[2026-04-07T09:48:42.562Z] Result: Error: Response took 1300ms

Chat: Error: Streaming responses are being buffered by a proxy in your network environment
Logs:
[2026-04-07T09:48:33.390Z] Starting streamSSE
[2026-04-07T09:48:38.149Z] Response: ‘foo’ in 4758ms
[2026-04-07T09:48:38.968Z] Response: ‘foo’ in 819ms
[2026-04-07T09:48:39.969Z] Response: ‘foo’ in 1001ms
[2026-04-07T09:48:40.969Z] Response: ‘foo’ in 1000ms
[2026-04-07T09:48:41.970Z] Response: ‘foo’ in 1001ms
[2026-04-07T09:48:43.062Z] Result: Error: Streaming responses are being buffered by a proxy in your network environment

Agent: Error: [aborted] Client network socket disconnected before secure TLS connection was established
Logs:
[2026-04-07T09:48:33.391Z] Starting stream
[2026-04-07T09:48:33.391Z] Pushing first message
[2026-04-07T09:48:38.150Z] Response: ‘foo’ in 4759ms
[2026-04-07T09:48:38.652Z] Pushing next message
[2026-04-07T09:48:39.938Z] Response: ‘foo’ in 1788ms
[2026-04-07T09:48:40.440Z] Pushing next message
[2026-04-07T09:48:41.379Z] Response: ‘foo’ in 1441ms
[2026-04-07T09:48:41.879Z] Pushing next message
[2026-04-07T09:48:42.686Z] Response: ‘foo’ in 1307ms
[2026-04-07T09:48:43.188Z] Pushing next message
[2026-04-07T09:48:48.198Z] Error: ConnectError: [aborted] Client network socket disconnected before secure TLS connection was established

Marketplace: Success
Logs:
[2026-04-07T09:48:33.381Z] Host: marketplace.cursorapi.com
[2026-04-07T09:48:37.684Z] Response in 4303ms
[2026-04-07T09:48:37.684Z] Response: 200
[2026-04-07T09:48:37.684Z] Response Type: cors
[2026-04-07T09:48:37.684Z] Server: null
[2026-04-07T09:48:37.684Z] Result: OK in 4303ms

Authentication: Success
Logs:
[2026-04-07T09:48:33.383Z] Host: prod.authentication.cursor.sh
[2026-04-07T09:48:38.148Z] Response: 200 in 4765ms

Authentication UI: Success
Logs:
[2026-04-07T09:48:33.387Z] DNS lookup: authenticator.cursor.sh
[2026-04-07T09:48:34.067Z] Resolved authenticator.cursor.sh to 104.18.35.233 in 675ms

Cursor Tab: Success
Logs:
[2026-04-07T09:48:33.387Z] DNS lookup: api3.cursor.sh
[2026-04-07T09:48:34.103Z] Resolved api3.cursor.sh to 104.18.19.125 in 691ms

Agent Endpoint: Success
Logs:
[2026-04-07T09:48:33.387Z] DNS lookup: agent.api5.cursor.sh
[2026-04-07T09:48:35.122Z] Resolved agent.api5.cursor.sh to 50.18.248.73 in 1730ms

Codebase Indexing: Success
Logs:
[2026-04-07T09:48:33.387Z] DNS lookup: repo42.cursor.sh
[2026-04-07T09:48:34.126Z] Resolved repo42.cursor.sh to 32.192.168.166 in 733ms

Downloads: Success
Logs:
[2026-04-07T09:48:33.386Z] Host: downloads.cursor.com
[2026-04-07T09:48:38.148Z] Response: 403 in 4762ms

CDN: Success
Logs:
[2026-04-07T09:48:33.387Z] Host: cursor-cdn.com
[2026-04-07T09:48:37.640Z] Response: 404 in 4253ms

yes, takingl onger than expected