Plugin webview blank after computer wakes up from sleep mode
Before submitting your bug report
- [x] I believe this is a bug. I'll try to join the Continue Discord for questions
- [ ] I'm not able to find an open issue that reports the same bug
- [ ] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
Win10/mac all have this problem, use intelliJ 2024.3
Description
The computer auto into sleep mode when I go to lunch, when I come back, I shake the mouse then screen lights up, continue plugin becomes blank, (as we all know, if you do not do anything for more than 15 minutes, computer will go into sleep mode.)
content in webview blank under the Continue plugin title
gui react is still running, no any error message in the core dev terminal and the Run Extension terminal
btw, on MacOS, when I drag the intellij window from the laptop screen to the large monitor screen, continue plugin will also become blank.
It seems that the JCEF process is stopped? I also checked that the OSR setting is enabled by default.
I don't understand kotlin code, but I tried to search code and find the ContinueBrowser.kt file to create the webview ,so are there any related processes that will be stopped when the computer goes to sleep?
This has been going on for several Continue releases now and is impacting us much. Reproduced in Webstorm 2025.1.2.
@holger I found someone post same issue about this, FYI https://github.com/continuedev/continue/issues/5774
Update
I encountered this situation again today, and then I checked the run log of IntelliJ ,these are the two most recently generated logs at the log file bottom:
2025-07-23 12:52:57,538 [7241337] WARN - #git4idea.branch.GitBranchIncomingOutgoingManager - Can't get outgoing info (git rev-list main failed)
2025-07-23 13:36:25,544 [9849343] INFO - #c.i.d.PerformanceWatcherImpl - UI was frozen for 1569215ms, details saved to C:\Users\hzheng057\Desktop\Code\continue\extensions\intellij\build\idea-sandbox\system\log\threadDumps-freeze-20250723-133619-IC-241.14494.240-1569sec
From this log, you can see that at 12:52 noon, I went to have lunch and did not perform any operations, and the computer automatically entered sleep mode At 13:36, I came back to my computer after lunch, woke it up, and saw that the Continue plugin in IntelliJ was blank. According to the log content, the UI was freezes, and it let check the log file threadDumps-freeze. However, I find the threadDumps-freeze log path mentioned in the log, which is an empty folder with no content.
Thanks all for the heads up here! cc @exigow
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!