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
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:
Fully close Cursor (check Task Manager to make sure the process is stopped)
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.
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.
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:
Close Cursor completely
Go to %AppData%\Cursor\User\workspaceStorage\
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
In that folder, rename state.vscdb to state.vscdb.bak
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.