← Back to Kontasks
Konui Crash Investigation & Tests
Investigated konui crash from flow graph view and ran all tests
Output
🔍 Konui Crash Investigation
⚠️ Crash Summary
Time: ~08:43-08:44 UTC (about 4 minutes ago)
Location: /gv/flows Graph view
Symptoms:
- Graph stuck on "Loading graph..." with 87 skeleton nodes
- WebSocket disconnected ("Unexpected EOF", "No response from ping frame")
- NetworkError when fetching graph data
📋 Error Log Timeline
08:42:42 WARN WebSocket error 08:43:35 WARN WebSocket error 08:43:46 ERROR Failed to fetch kontask for kontext (NetworkError) 08:43:49 WARN WebSocket error 08:43:51 WARN Safety timeout - forced visibility 08:44:02 WARN Console WebSocket error × 3 08:44:24 ERROR Failed to fetch kontask for kontext (NetworkError) 08:44:26 WARN Console WebSocket error 08:44:27 WARN Safety timeout - forced visibility
🔧 Root Cause Analysis
The crash was caused by konui service interruption:
- Client was viewing
/gv/flowsin Graph mode - Graph view lazy-loads data via
/api/gv/flows/graph-data - Konui crashed or restarted, terminating WebSocket connections
- Fetch requests failed with NetworkError
- Graph remained stuck on loading skeleton (87 nodes placeholder)
Note: The "87 nodes" are loading skeletons, not actual data - they animate while waiting for vis.js to render the real graph.
✅ Test Results
254
Tests Passed
0
Failures
Test suites: console-renderers, console-state-machine, console-storage, console-stream, dashboard-console, gv-decision-store, gv-edge-store, gv-flow-store, gv-quota-period-store, gv-topic-store, reports, session, state-sync
📊 Current System Status
●
Konui
●
Konsole
●
Kongate
●
Konimage
CPU: 13.5%
Memory: 41.3%
Disk: 7.7%
Note on "cryptoscape": The graph visualization uses vis-network (not Cytoscape). No graph-specific tests exist yet - the vis.js library is client-side JavaScript loaded from CDN. All server-side konui tests pass.
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
vibetools
Tags
flowscrashtesting
Created
10 Jan 2026, 6:48 pm
Updated
10 Jan 2026, 6:48 pm
Timing
⏱️ 160.7s
0 tools
● TTFE 0%
● Thinking 100%
● Tools 0%
Created By
claude
📋 Claude's Context
Session
ses_7c4eba4a...
Raw Data
{
"id": "bf0b73eb-6bc6-4bef-88a6-5b72cd66d433",
"type": "general",
"status": "completed",
"title": "Konui Crash Investigation & Tests",
"description": "Investigated konui crash from flow graph view and ran all tests",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:'Consolas','Monaco',monospace;\">\n<h2 style=\"font-family:sans-serif;color:#fff;margin:0 0 16px 0;\">🔍 Konui Crash Investigation</h2>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#f59e0b;margin:0 0 12px 0;\">⚠️ Crash Summary</h3>\n<p style=\"margin:0;\"><strong style=\"color:#e5e7eb;\">Time:</strong> <span style=\"color:#98c379;\">~08:43-08:44 UTC</span> (about 4 minutes ago)</p>\n<p style=\"margin:8px 0 0 0;\"><strong style=\"color:#e5e7eb;\">Location:</strong> <span style=\"color:#61afef;\">/gv/flows</span> Graph view</p>\n<p style=\"margin:8px 0 0 0;\"><strong style=\"color:#e5e7eb;\">Symptoms:</strong></p>\n<ul style=\"margin:4px 0 0 0;padding-left:20px;color:#9ca3af;\">\n<li>Graph stuck on \"Loading graph...\" with 87 skeleton nodes</li>\n<li>WebSocket disconnected (\"Unexpected EOF\", \"No response from ping frame\")</li>\n<li>NetworkError when fetching graph data</li>\n</ul>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#ef4444;margin:0 0 12px 0;\">📋 Error Log Timeline</h3>\n<pre style=\"background:#1f2937;padding:12px;border-radius:4px;overflow-x:auto;font-size:0.85rem;line-height:1.6;\">\n<span style=\"color:#6b7280;\">08:42:42</span> <span style=\"color:#f59e0b;\">WARN</span> WebSocket error\n<span style=\"color:#6b7280;\">08:43:35</span> <span style=\"color:#f59e0b;\">WARN</span> WebSocket error\n<span style=\"color:#6b7280;\">08:43:46</span> <span style=\"color:#ef4444;\">ERROR</span> Failed to fetch kontask for kontext (NetworkError)\n<span style=\"color:#6b7280;\">08:43:49</span> <span style=\"color:#f59e0b;\">WARN</span> WebSocket error\n<span style=\"color:#6b7280;\">08:43:51</span> <span style=\"color:#f59e0b;\">WARN</span> Safety timeout - forced visibility\n<span style=\"color:#6b7280;\">08:44:02</span> <span style=\"color:#f59e0b;\">WARN</span> Console WebSocket error × 3\n<span style=\"color:#6b7280;\">08:44:24</span> <span style=\"color:#ef4444;\">ERROR</span> Failed to fetch kontask for kontext (NetworkError)\n<span style=\"color:#6b7280;\">08:44:26</span> <span style=\"color:#f59e0b;\">WARN</span> Console WebSocket error\n<span style=\"color:#6b7280;\">08:44:27</span> <span style=\"color:#f59e0b;\">WARN</span> Safety timeout - forced visibility\n</pre>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#3b82f6;margin:0 0 12px 0;\">🔧 Root Cause Analysis</h3>\n<p style=\"color:#e5e7eb;margin:0;\">The crash was caused by <strong>konui service interruption</strong>:</p>\n<ol style=\"margin:8px 0 0 0;padding-left:20px;color:#9ca3af;\">\n<li>Client was viewing <code style=\"background:#374151;padding:2px 4px;border-radius:2px;\">/gv/flows</code> in Graph mode</li>\n<li>Graph view lazy-loads data via <code style=\"background:#374151;padding:2px 4px;border-radius:2px;\">/api/gv/flows/graph-data</code></li>\n<li>Konui crashed or restarted, terminating WebSocket connections</li>\n<li>Fetch requests failed with NetworkError</li>\n<li>Graph remained stuck on loading skeleton (87 nodes placeholder)</li>\n</ol>\n<p style=\"color:#9ca3af;margin:12px 0 0 0;\"><em>Note: The \"87 nodes\" are loading skeletons, not actual data - they animate while waiting for vis.js to render the real graph.</em></p>\n</div>\n\n<div style=\"background:#143d1a;padding:16px;border-radius:6px;border:1px solid #22c55e;margin-bottom:16px;\">\n<h3 style=\"color:#22c55e;margin:0 0 12px 0;\">✅ Test Results</h3>\n<div style=\"display:grid;grid-template-columns:repeat(2, 1fr);gap:12px;\">\n<div style=\"background:#1f2937;padding:12px;border-radius:4px;text-align:center;\">\n<div style=\"font-size:1.8rem;color:#22c55e;font-weight:bold;\">254</div>\n<div style=\"font-size:0.8rem;color:#9ca3af;\">Tests Passed</div>\n</div>\n<div style=\"background:#1f2937;padding:12px;border-radius:4px;text-align:center;\">\n<div style=\"font-size:1.8rem;color:#22c55e;font-weight:bold;\">0</div>\n<div style=\"font-size:0.8rem;color:#9ca3af;\">Failures</div>\n</div>\n</div>\n<div style=\"margin-top:12px;font-size:0.85rem;color:#9ca3af;\">\nTest suites: console-renderers, console-state-machine, console-storage, console-stream, dashboard-console, gv-decision-store, gv-edge-store, gv-flow-store, gv-quota-period-store, gv-topic-store, reports, session, state-sync\n</div>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#8b5cf6;margin:0 0 12px 0;\">📊 Current System Status</h3>\n<div style=\"display:grid;grid-template-columns:repeat(4, 1fr);gap:8px;\">\n<div style=\"background:#1f2937;padding:10px;border-radius:4px;text-align:center;\">\n<div style=\"font-size:1.2rem;color:#22c55e;\">●</div>\n<div style=\"font-size:0.75rem;color:#9ca3af;\">Konui</div>\n</div>\n<div style=\"background:#1f2937;padding:10px;border-radius:4px;text-align:center;\">\n<div style=\"font-size:1.2rem;color:#22c55e;\">●</div>\n<div style=\"font-size:0.75rem;color:#9ca3af;\">Konsole</div>\n</div>\n<div style=\"background:#1f2937;padding:10px;border-radius:4px;text-align:center;\">\n<div style=\"font-size:1.2rem;color:#22c55e;\">●</div>\n<div style=\"font-size:0.75rem;color:#9ca3af;\">Kongate</div>\n</div>\n<div style=\"background:#1f2937;padding:10px;border-radius:4px;text-align:center;\">\n<div style=\"font-size:1.2rem;color:#22c55e;\">●</div>\n<div style=\"font-size:0.75rem;color:#9ca3af;\">Konimage</div>\n</div>\n</div>\n<div style=\"margin-top:12px;display:grid;grid-template-columns:repeat(3, 1fr);gap:8px;font-size:0.85rem;color:#9ca3af;\">\n<div><strong>CPU:</strong> 13.5%</div>\n<div><strong>Memory:</strong> 41.3%</div>\n<div><strong>Disk:</strong> 7.7%</div>\n</div>\n</div>\n\n<div style=\"background:#1f2937;padding:12px;border-radius:6px;color:#9ca3af;font-size:0.85rem;\">\n<strong style=\"color:#e5e7eb;\">Note on \"cryptoscape\":</strong> The graph visualization uses <a href=\"https://visjs.github.io/vis-network/\" style=\"color:#60a5fa;\">vis-network</a> (not Cytoscape). No graph-specific tests exist yet - the vis.js library is client-side JavaScript loaded from CDN. All server-side konui tests pass.\n</div>\n\n</div>",
"requestedAt": "2026-01-10T08:47:50.000Z",
"requestId": "0452398e-924a-4bd9-bb84-dc2b8003fe7c",
"choices": [
{
"label": "View /gv/flows",
"value": "Navigate to /gv/flows to verify the graph is loading correctly now",
"primary": true
},
{
"label": "Check logs",
"value": "Show the latest konui logs to monitor for any new errors"
},
{
"label": "Add graph tests",
"value": "Create tests for the vis-network graph data generation functions"
}
],
"turnTiming": {
"totalMs": 160688,
"ttfeMs": 89,
"thinkingMs": 160597,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-10T08:48:22.388Z",
"updatedAt": "2026-01-10T08:48:27.056Z",
"requestId": "0452398e-924a-4bd9-bb84-dc2b8003fe7c",
"scope": "vibetools",
"tags": [
"flows",
"crash",
"testing"
],
"sessionId": "ses_7c4eba4a-596",
"flowId": "flow_01KEHQ5A6Y7SHWCMHHZYGBC592",
"flowLinks": [
{
"flowId": "flow_01KEHQ5A6Y7SHWCMHHZYGBC592",
"edgeType": "evidence",
"createdAt": "2026-01-10T08:48:22.388Z"
}
]
}