[Bug] Cannot resume agent while still running - misleading error message
Resolved 💬 3 comments Opened Mar 8, 2026 by wd-David Closed Mar 12, 2026
Bug Description
keep showing Agent(Resume reuse review) resuming a067f3c71e7a4e3a0
⎿ Initializing…
⎿ Error: Cannot resume agent a067f3c71e7a4e3a0: it is still running. Use
TaskStop to stop it first, or wait for it to complete.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.71
- Feedback ID: 459592a0-1e49-43f0-9ee3-8187849f37fd
Errors
[{"error":"Error: 1P event logging: 2 events failed to export (code=FailedToOpenSocket, Was there a typo in the url or port?)\n at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:6764:2694)\n at async doExport (/$bunfs/root/src/entrypoints/cli.js:6764:1563)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-08T03:15:37.618Z"},{"error":"Error: {\"message\":\"Failed to export 2 events (code=FailedToOpenSocket, Was there a typo in the url or port?)\",\"originalLine\":\"6764\",\"originalColumn\":\"1715\",\"line\":\"6764\",\"column\":\"1715\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Failed to export 2 events (code=FailedToOpenSocket, Was there a typo in the url or port?)\\n at doExport (/$bunfs/root/src/entrypoints/cli.js:6764:1715)\\n at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n at error (/$bunfs/root/src/entrypoints/cli.js:2569:25030)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:109:79642)\n at DS4 (/$bunfs/root/src/entrypoints/cli.js:109:80186)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:110:17366)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-08T03:15:37.622Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=FailedToOpenSocket, Was there a typo in the url or port?)\n at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:6764:2694)\n at async doExport (/$bunfs/root/src/entrypoints/cli.js:6764:1563)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-08T03:15:49.592Z"},{"error":"Error: {\"message\":\"Failed to export 1 events (code=FailedToOpenSocket, Was there a typo in the url or port?)\",\"originalLine\":\"6764\",\"originalColumn\":\"1715\",\"line\":\"6764\",\"column\":\"1715\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Failed to export 1 events (code=FailedToOpenSocket, Was there a typo in the url or port?)\\n at doExport (/$bunfs/root/src/entrypoints/cli.js:6764:1715)\\n at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n at error (/$bunfs/root/src/entrypoints/cli.js:2569:25030)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:109:79642)\n at DS4 (/$bunfs/root/src/entrypoints/cli.js:109:80186)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:110:17366)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-08T03:15:49.592Z"},{"error":"Error: {\"message\":\"Dropped 1 events: max attempts (8) reached\",\"originalLine\":\"6764\",\"originalColumn\":\"1380\",\"line\":\"6764\",\"column\":\"1380\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Dropped 1 events: max attempts (8) reached\\n at doExport (/$bunfs/root/src/entrypoints/cli.js:6764:1380)\\n at export (/$bunfs/root/src/entrypoints/cli.js:6764:889)\\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:109:152626)\\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:109:152566)\\n at new Promise (native:1:11)\\n at VC4 (/$bunfs/root/src/entrypoints/cli.js:109:152543)\\n at q (/$bunfs/root/src/entrypoints/cli.js:110:17275)\\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:110:16548)\\n at new Promise (native:1:11)\\n at _flushOneBatch (/$bunfs/root/src/entrypoints/cli.js:110:16508)\",\"name\":\"Error\"}\n at error (/$bunfs/root/src/entrypoints/cli.js:2569:25030)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:109:79642)\n at DS4 (/$bunfs/root/src/entrypoints/cli.js:109:80186)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:110:17366)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-08T03:16:05.594Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=FailedToOpenSocket, Was there a typo in the url or port?)\n at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:6764:2694)\n at async doExport (/$bunfs/root/src/entrypoints/cli.js:6764:1563)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-08T03:16:59.282Z"},{"error":"Error: {\"message\":\"Failed to export 1 events (code=FailedToOpenSocket, Was there a typo in the url or…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗