openclaw - 💡(How to fix) Fix [Bug]: Control UI freezes frequently, requires deleting sessions folder to recover [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#49482Fetched 2026-04-08 00:54:51
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×2commented ×1
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Summary

Problem Description

Control UI often freezes and becomes unresponsive during use:

  • Cannot click or type
  • Stopped responding
  • Restarting Gateway doesn't help

Environment

  • Deployment: OpenClaw running in Windows Docker
  • Gateway version: Latest (2026-03-18)
  • Control UI: Browser access

Temporary Solution

Delete the sessions folder to recover

Steps to reproduce

  1. Use Control UI for normal conversation
  2. When AI is thinking or processing data (especially large tasks)
  3. Page suddenly freezes, cannot perform any operation

Expected behavior

When a user performs operations in Control UI (e.g., entering prompts, sending messages), the page should remain responsive The interface should not freeze during thinking/processing UI should display loading states or results normally while processing data Users should be able to click buttons, type text, and scroll the page normally

Actual behavior

Issue: Page freezes, making it impossible to perform any operations Specific symptoms: Clicking input box has no response Send button cannot be clicked Page scrolling does not work Browser tab shows "Page Unresponsive" Occurrence: During thinking or data processing Impact: Entire Control UI becomes unusable; user must delete the sessions folder to recover

OpenClaw version

2026.3.12

Operating system

windows10 docker

Install method

No response

Model

minimax-2.5

Provider / routing chain

minimax

Config file / key location

No response

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

Fix Plan

The fix involves optimizing the Control UI to handle asynchronous operations without blocking the main thread, thus preventing the page from freezing.

  • Step 1: Implement asynchronous processing
    • Use JavaScript's async/await syntax to handle long-running tasks, such as AI thinking or data processing, without blocking the UI thread.
    • Example:

async function processAiTask() { try { // Simulate AI thinking or data processing const response = await fetch('/api/ai-task'); const result = await response.json(); // Update the UI with the result updateUi(result); } catch (error) { // Handle any errors that occur during processing handleError(error); } }

*   **Step 2: Display a loading state**
    *   Show a loading indicator or animation to inform the user that the UI is processing data.
    *   Example:
        ```javascript
function updateUi(result) {
  // Hide the loading indicator
  document.getElementById('loading-indicator').style.display = 'none';
  // Update the UI with the result
  document.getElementById('result').innerHTML = result;
}

function showLoadingIndicator() {
  // Show the loading indicator
  document.getElementById('loading-indicator').style.display = 'block';
}
  • Step 3: Handle errors and edge cases
    • Implement error handling to catch and display any errors that occur during processing.
    • Example:

function handleError(error) { // Display an error message to the user document.getElementById('error-message').innerHTML = error.message; }


### Verification
To verify that the fix worked:

1.  Test the Control UI with various scenarios, including normal conversation and large tasks.
2.  Check that the page remains responsive during thinking or data processing.
3.  Verify that the UI displays a loading state or result normally while processing data.
4.  Confirm that users can click buttons, type text, and scroll the page normally.

### Extra Tips
To prevent similar issues in the future:

*   Regularly review and optimize the Control UI code for performance and responsiveness.
*   Use debugging tools to identify and fix any bottlenecks or blocking operations.
*   Consider implementing a queue or batch processing system to handle large tasks without overwhelming the UI thread.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

When a user performs operations in Control UI (e.g., entering prompts, sending messages), the page should remain responsive The interface should not freeze during thinking/processing UI should display loading states or results normally while processing data Users should be able to click buttons, type text, and scroll the page normally

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: Control UI freezes frequently, requires deleting sessions folder to recover [1 comments, 2 participants]