Skip to main content

Common Issues

Use this guide to diagnose and resolve frequently encountered problems when running X21.

Deno Server Won’t Connect

  • Symptoms – Task pane shows “Failed to connect to Deno server” or constant reconnect attempts.
  • Causes
    • Backend port blocked by security software.
    • Deno process failed to start.
    • Port files in %LOCALAPPDATA%\X21 are stale.
  • Resolution
    • Close Excel to stop the backend, then delete deno-server-port-* and deno-websocket-port-* files. Reopen Excel so the backend picks new ports.
    • Check %LOCALAPPDATA%\X21\X21-deno\Logs for startup errors.
    • Ensure antivirus allows x21-backend.exe and deno.exe.

No Tool Requests Appear

  • Symptoms – Claude responds but never proposes tools, or the UI stays empty.
  • Causes
    • Tools disabled in configuration.
    • Prompt lacked sufficient context, causing Claude to answer verbally instead of acting.
  • Resolution
    • Confirm the desired tools are selected in the UI and registered in src/tools/index.ts.
    • Reinforce your prompt (“Use write_values to apply the changes.”).
    • Check Langfuse trace to see if tools were attempted but failed silently.

Excel Freezes or Lags

  • Symptoms – Excel becomes unresponsive during tool execution.
  • Causes
    • Large ranges (hundreds of thousands of cells) processed in a single call.
    • Conflicting add-ins or long recalculations.
  • Resolution
    • Split the operation into smaller batches.
    • Disable other automation-heavy add-ins temporarily.
    • Monitor the status bar—Excel automation runs on the main thread, so complex tasks take time.

Login Problems

  • Symptoms – Supabase sign-in fails or user is repeatedly logged out.
  • Causes
    • Incorrect Supabase configuration.
    • Clock skew causing token validation failure.
  • Resolution
    • Verify supabaseUrl and supabaseAnonKey in supabaseClient.ts.
    • Ensure the machine’s date/time is accurate.
    • Clear browser storage via the profile menu and try again.

ClickOnce Installation Fails

  • Symptoms – Installer exits with certificate or prerequisite errors.
  • Causes
    • Missing WebView2 runtime or .NET Framework 4.8.
    • Signing certificate not trusted.
  • Resolution
    • Install required prerequisites manually.
    • Import the certificate into Trusted Publishers.
    • For offline installs, use the ProductionLocal build (x21-setup-vX.Y.Z.W.exe).
If these steps do not resolve your issue, gather logs and proceed to Debugging for deeper investigation techniques.