Cursor UI always loss response when wake up from lock screen

Describe the Bug

loss response when wake up from lock screen

Steps to Reproduce

  1. open cursor
  2. using SSH remote to develop
  3. lock screen
  4. wake up
  5. using cursor chat
  6. There is a certain probability that the UI will become unresponsive

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 0.43.6
VSCode Version: 1.93.1
Commit: a846435528b4b760494a836f96f0739889253530
Date: 2024-12-06T05:11:55.168Z (1 wk ago)
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin x64 23.6.0

Additional Information

when UI become unresponsive,there is no high cpu process appear

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, does this also happen without SSH? It might be caused by a lost connection, causing the Cursor window to freeze. Please check the error logs and open DevTools to see what errors are displayed.

I have to terminate process when Cursor loss responses,so there can’t found error log when I restart Cursor ,where is Cursor’s history log directory?

Check out this guide:

I found some logs,renderer.log show that:

2024-12-18 09:51:49.451 [error] [unavailable] getaddrinfo ENOTFOUND api2.cursor.sh: ConnectError: [unavailable] getaddrinfo ENOTFOUND api2.cursor.sh
    at Object.F [as unary] (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3856:12076)
    at async Object.getTeams (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:266:139256)
    at async B.getTeams (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2581:46499)
    at async B.refreshMembershipType (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2581:40949)
2024-12-18 10:15:48.790 [warning] Failed to fetch chat participant registry Failed to fetch
2024-12-18 10:20:49.355 [warning] Failed to fetch chat participant registry Failed to fetch
2024-12-18 10:34:41.270 [warning] [lifecycle] onWillShutdown is taking a long time, pending operations: join.closeStorage

main.log:

2024-12-18 10:14:44.714 [warning] No ptyHost heartbeat after 6 seconds
2024-12-18 10:14:45.315 [error] [uncaught exception in main]: Error: net::ERR_INTERNET_DISCONNECTED
2024-12-18 10:14:45.315 [error] Error: net::ERR_INTERNET_DISCONNECTED
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:114527)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
2024-12-18 10:16:00.290 [info] Extension host with pid 26510 exited with code: 0, signal: unknown.
2024-12-18 10:16:00.479 [error] [UtilityProcessWorker]: terminated unexpectedly with code 359500438, signal: unknown

any other keyword to debug this issue?