sim icon indicating copy to clipboard operation
sim copied to clipboard

[BUG]: Workflow Not Loading Correctly in Self-Hosted Mode

Open Bangkah opened this issue 2 weeks ago • 0 comments

Description

When running Sim in a self-hosted environment (local or Docker), some previously created workflows fail to load correctly in the editor after a page refresh or server restart. The workflow appears in the list, but the canvas is either empty or missing several nodes.

This makes the workflow impossible to edit or run.


Steps to Reproduce

  1. Run Sim in self-hosted mode:
    • Using npx simstudio, or
    • Using Docker (docker-compose up)
  2. Open the web UI in the browser.
  3. Create a new workflow with multiple nodes and connections.
  4. Save the workflow.
  5. Refresh the browser or restart the Sim server.
  6. Open the saved workflow from the workflow list.

Expected Behavior

The workflow should load completely and appear exactly as it was saved, with all nodes and connections intact.


Actual Behavior

The workflow canvas loads partially or appears completely empty, even though the workflow exists in the list.


Environment

  • Sim version: latest
  • Deployment: Self-hosted (local / Docker)
  • OS: Windows / macOS / Linux
  • Browser: Chrome / Firefox
  • Node.js version: (if applicable)

Additional Context

This issue seems to occur more frequently with larger or more complex workflows and often after restarting the server or refreshing the page.

Bangkah avatar Dec 17 '25 08:12 Bangkah