# Loading chat forever

**URL:** <https://forum.cursor.com/t/loading-chat-forever/148781>\
**Category:** Bug Reports\
**Tags:** chat\
**Created:** [January 13, 2026, 2:54pm UTC](https://forum.cursor.com/t/loading-chat-forever/148781 "2026-01-13T14:54:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhang\_kai](https://avatars.discourse-cdn.com/v4/letter/z/ce7236/32.png) [@zhang\_kai](https://forum.cursor.com/u/zhang_kai)\
**Post date:** [January 13, 2026, 2:54pm UTC](https://forum.cursor.com/t/loading-chat-forever/148781/1 "2026-01-13T14:54:47Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

Many of my project directories have agent chat histories that cannot be opened at all and remain stuck on “Loading chat.” Some working directories even show a black screen after being opened.

I have never encountered this issue before. When testing the network connection, the results are inconsistent: sometimes the chat and agent connection tests fail, while other times they pass. Local service checks on my side show no issues.

I am currently waiting for the ports / connections to be restored to normal.

### Steps to Reproduce

I believe this may have happened when I opened one folder and then, within the same workspace, selected and opened another folder. After that, the issue started occurring. I’m not sure whether this was caused by my actions or by an underlying issue in the tool itself.

### Expected Behavior

I would like all agent conversation lists in my folders to be visible, and the full conversation history to be accessible. Not only Loading chat

### Screenshots / Screen Recordings

 ![微信截图_20260113162415.png](https://us1.discourse-cdn.com/cursor1/original/3X/c/f/cf93a2ab27cf18f5ff2ce28b8b419ac5c53131bb.jpeg)

### Operating System

Windows 10/11

### Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.34 (user setup)  
VSCode Version: 1.105.1  
Commit: 643ba67cd252e2888e296dd0cf34a0c5d7625b90  
Date: 2026-01-10T21:17:10.428Z  
Electron: 37.7.0  
Chromium: 138.0.7204.251  
Node.js: 22.20.0  
V8: 13.8.258.32-electron.0  
OS: Windows\_NT x64 10.0.26200

### Does this stop you from using Cursor

Yes - Cursor is unusable

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 13, 2026, 3:49pm UTC](https://forum.cursor.com/t/loading-chat-forever/148781/3 "2026-01-13T15:49:36Z")

</div>

Hey, thanks for the report. This is a known issue after updating to 2.3.34. Old chats don’t load because of a DB migration problem. Your data is usually not lost, it just can’t be read.

Try this workaround:

1. Fully close Cursor (check Task Manager to make sure the process is stopped)
2. Open `%APPDATA%\Cursor\User\globalStorage`
3. Find a file like `state.vscdb.corrupted.1767...`
4. Rename the current `state.vscdb` to `state.vscdb.old`
5. Rename the `.corrupted` file to `state.vscdb`
6. Start Cursor

Detailed guide: [Tutorial: How to Fix "Loading Chat" and Recover History (Cursor v2.3.x)](https://forum.cursor.com/t/tutorial-how-to-fix-loading-chat-and-recover-history-cursor-v2-3-x/148023)

If that doesn’t help, open DevTools (Help → Toggle Developer Tools) and send a screenshot of the console errors when you try to open a chat. This will help confirm if it matches other reports from today.

---

<div class="post-metadata">

**Author:** ![zhang\_kai](https://avatars.discourse-cdn.com/v4/letter/z/ce7236/32.png) [@zhang\_kai](https://forum.cursor.com/u/zhang_kai)\
**Post date:** [January 14, 2026, 4:25am UTC](https://forum.cursor.com/t/loading-chat-forever/148781/4 "2026-01-14T04:25:38Z")

</div>

Thank you very much. With this operation, my agent chat history has been restored. However, I now have an issue where some directories cannot be opened (they feel like they’re corrupted). After selecting them, the screen just turns black (as shown in the screenshot, with a faint split-pane background color). After closing and reopening the app, it remains black. Most other directories work fine. These directories that can’t be opened seem to be a few of my last working directories.

What should I do? Thank you very much.

 ![image.png](https://us1.discourse-cdn.com/cursor1/original/3X/e/7/e7705ed39d66e6da543e26c3fb99e322cd433f99.png)

---

<div class="post-metadata">

**Author:** ![zhang\_kai](https://avatars.discourse-cdn.com/v4/letter/z/ce7236/32.png) [@zhang\_kai](https://forum.cursor.com/u/zhang_kai)\
**Post date:** [January 14, 2026, 7:08am UTC](https://forum.cursor.com/t/loading-chat-forever/148781/5 "2026-01-14T07:08:22Z")

</div>

Thank you very much. I still have the following issue(s).

---

<div class="post-metadata">

**Author:** ![zhang\_kai](https://avatars.discourse-cdn.com/v4/letter/z/ce7236/32.png) [@zhang\_kai](https://forum.cursor.com/u/zhang_kai)\
**Post date:** [January 14, 2026, 7:17am UTC](https://forum.cursor.com/t/loading-chat-forever/148781/6 "2026-01-14T07:17:10Z")

</div>

Then I ran more tests and found that after logging out and back in several times, I’m prompted to log in ag

ain. After that, the old records you asked me to modify are gone, and I have to restore them again from the backup.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 15, 2026, 7:28am UTC](https://forum.cursor.com/t/loading-chat-forever/148781/7 "2026-01-15T07:28:55Z")

</div>

The black screen in certain directories is a separate issue from “Loading Chat.” It’s caused by a corrupted `state.vscdb`, but this time it’s in `workspaceStorage` (not `globalStorage`).

Try this workaround for the affected directories:

1. Close Cursor completely
2. Go to `%AppData%\Cursor\User\workspaceStorage\`
3. You’ll see lots of folders with hash-like names. Open `workspace.json` in each one and find the one that points to the affected directory
4. In that folder, rename `state.vscdb` to `state.vscdb.bak`
5. Open Cursor and then open that directory. A new `state.vscdb` should be created

Unfortunately, this will reset the chat history for that directory.

About losing history after logout and login, that’s odd. Can you confirm:

- After logging out and back in, are you opening the same folder as before?
- Are you logging out via Cursor Settings, or somewhere else?

Also, did you use “Open Chat as Editor”? Right now it can cause this exact black screen issue. The team knows about it and is working on a fix.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [February 6, 2026, 7:29am UTC](https://forum.cursor.com/t/loading-chat-forever/148781/8 "2026-02-06T07:29:20Z")

</div>

Closed on February 6, 2026, 7:29am UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
