【bug】Why have I been having this problem for the past two days? Whenever I reference a file in the Cursor chat box, it gets stuck thinking forever and never gives a response

Hey, this is a known issue. Several users are seeing the same thing on recent versions.

A few things to try:

  1. Reindex the project database: Cmd + Shift + J > Indexing & Docs > Reindex. This fixed it for some users in a similar thread.

  2. Disable HTTP/2: Open settings.json (Cmd + Shift + P > Preferences: Open User Settings (JSON)) and add:

    "cursor.general.disableHttp2": true
    

    Then restart Cursor.

  3. Run network diagnostics: Cursor Settings > Network > Run Diagnostics. Share the results here.

  4. Try a different network (mobile hotspot) to rule out ISP or router issues.

  5. Test in an empty folder: File > Open Folder > pick an empty directory, start a new chat, reference a simple file. Does it still hang?

Also, when it freezes next time, grab the Request ID (chat context menu top right > Copy Request ID) and paste it here. That’s the key thing we need to dig in further.

Which model are you using? Are you on a VPN or proxy?